Lines Matching refs:cifs_inode

1997 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode,  in find_readable_file()  argument
2001 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in find_readable_file()
2007 spin_lock(&cifs_inode->open_file_lock); in find_readable_file()
2011 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file()
2019 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
2027 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
2033 cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, int flags, in cifs_get_writable_file() argument
2051 if (cifs_inode == NULL) { in cifs_get_writable_file()
2057 cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in cifs_get_writable_file()
2063 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2066 spin_unlock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2069 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in cifs_get_writable_file()
2080 spin_unlock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2100 spin_unlock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2109 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2110 list_move_tail(&inv_file->flist, &cifs_inode->openFileList); in cifs_get_writable_file()
2111 spin_unlock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2115 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2123 find_writable_file(struct cifsInodeInfo *cifs_inode, int flags) in find_writable_file() argument
2128 rc = cifs_get_writable_file(cifs_inode, flags, &cfile); in find_writable_file()
4655 static int is_inode_writable(struct cifsInodeInfo *cifs_inode) in is_inode_writable() argument
4659 spin_lock(&cifs_inode->open_file_lock); in is_inode_writable()
4660 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in is_inode_writable()
4662 spin_unlock(&cifs_inode->open_file_lock); in is_inode_writable()
4666 spin_unlock(&cifs_inode->open_file_lock); in is_inode_writable()