Searched refs:cifs_inode (Results 1 – 4 of 4) sorted by relevance
| /linux/fs/smb/client/ |
| H A D | file.c | 2643 struct cifsFileInfo *__find_readable_file(struct cifsInodeInfo *cifs_inode, in __find_readable_file() argument 2647 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode); in __find_readable_file() 2655 spin_lock(&cifs_inode->open_file_lock); in __find_readable_file() 2659 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in __find_readable_file() 2666 !open_flags_match(cifs_inode, open_flags, in __find_readable_file() 2674 spin_unlock(&cifs_inode->open_file_lock); in __find_readable_file() 2682 spin_unlock(&cifs_inode->open_file_lock); in __find_readable_file() 2687 int __cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, in __cifs_get_writable_file() argument 2705 if (cifs_inode == NULL) { in __cifs_get_writable_file() 2711 if (test_bit(CIFS_INO_TMPFILE, &cifs_inode->flags)) in __cifs_get_writable_file() [all …]
|
| H A D | cifsproto.h | 139 struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *cifs_inode, 141 int __cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, 147 struct cifsFileInfo *__find_readable_file(struct cifsInodeInfo *cifs_inode, 263 void cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode); 599 static inline int cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, in cifs_get_writable_file() argument 604 return __cifs_get_writable_file(cifs_inode, find_flags, 0, ret_file); in cifs_get_writable_file()
|
| H A D | misc.c | 498 cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode) in cifs_close_deferred_file() argument 504 if (cifs_inode == NULL) in cifs_close_deferred_file() 507 spin_lock(&cifs_inode->open_file_lock); in cifs_close_deferred_file() 508 list_for_each_entry(cfile, &cifs_inode->openFileList, flist) { in cifs_close_deferred_file() 511 spin_lock(&cifs_inode->deferred_lock); in cifs_close_deferred_file() 513 spin_unlock(&cifs_inode->deferred_lock); in cifs_close_deferred_file() 526 spin_unlock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
|
| H A D | cifsglob.h | 519 struct cifsInodeInfo *cifs_inode,
|