Lines Matching refs:cifs_inode

1855 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode,  in find_readable_file()  argument
1859 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in find_readable_file()
1865 spin_lock(&cifs_inode->open_file_lock); in find_readable_file()
1869 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file()
1877 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
1885 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
1889 struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *cifs_inode, in find_writable_file() argument
1902 if (cifs_inode == NULL) { in find_writable_file()
1908 cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in find_writable_file()
1914 spin_lock(&cifs_inode->open_file_lock); in find_writable_file()
1917 spin_unlock(&cifs_inode->open_file_lock); in find_writable_file()
1920 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_writable_file()
1929 spin_unlock(&cifs_inode->open_file_lock); in find_writable_file()
1948 spin_unlock(&cifs_inode->open_file_lock); in find_writable_file()
1955 spin_lock(&cifs_inode->open_file_lock); in find_writable_file()
1957 &cifs_inode->openFileList); in find_writable_file()
1958 spin_unlock(&cifs_inode->open_file_lock); in find_writable_file()
1962 spin_lock(&cifs_inode->open_file_lock); in find_writable_file()
4023 static int is_inode_writable(struct cifsInodeInfo *cifs_inode) in is_inode_writable() argument
4027 spin_lock(&cifs_inode->open_file_lock); in is_inode_writable()
4028 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in is_inode_writable()
4030 spin_unlock(&cifs_inode->open_file_lock); in is_inode_writable()
4034 spin_unlock(&cifs_inode->open_file_lock); in is_inode_writable()