Lines Matching refs:cifs_inode

2413 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode,  in find_readable_file()  argument
2417 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in find_readable_file()
2423 spin_lock(&cifs_inode->open_file_lock); in find_readable_file()
2427 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file()
2435 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
2443 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
2449 cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, int flags, in cifs_get_writable_file() argument
2467 if (cifs_inode == NULL) { in cifs_get_writable_file()
2473 cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in cifs_get_writable_file()
2479 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2482 spin_unlock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2485 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in cifs_get_writable_file()
2496 spin_unlock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2516 spin_unlock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2525 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2526 list_move_tail(&inv_file->flist, &cifs_inode->openFileList); in cifs_get_writable_file()
2527 spin_unlock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2531 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
2539 find_writable_file(struct cifsInodeInfo *cifs_inode, int flags) in find_writable_file() argument
2544 rc = cifs_get_writable_file(cifs_inode, flags, &cfile); in find_writable_file()
2998 static int is_inode_writable(struct cifsInodeInfo *cifs_inode) in is_inode_writable() argument
3002 spin_lock(&cifs_inode->open_file_lock); in is_inode_writable()
3003 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in is_inode_writable()
3005 spin_unlock(&cifs_inode->open_file_lock); in is_inode_writable()
3009 spin_unlock(&cifs_inode->open_file_lock); in is_inode_writable()