Searched refs:cifs_inode (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/fs/cifs/ |
| D | cifsfs.c | 356 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local 357 cifs_inode = kmem_cache_alloc(cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode() 358 if (!cifs_inode) in cifs_alloc_inode() 360 cifs_inode->cifsAttrs = 0x20; /* default */ in cifs_alloc_inode() 361 cifs_inode->time = 0; in cifs_alloc_inode() 366 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode() 367 cifs_inode->flags = 0; in cifs_alloc_inode() 368 spin_lock_init(&cifs_inode->writers_lock); in cifs_alloc_inode() 369 cifs_inode->writers = 0; in cifs_alloc_inode() 370 cifs_inode->vfs_inode.i_blkbits = 14; /* 2**14 = CIFS_MAX_MSGSIZE */ in cifs_alloc_inode() [all …]
|
| D | file.c | 1997 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode, in find_readable_file() argument 2001 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in find_readable_file() 2007 spin_lock(&cifs_inode->open_file_lock); in find_readable_file() 2011 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file() 2019 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file() 2027 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file() 2033 cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, int flags, in cifs_get_writable_file() argument 2051 if (cifs_inode == NULL) { in cifs_get_writable_file() 2057 cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in cifs_get_writable_file() 2063 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file() [all …]
|
| D | misc.c | 724 cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode) in cifs_close_deferred_file() argument 730 if (cifs_inode == NULL) in cifs_close_deferred_file() 734 spin_lock(&cifs_inode->open_file_lock); in cifs_close_deferred_file() 735 list_for_each_entry(cfile, &cifs_inode->openFileList, flist) { in cifs_close_deferred_file() 746 spin_unlock(&cifs_inode->open_file_lock); in cifs_close_deferred_file()
|
| D | inode.c | 1591 struct cifsInodeInfo *cifs_inode; local 1667 cifs_inode = CIFS_I(inode); 1668 origattr = cifs_inode->cifsAttrs; 1689 cifs_inode = CIFS_I(inode); 1690 cifs_inode->time = 0; /* will force revalidate to get info 1695 cifs_inode = CIFS_I(dir);
|
| D | cifsproto.h | 142 extern int cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, 266 extern void cifs_close_deferred_file(struct cifsInodeInfo *cifs_inode);
|