Searched refs:cifs_inode (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/fs/smb/client/ |
H A D | cifsfs.c | 392 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local 393 cifs_inode = alloc_inode_sb(sb, cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode() 394 if (!cifs_inode) in cifs_alloc_inode() 396 cifs_inode->cifsAttrs = 0x20; /* default */ in cifs_alloc_inode() 397 cifs_inode->time = 0; in cifs_alloc_inode() 402 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode() 403 cifs_inode->lease_granted = false; in cifs_alloc_inode() 404 cifs_inode->flags = 0; in cifs_alloc_inode() 405 spin_lock_init(&cifs_inode->writers_lock); in cifs_alloc_inode() 406 cifs_inode->writers = 0; in cifs_alloc_inode() [all …]
|
H A D | misc.c | 750 cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode) in cifs_close_deferred_file() argument 756 if (cifs_inode == NULL) in cifs_close_deferred_file() 760 spin_lock(&cifs_inode->open_file_lock); in cifs_close_deferred_file() 761 list_for_each_entry(cfile, &cifs_inode->openFileList, flist) { in cifs_close_deferred_file() 764 spin_lock(&cifs_inode->deferred_lock); in cifs_close_deferred_file() 766 spin_unlock(&cifs_inode->deferred_lock); in cifs_close_deferred_file() 776 spin_unlock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
|
H A D | file.c | 2304 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode, in find_readable_file() argument 2308 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in find_readable_file() 2314 spin_lock(&cifs_inode->open_file_lock); in find_readable_file() 2318 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file() 2326 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file() 2334 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file() 2340 cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, int flags, in cifs_get_writable_file() argument 2358 if (cifs_inode == NULL) { in cifs_get_writable_file() 2364 cifs_sb = CIFS_SB(cifs_inode->netfs.inode.i_sb); in cifs_get_writable_file() 2370 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file() [all …]
|
H A D | inode.c | 1831 struct cifsInodeInfo *cifs_inode; in cifs_unlink() local 1913 cifs_inode = CIFS_I(inode); in cifs_unlink() 1914 origattr = cifs_inode->cifsAttrs; in cifs_unlink() 1935 cifs_inode = CIFS_I(inode); in cifs_unlink() 1936 cifs_inode->time = 0; /* will force revalidate to get info in cifs_unlink() 1941 cifs_inode = CIFS_I(dir); in cifs_unlink()
|
H A D | cifsproto.h | 152 extern int cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, 293 extern void cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode);
|
H A D | cifsglob.h | 485 __u16 net_fid, struct cifsInodeInfo *cifs_inode);
|