Home
last modified time | relevance | path

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

/fs/cifs/
Dcifsfs.c325 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local
326 cifs_inode = kmem_cache_alloc(cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode()
327 if (!cifs_inode) in cifs_alloc_inode()
329 cifs_inode->cifsAttrs = 0x20; /* default */ in cifs_alloc_inode()
330 cifs_inode->time = 0; in cifs_alloc_inode()
335 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode()
336 cifs_inode->flags = 0; in cifs_alloc_inode()
337 spin_lock_init(&cifs_inode->writers_lock); in cifs_alloc_inode()
338 cifs_inode->writers = 0; in cifs_alloc_inode()
339 cifs_inode->vfs_inode.i_blkbits = 14; /* 2**14 = CIFS_MAX_MSGSIZE */ in cifs_alloc_inode()
[all …]
Dfile.c1883 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode, in find_readable_file() argument
1887 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in find_readable_file()
1893 spin_lock(&cifs_inode->open_file_lock); in find_readable_file()
1897 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file()
1905 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
1913 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()
1919 cifs_get_writable_file(struct cifsInodeInfo *cifs_inode, bool fsuid_only, in cifs_get_writable_file() argument
1936 if (cifs_inode == NULL) { in cifs_get_writable_file()
1942 cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in cifs_get_writable_file()
1948 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,