Lines Matching refs:newinode
204 struct inode *newinode = NULL; in cifs_do_create() local
221 rc = cifs_posix_open(full_path, &newinode, inode->i_sb, mode, in cifs_do_create()
225 if (newinode == NULL) { in cifs_do_create()
230 if (!S_ISREG(newinode->i_mode)) { in cifs_do_create()
369 rc = cifs_get_inode_info_unix(&newinode, full_path, inode->i_sb, in cifs_do_create()
372 rc = cifs_get_inode_info(&newinode, full_path, buf, inode->i_sb, in cifs_do_create()
374 if (newinode) { in cifs_do_create()
376 server->ops->set_lease_key(newinode, fid); in cifs_do_create()
378 newinode->i_mode = mode; in cifs_do_create()
381 newinode->i_uid = current_fsuid(); in cifs_do_create()
383 newinode->i_gid = inode->i_gid; in cifs_do_create()
385 newinode->i_gid = current_fsgid(); in cifs_do_create()
399 d_add(direntry, newinode); in cifs_do_create()
560 struct inode *newinode = NULL; in cifs_mknod() local
607 rc = cifs_get_inode_info_unix(&newinode, full_path, in cifs_mknod()
611 d_instantiate(direntry, newinode); in cifs_mknod()