Home
last modified time | relevance | path

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

/Linux-v5.4/fs/cifs/
Dcifsfs.c324 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local
325 cifs_inode = kmem_cache_alloc(cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode()
326 if (!cifs_inode) in cifs_alloc_inode()
328 cifs_inode->cifsAttrs = 0x20; /* default */ in cifs_alloc_inode()
329 cifs_inode->time = 0; in cifs_alloc_inode()
334 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode()
335 cifs_inode->flags = 0; in cifs_alloc_inode()
336 spin_lock_init(&cifs_inode->writers_lock); in cifs_alloc_inode()
337 cifs_inode->writers = 0; in cifs_alloc_inode()
338 cifs_inode->vfs_inode.i_blkbits = 14; /* 2**14 = CIFS_MAX_MSGSIZE */ in cifs_alloc_inode()
[all …]
Dfile.c1851 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode, in find_readable_file() argument
1855 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in find_readable_file()
1861 spin_lock(&cifs_inode->open_file_lock); in find_readable_file()
1865 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file()
1873 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
1881 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
1887 cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, bool fsuid_only, in cifs_get_writable_file() argument
1904 if (cifs_inode == NULL) { in cifs_get_writable_file()
1910 cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in cifs_get_writable_file()
1916 spin_lock(&cifs_inode->open_file_lock); in cifs_get_writable_file()
[all …]
Dinode.c1340 struct cifsInodeInfo *cifs_inode; local
1406 cifs_inode = CIFS_I(inode);
1407 origattr = cifs_inode->cifsAttrs;
1428 cifs_inode = CIFS_I(inode);
1429 cifs_inode->time = 0; /* will force revalidate to get info
1434 cifs_inode = CIFS_I(dir);
Dcifsproto.h137 extern int cifs_get_writable_file(struct cifsInodeInfo *cifs_inode,