Searched refs:cifs_inode (Results 1 – 3 of 3) sorted by relevance
276 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local277 cifs_inode = kmem_cache_alloc(cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode()278 if (!cifs_inode) in cifs_alloc_inode()280 cifs_inode->cifsAttrs = 0x20; /* default */ in cifs_alloc_inode()281 cifs_inode->time = 0; in cifs_alloc_inode()286 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode()287 cifs_inode->flags = 0; in cifs_alloc_inode()288 spin_lock_init(&cifs_inode->writers_lock); in cifs_alloc_inode()289 cifs_inode->writers = 0; in cifs_alloc_inode()290 cifs_inode->vfs_inode.i_blkbits = 14; /* 2**14 = CIFS_MAX_MSGSIZE */ in cifs_alloc_inode()[all …]
1855 struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *cifs_inode, in find_readable_file() argument1859 struct cifs_sb_info *cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in find_readable_file()1865 spin_lock(&cifs_inode->open_file_lock); in find_readable_file()1869 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file()1877 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()1885 spin_unlock(&cifs_inode->open_file_lock); in find_readable_file()1889 struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *cifs_inode, in find_writable_file() argument1902 if (cifs_inode == NULL) { in find_writable_file()1908 cifs_sb = CIFS_SB(cifs_inode->vfs_inode.i_sb); in find_writable_file()1914 spin_lock(&cifs_inode->open_file_lock); in find_writable_file()[all …]
1333 struct cifsInodeInfo *cifs_inode; local1399 cifs_inode = CIFS_I(inode);1400 origattr = cifs_inode->cifsAttrs;1421 cifs_inode = CIFS_I(inode);1422 cifs_inode->time = 0; /* will force revalidate to get info1427 cifs_inode = CIFS_I(dir);