Home
last modified time | relevance | path

Searched refs:cifs_inode (Results 1 – 5 of 5) sorted by relevance

/linux/fs/smb/client/
H A Dfile.c2653 struct cifsFileInfo *__find_readable_file(struct cifsInodeInfo *cifs_inode, in __find_readable_file()
2657 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode); in __find_readable_file()
2665 spin_lock(&cifs_inode->open_file_lock); in __find_readable_file()
2669 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in __find_readable_file()
2676 !open_flags_match(cifs_inode, open_flags, in __find_readable_file()
2684 spin_unlock(&cifs_inode->open_file_lock); in __find_readable_file()
2692 spin_unlock(&cifs_inode->open_file_lock);
2697 int __cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, in __cifs_get_writable_file()
2715 if (cifs_inode == NULL) { in __cifs_get_writable_file()
2721 if (test_bit(CIFS_INO_TMPFILE, &cifs_inode in __cifs_get_writable_file()
2650 __find_readable_file(struct cifsInodeInfo * cifs_inode,unsigned int find_flags,unsigned int open_flags) __find_readable_file() argument
2694 __cifs_get_writable_file(struct cifsInodeInfo * cifs_inode,unsigned int find_flags,unsigned int open_flags,struct cifsFileInfo ** ret_file) __cifs_get_writable_file() argument
2796 find_writable_file(struct cifsInodeInfo * cifs_inode,int flags) find_writable_file() argument
3245 is_inode_writable(struct cifsInodeInfo * cifs_inode) is_inode_writable() argument
[all...]
H A Dcifsproto.h139 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 Dmisc.c499 cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode) in cifs_close_deferred_file() argument
505 if (cifs_inode == NULL) in cifs_close_deferred_file()
508 spin_lock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
509 list_for_each_entry(cfile, &cifs_inode->openFileList, flist) { in cifs_close_deferred_file()
512 spin_lock(&cifs_inode->deferred_lock); in cifs_close_deferred_file()
514 spin_unlock(&cifs_inode->deferred_lock); in cifs_close_deferred_file()
527 spin_unlock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
H A Dinode.c1969 struct cifsInodeInfo *cifs_inode; in __cifs_unlink()
2079 cifs_inode = CIFS_I(inode); in __cifs_unlink()
2080 origattr = cifs_inode->cifsAttrs; in __cifs_unlink()
2104 cifs_inode = CIFS_I(inode); in __cifs_unlink()
2105 cifs_inode->time = 0; /* will force revalidate to get info in __cifs_unlink()
2110 cifs_inode = CIFS_I(dir); in __cifs_unlink()
2805 struct cifsInodeInfo *cifs_inode = CIFS_I(inode);
2807 unsigned long *flags = &cifs_inode->flags;
1967 struct cifsInodeInfo *cifs_inode; __cifs_unlink() local
2803 struct cifsInodeInfo *cifs_inode = CIFS_I(inode); global() local
H A Dcifsglob.h519 struct cifsInodeInfo *cifs_inode,