Home
last modified time | relevance | path

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

/linux-3.4.99/fs/cifs/
Dcifsfs.c258 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local
259 cifs_inode = kmem_cache_alloc(cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode()
260 if (!cifs_inode) in cifs_alloc_inode()
262 cifs_inode->cifsAttrs = 0x20; /* default */ in cifs_alloc_inode()
263 cifs_inode->time = 0; in cifs_alloc_inode()
267 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode()
268 cifs_inode->delete_pending = false; in cifs_alloc_inode()
269 cifs_inode->invalid_mapping = false; in cifs_alloc_inode()
270 cifs_inode->vfs_inode.i_blkbits = 14; /* 2**14 = CIFS_MAX_MSGSIZE */ in cifs_alloc_inode()
271 cifs_inode->server_eof = 0; in cifs_alloc_inode()
[all …]
Dfile.c1509 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode, in find_readable_file() argument
1513 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in find_readable_file()
1523 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file()
1543 struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *cifs_inode, in find_writable_file() argument
1556 if (cifs_inode == NULL) { in find_writable_file()
1562 cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in find_writable_file()
1574 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_writable_file()
1611 &cifs_inode->openFileList); in find_writable_file()
2872 static int is_inode_writable(struct cifsInodeInfo *cifs_inode) in is_inode_writable() argument
2877 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in is_inode_writable()
Dinode.c1182 struct cifsInodeInfo *cifs_inode; local
1240 cifs_inode = CIFS_I(inode);
1241 origattr = cifs_inode->cifsAttrs;
1262 cifs_inode = CIFS_I(inode);
1263 cifs_inode->time = 0; /* will force revalidate to get info
1268 cifs_inode = CIFS_I(dir);