Lines Matching refs:newent
363 struct dentry *newent; in fuse_lookup() local
385 newent = d_splice_alias(inode, entry); in fuse_lookup()
386 err = PTR_ERR(newent); in fuse_lookup()
387 if (IS_ERR(newent)) in fuse_lookup()
390 entry = newent ? newent : entry; in fuse_lookup()
397 return newent; in fuse_lookup()
749 struct inode *newdir, struct dentry *newent, in fuse_rename_common() argument
767 args.in.args[2].size = newent->d_name.len + 1; in fuse_rename_common()
768 args.in.args[2].value = newent->d_name.name; in fuse_rename_common()
776 fuse_invalidate_attr(d_inode(newent)); in fuse_rename_common()
777 fuse_update_ctime(d_inode(newent)); in fuse_rename_common()
785 if (!(flags & RENAME_EXCHANGE) && d_really_is_positive(newent)) { in fuse_rename_common()
786 fuse_invalidate_attr(d_inode(newent)); in fuse_rename_common()
787 fuse_invalidate_entry_cache(newent); in fuse_rename_common()
788 fuse_update_ctime(d_inode(newent)); in fuse_rename_common()
797 if (d_really_is_positive(newent)) in fuse_rename_common()
798 fuse_invalidate_entry(newent); in fuse_rename_common()
805 struct inode *newdir, struct dentry *newent, in fuse_rename2() argument
821 err = fuse_rename_common(olddir, oldent, newdir, newent, flags, in fuse_rename2()
829 err = fuse_rename_common(olddir, oldent, newdir, newent, 0, in fuse_rename2()
838 struct dentry *newent) in fuse_link() argument
852 args.in.args[1].size = newent->d_name.len + 1; in fuse_link()
853 args.in.args[1].value = newent->d_name.name; in fuse_link()
854 err = create_new_entry(fc, &args, newdir, newent, inode->i_mode); in fuse_link()