Lines Matching refs:cifs_inode
276 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local
277 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()
291 cifs_inode->server_eof = 0; in cifs_alloc_inode()
292 cifs_inode->uniqueid = 0; in cifs_alloc_inode()
293 cifs_inode->createtime = 0; in cifs_alloc_inode()
294 cifs_inode->epoch = 0; in cifs_alloc_inode()
295 spin_lock_init(&cifs_inode->open_file_lock); in cifs_alloc_inode()
296 generate_random_uuid(cifs_inode->lease_key); in cifs_alloc_inode()
303 INIT_LIST_HEAD(&cifs_inode->openFileList); in cifs_alloc_inode()
304 INIT_LIST_HEAD(&cifs_inode->llist); in cifs_alloc_inode()
305 return &cifs_inode->vfs_inode; in cifs_alloc_inode()