Lines Matching refs:newent
477 struct dentry *newent; in fuse_lookup() local
499 newent = d_splice_alias(inode, entry); in fuse_lookup()
500 err = PTR_ERR(newent); in fuse_lookup()
501 if (IS_ERR(newent)) in fuse_lookup()
504 entry = newent ? newent : entry; in fuse_lookup()
512 return newent; in fuse_lookup()
874 struct inode *newdir, struct dentry *newent, in fuse_rename_common() argument
892 args.in_args[2].size = newent->d_name.len + 1; in fuse_rename_common()
893 args.in_args[2].value = newent->d_name.name; in fuse_rename_common()
901 fuse_invalidate_attr(d_inode(newent)); in fuse_rename_common()
902 fuse_update_ctime(d_inode(newent)); in fuse_rename_common()
910 if (!(flags & RENAME_EXCHANGE) && d_really_is_positive(newent)) { in fuse_rename_common()
911 fuse_invalidate_attr(d_inode(newent)); in fuse_rename_common()
912 fuse_invalidate_entry_cache(newent); in fuse_rename_common()
913 fuse_update_ctime(d_inode(newent)); in fuse_rename_common()
922 if (d_really_is_positive(newent)) in fuse_rename_common()
923 fuse_invalidate_entry(newent); in fuse_rename_common()
930 struct inode *newdir, struct dentry *newent, in fuse_rename2() argument
946 err = fuse_rename_common(olddir, oldent, newdir, newent, flags, in fuse_rename2()
954 err = fuse_rename_common(olddir, oldent, newdir, newent, 0, in fuse_rename2()
963 struct dentry *newent) in fuse_link() argument
977 args.in_args[1].size = newent->d_name.len + 1; in fuse_link()
978 args.in_args[1].value = newent->d_name.name; in fuse_link()
979 err = create_new_entry(fm, &args, newdir, newent, inode->i_mode); in fuse_link()