Home
last modified time | relevance | path

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

/fs/cifs/
Dcifsfs.c304 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local
305 cifs_inode = kmem_cache_alloc(cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode()
306 if (!cifs_inode) in cifs_alloc_inode()
308 cifs_inode->cifsAttrs = 0x20; /* default */ in cifs_alloc_inode()
309 atomic_set(&cifs_inode->inUse, 0); in cifs_alloc_inode()
310 cifs_inode->time = 0; in cifs_alloc_inode()
311 cifs_inode->write_behind_rc = 0; in cifs_alloc_inode()
315 cifs_inode->clientCanCacheRead = false; in cifs_alloc_inode()
316 cifs_inode->clientCanCacheAll = false; in cifs_alloc_inode()
317 cifs_inode->delete_pending = false; in cifs_alloc_inode()
[all …]
Dfile.c1043 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode) in find_readable_file() argument
1051 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file()
1073 struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *cifs_inode) in find_writable_file() argument
1083 if (cifs_inode == NULL) { in find_writable_file()
1091 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_writable_file()
2015 static int is_inode_writable(struct cifsInodeInfo *cifs_inode) in is_inode_writable() argument
2020 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in is_inode_writable()