Searched refs:cifs_inode (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/smb/client/ |
| H A D | cifsfs.c | 421 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local 422 cifs_inode = alloc_inode_sb(sb, cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode() 423 if (!cifs_inode) in cifs_alloc_inode() 425 cifs_inode->cifsAttrs = ATTR_ARCHIVE; /* default */ in cifs_alloc_inode() 426 cifs_inode->time = 0; in cifs_alloc_inode() 431 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode() 432 cifs_inode->lease_granted = false; in cifs_alloc_inode() 433 cifs_inode->flags = 0; in cifs_alloc_inode() 434 spin_lock_init(&cifs_inode->writers_lock); in cifs_alloc_inode() 435 cifs_inode->writers = 0; in cifs_alloc_inode() [all …]
|
| H A D | file.c | 2558 struct cifsFileInfo *__find_readable_file(struct cifsInodeInfo *cifs_inode, in __find_readable_file() argument 2562 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode); in __find_readable_file() 2570 spin_lock(&cifs_inode->open_file_lock); in __find_readable_file() 2574 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in __find_readable_file() 2581 !open_flags_match(cifs_inode, open_flags, in __find_readable_file() 2589 spin_unlock(&cifs_inode->open_file_lock); in __find_readable_file() 2597 spin_unlock(&cifs_inode->open_file_lock); in __find_readable_file() 2602 int __cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, in __cifs_get_writable_file() argument 2620 if (cifs_inode == NULL) { in __cifs_get_writable_file() 2626 if (test_bit(CIFS_INO_TMPFILE, &cifs_inode->flags)) in __cifs_get_writable_file() [all …]
|
| H A D | cifsproto.h | 138 struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *cifs_inode, 140 int __cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, 146 struct cifsFileInfo *__find_readable_file(struct cifsInodeInfo *cifs_inode, 262 void cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode); 598 static inline int cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, in cifs_get_writable_file() argument 603 return __cifs_get_writable_file(cifs_inode, find_flags, 0, ret_file); in cifs_get_writable_file()
|
| H A D | misc.c | 494 cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode) in cifs_close_deferred_file() argument 500 if (cifs_inode == NULL) in cifs_close_deferred_file() 503 spin_lock(&cifs_inode->open_file_lock); in cifs_close_deferred_file() 504 list_for_each_entry(cfile, &cifs_inode->openFileList, flist) { in cifs_close_deferred_file() 507 spin_lock(&cifs_inode->deferred_lock); in cifs_close_deferred_file() 509 spin_unlock(&cifs_inode->deferred_lock); in cifs_close_deferred_file() 520 spin_unlock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
|
| H A D | inode.c | 1939 struct cifsInodeInfo *cifs_inode; in __cifs_unlink() local 2049 cifs_inode = CIFS_I(inode); in __cifs_unlink() 2050 origattr = cifs_inode->cifsAttrs; in __cifs_unlink() 2071 cifs_inode = CIFS_I(inode); in __cifs_unlink() 2072 cifs_inode->time = 0; /* will force revalidate to get info in __cifs_unlink() 2077 cifs_inode = CIFS_I(dir); in __cifs_unlink() 2756 struct cifsInodeInfo *cifs_inode = CIFS_I(inode); local 2758 unsigned long *flags = &cifs_inode->flags; 2775 cifs_inode->netfs.zero_point = cifs_inode->netfs.remote_i_size;
|
| H A D | cifsglob.h | 518 struct cifsInodeInfo *cifs_inode,
|