Lines Matching refs:cifs_inode
378 struct cifsInodeInfo *cifs_inode; in cifs_alloc_inode() local
379 cifs_inode = alloc_inode_sb(sb, cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode()
380 if (!cifs_inode) in cifs_alloc_inode()
382 cifs_inode->cifsAttrs = 0x20; /* default */ in cifs_alloc_inode()
383 cifs_inode->time = 0; in cifs_alloc_inode()
388 cifs_set_oplock_level(cifs_inode, 0); in cifs_alloc_inode()
389 cifs_inode->flags = 0; in cifs_alloc_inode()
390 spin_lock_init(&cifs_inode->writers_lock); in cifs_alloc_inode()
391 cifs_inode->writers = 0; in cifs_alloc_inode()
392 cifs_inode->netfs.inode.i_blkbits = 14; /* 2**14 = CIFS_MAX_MSGSIZE */ in cifs_alloc_inode()
393 cifs_inode->server_eof = 0; in cifs_alloc_inode()
394 cifs_inode->uniqueid = 0; in cifs_alloc_inode()
395 cifs_inode->createtime = 0; in cifs_alloc_inode()
396 cifs_inode->epoch = 0; in cifs_alloc_inode()
397 spin_lock_init(&cifs_inode->open_file_lock); in cifs_alloc_inode()
398 generate_random_uuid(cifs_inode->lease_key); in cifs_alloc_inode()
399 cifs_inode->symlink_target = NULL; in cifs_alloc_inode()
406 INIT_LIST_HEAD(&cifs_inode->openFileList); in cifs_alloc_inode()
407 INIT_LIST_HEAD(&cifs_inode->llist); in cifs_alloc_inode()
408 INIT_LIST_HEAD(&cifs_inode->deferred_closes); in cifs_alloc_inode()
409 spin_lock_init(&cifs_inode->deferred_lock); in cifs_alloc_inode()
410 return &cifs_inode->netfs.inode; in cifs_alloc_inode()