new_dentry 367 drivers/android/binderfs.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 371 drivers/android/binderfs.c is_binderfs_control_device(new_dentry)) new_dentry 374 drivers/android/binderfs.c return simple_rename(old_dir, old_dentry, new_dir, new_dentry, flags); new_dentry 1217 drivers/staging/exfat/exfat_super.c struct inode *new_parent_inode, struct dentry *new_dentry) new_dentry 1227 drivers/staging/exfat/exfat_super.c u8 *new_path = (u8 *)new_dentry->d_name.name; new_dentry 1228 drivers/staging/exfat/exfat_super.c struct inode *new_inode = new_dentry->d_inode; new_dentry 2732 drivers/staging/exfat/exfat_super.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 2748 drivers/staging/exfat/exfat_super.c new_inode = new_dentry->d_inode; new_dentry 2753 drivers/staging/exfat/exfat_super.c new_dentry); new_dentry 139 fs/9p/v9fs.h struct inode *new_dir, struct dentry *new_dentry, new_dentry 952 fs/9p/vfs_inode.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 970 fs/9p/vfs_inode.c new_inode = d_inode(new_dentry); new_dentry 982 fs/9p/vfs_inode.c newdirfid = clone_fid(v9fs_parent_fid(new_dentry)); new_dentry 991 fs/9p/vfs_inode.c newdirfid, new_dentry->d_name.name); new_dentry 994 fs/9p/vfs_inode.c new_dentry->d_name.name); new_dentry 998 fs/9p/vfs_inode.c if (old_dentry->d_parent != new_dentry->d_parent) { new_dentry 1009 fs/9p/vfs_inode.c wstat.name = new_dentry->d_name.name; new_dentry 1030 fs/9p/vfs_inode.c d_move(old_dentry, new_dentry); new_dentry 178 fs/affs/affs.h struct inode *new_dir, struct dentry *new_dentry, new_dentry 403 fs/affs/namei.c struct inode *new_dir, struct dentry *new_dentry) new_dentry 409 fs/affs/namei.c retval = affs_check_name(new_dentry->d_name.name, new_dentry 410 fs/affs/namei.c new_dentry->d_name.len, new_dentry 417 fs/affs/namei.c if (d_really_is_positive(new_dentry)) { new_dentry 418 fs/affs/namei.c retval = affs_remove_header(new_dentry); new_dentry 435 fs/affs/namei.c affs_copy_name(AFFS_TAIL(sb, bh)->name, new_dentry); new_dentry 450 fs/affs/namei.c struct inode *new_dir, struct dentry *new_dentry) new_dentry 462 fs/affs/namei.c bh_new = affs_bread(sb, d_inode(new_dentry)->i_ino); new_dentry 481 fs/affs/namei.c affs_copy_name(AFFS_TAIL(sb, bh_old)->name, new_dentry); new_dentry 502 fs/affs/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 510 fs/affs/namei.c old_dir->i_ino, old_dentry, new_dir->i_ino, new_dentry); new_dentry 513 fs/affs/namei.c return affs_xrename(old_dir, old_dentry, new_dir, new_dentry); new_dentry 515 fs/affs/namei.c return affs_rename(old_dir, old_dentry, new_dir, new_dentry); new_dentry 41 fs/afs/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 1219 fs/afs/dir.c struct dentry *new_dentry, new_dentry 1243 fs/afs/dir.c d_instantiate(new_dentry, inode); new_dentry 1832 fs/afs/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 1843 fs/afs/dir.c bool new_negative = d_is_negative(new_dentry); new_dentry 1861 fs/afs/dir.c new_dentry); new_dentry 1879 fs/afs/dir.c if (d_is_positive(new_dentry) && !d_is_dir(new_dentry)) { new_dentry 1883 fs/afs/dir.c if (!d_unhashed(new_dentry)) { new_dentry 1884 fs/afs/dir.c d_drop(new_dentry); new_dentry 1885 fs/afs/dir.c rehash = new_dentry; new_dentry 1888 fs/afs/dir.c if (d_count(new_dentry) > 2) { new_dentry 1891 fs/afs/dir.c tmp = d_alloc(new_dentry->d_parent, new_dentry 1892 fs/afs/dir.c &new_dentry->d_name); new_dentry 1897 fs/afs/dir.c AFS_FS_I(d_inode(new_dentry)), new_dentry 1898 fs/afs/dir.c new_dentry, key); new_dentry 1902 fs/afs/dir.c new_dentry = tmp; new_dentry 1937 fs/afs/dir.c new_dvnode, new_dentry->d_name.name, new_dentry 1969 fs/afs/dir.c afs_edit_dir_remove(new_dvnode, &new_dentry->d_name, new_dentry 1972 fs/afs/dir.c afs_edit_dir_add(new_dvnode, &new_dentry->d_name, new_dentry 1976 fs/afs/dir.c new_inode = d_inode(new_dentry); new_dentry 1991 fs/afs/dir.c afs_update_dentry_version(&fc, new_dentry, &scb[1]); new_dentry 1992 fs/afs/dir.c d_move(old_dentry, new_dentry); new_dentry 1998 fs/afs/dir.c d_rehash(new_dentry); new_dentry 76 fs/bad_inode.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 203 fs/bfs/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 229 fs/bfs/dir.c new_inode = d_inode(new_dentry); new_dentry 230 fs/bfs/dir.c new_bh = bfs_find_entry(new_dir, &new_dentry->d_name, &new_de); new_dentry 237 fs/bfs/dir.c error = bfs_add_entry(new_dir, &new_dentry->d_name, new_dentry 9606 fs/btrfs/inode.c struct dentry *new_dentry) new_dentry 9612 fs/btrfs/inode.c struct inode *new_inode = new_dentry->d_inode; new_dentry 9680 fs/btrfs/inode.c new_dentry->d_name.name, new_dentry 9681 fs/btrfs/inode.c new_dentry->d_name.len, new_dentry 9716 fs/btrfs/inode.c if (old_dentry->d_parent != new_dentry->d_parent) { new_dentry 9741 fs/btrfs/inode.c ret = btrfs_unlink_subvol(trans, new_dir, new_dentry); new_dentry 9744 fs/btrfs/inode.c BTRFS_I(new_dentry->d_inode), new_dentry 9745 fs/btrfs/inode.c new_dentry->d_name.name, new_dentry 9746 fs/btrfs/inode.c new_dentry->d_name.len); new_dentry 9756 fs/btrfs/inode.c new_dentry->d_name.name, new_dentry 9757 fs/btrfs/inode.c new_dentry->d_name.len, 0, old_idx); new_dentry 9777 fs/btrfs/inode.c parent = new_dentry->d_parent; new_dentry 9928 fs/btrfs/inode.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 9936 fs/btrfs/inode.c struct inode *new_inode = d_inode(new_dentry); new_dentry 9964 fs/btrfs/inode.c new_dentry->d_name.name, new_dentry 9965 fs/btrfs/inode.c new_dentry->d_name.len); new_dentry 10026 fs/btrfs/inode.c new_dentry->d_name.name, new_dentry 10027 fs/btrfs/inode.c new_dentry->d_name.len, new_dentry 10041 fs/btrfs/inode.c if (old_dentry->d_parent != new_dentry->d_parent) new_dentry 10065 fs/btrfs/inode.c ret = btrfs_unlink_subvol(trans, new_dir, new_dentry); new_dentry 10069 fs/btrfs/inode.c BTRFS_I(d_inode(new_dentry)), new_dentry 10070 fs/btrfs/inode.c new_dentry->d_name.name, new_dentry 10071 fs/btrfs/inode.c new_dentry->d_name.len); new_dentry 10075 fs/btrfs/inode.c BTRFS_I(d_inode(new_dentry))); new_dentry 10083 fs/btrfs/inode.c new_dentry->d_name.name, new_dentry 10084 fs/btrfs/inode.c new_dentry->d_name.len, 0, index); new_dentry 10094 fs/btrfs/inode.c struct dentry *parent = new_dentry->d_parent; new_dentry 10166 fs/btrfs/inode.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 10174 fs/btrfs/inode.c new_dentry); new_dentry 10176 fs/btrfs/inode.c return btrfs_rename(old_dir, old_dentry, new_dir, new_dentry, flags); new_dentry 1083 fs/ceph/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 1109 fs/ceph/dir.c old_dir, old_dentry, new_dir, new_dentry); new_dentry 1114 fs/ceph/dir.c req->r_dentry = dget(new_dentry); new_dentry 1126 fs/ceph/dir.c if (d_really_is_positive(new_dentry)) { new_dentry 1128 fs/ceph/dir.c ceph_drop_caps_for_unlink(d_inode(new_dentry)); new_dentry 1137 fs/ceph/dir.c d_move(old_dentry, new_dentry); new_dentry 295 fs/coda/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 299 fs/coda/dir.c const char *new_name = new_dentry->d_name.name; new_dentry 301 fs/coda/dir.c int new_length = new_dentry->d_name.len; new_dentry 311 fs/coda/dir.c if (d_really_is_positive(new_dentry)) { new_dentry 312 fs/coda/dir.c if (d_is_dir(new_dentry)) { new_dentry 318 fs/coda/dir.c coda_flag_inode(d_inode(new_dentry), C_VATTR); new_dentry 73 fs/crypto/hooks.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 87 fs/crypto/hooks.c if ((old_dentry->d_flags | new_dentry->d_flags) & new_dentry 100 fs/crypto/hooks.c d_inode(new_dentry))) new_dentry 3065 fs/dcache.c bool is_subdir(struct dentry *new_dentry, struct dentry *old_dentry) new_dentry 3070 fs/dcache.c if (new_dentry == old_dentry) new_dentry 3081 fs/dcache.c if (d_ancestor(old_dentry, new_dentry)) new_dentry 425 fs/ecryptfs/inode.c struct dentry *new_dentry) new_dentry 435 fs/ecryptfs/inode.c lower_new_dentry = ecryptfs_dentry_to_lower(new_dentry); new_dentry 443 fs/ecryptfs/inode.c rc = ecryptfs_interpose(lower_new_dentry, new_dentry, dir->i_sb); new_dentry 450 fs/ecryptfs/inode.c i_size_write(d_inode(new_dentry), file_size_save); new_dentry 583 fs/ecryptfs/inode.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 598 fs/ecryptfs/inode.c lower_new_dir_dentry = ecryptfs_dentry_to_lower(new_dentry->d_parent); new_dentry 601 fs/ecryptfs/inode.c lower_new_dentry = ecryptfs_dentry_to_lower(new_dentry); new_dentry 603 fs/ecryptfs/inode.c target_inode = d_inode(new_dentry); new_dentry 313 fs/ext2/namei.c struct inode * new_dir, struct dentry * new_dentry, new_dentry 317 fs/ext2/namei.c struct inode * new_inode = d_inode(new_dentry); new_dentry 357 fs/ext2/namei.c new_de = ext2_find_entry (new_dir, &new_dentry->d_name, &new_page); new_dentry 366 fs/ext2/namei.c err = ext2_add_link(new_dentry, old_inode); new_dentry 3642 fs/ext4/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 3653 fs/ext4/namei.c .dentry = new_dentry, new_dentry 3654 fs/ext4/namei.c .inode = d_inode(new_dentry), new_dentry 3849 fs/ext4/namei.c struct inode *new_dir, struct dentry *new_dentry) new_dentry 3859 fs/ext4/namei.c .dentry = new_dentry, new_dentry 3860 fs/ext4/namei.c .inode = d_inode(new_dentry), new_dentry 3871 fs/ext4/namei.c EXT4_I(new_dentry->d_inode)->i_projid))) new_dentry 3989 fs/ext4/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 4000 fs/ext4/namei.c err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry, new_dentry 4007 fs/ext4/namei.c new_dir, new_dentry); new_dentry 4010 fs/ext4/namei.c return ext4_rename(old_dir, old_dentry, new_dir, new_dentry, flags); new_dentry 846 fs/f2fs/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 851 fs/f2fs/namei.c struct inode *new_inode = d_inode(new_dentry); new_dentry 915 fs/f2fs/namei.c new_entry = f2fs_find_entry(new_dir, &new_dentry->d_name, new_dentry 949 fs/f2fs/namei.c err = f2fs_add_link(new_dentry, old_inode); new_dentry 1042 fs/f2fs/namei.c struct inode *new_dir, struct dentry *new_dentry) new_dentry 1046 fs/f2fs/namei.c struct inode *new_inode = d_inode(new_dentry); new_dentry 1064 fs/f2fs/namei.c F2FS_I(new_dentry->d_inode)->i_projid))) new_dentry 1083 fs/f2fs/namei.c new_entry = f2fs_find_entry(new_dir, &new_dentry->d_name, &new_page); new_dentry 1207 fs/f2fs/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 1215 fs/f2fs/namei.c err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry, new_dentry 1222 fs/f2fs/namei.c new_dir, new_dentry); new_dentry 1228 fs/f2fs/namei.c return f2fs_rename(old_dir, old_dentry, new_dir, new_dentry, flags); new_dentry 430 fs/fat/namei_msdos.c struct dentry *new_dentry, int is_hid) new_dentry 442 fs/fat/namei_msdos.c new_inode = d_inode(new_dentry); new_dentry 597 fs/fat/namei_msdos.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 614 fs/fat/namei_msdos.c err = msdos_format_name(new_dentry->d_name.name, new_dentry 615 fs/fat/namei_msdos.c new_dentry->d_name.len, new_msdos_name, new_dentry 621 fs/fat/namei_msdos.c (new_dentry->d_name.name[0] == '.') && (new_msdos_name[0] != '.'); new_dentry 624 fs/fat/namei_msdos.c new_dir, new_msdos_name, new_dentry, is_hid); new_dentry 896 fs/fat/namei_vfat.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 913 fs/fat/namei_vfat.c new_inode = d_inode(new_dentry); new_dentry 938 fs/fat/namei_vfat.c err = vfat_add_entry(new_dir, &new_dentry->d_name, is_dir, 0, new_dentry 283 fs/hfs/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 292 fs/hfs/dir.c if (d_really_is_positive(new_dentry)) { new_dentry 293 fs/hfs/dir.c res = hfs_remove(new_dir, new_dentry); new_dentry 300 fs/hfs/dir.c new_dir, &new_dentry->d_name); new_dentry 304 fs/hfs/dir.c new_dir->i_ino, &new_dentry->d_name); new_dentry 532 fs/hfsplus/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 541 fs/hfsplus/dir.c if (d_really_is_positive(new_dentry)) { new_dentry 542 fs/hfsplus/dir.c if (d_is_dir(new_dentry)) new_dentry 543 fs/hfsplus/dir.c res = hfsplus_rmdir(new_dir, new_dentry); new_dentry 545 fs/hfsplus/dir.c res = hfsplus_unlink(new_dir, new_dentry); new_dentry 552 fs/hfsplus/dir.c new_dir, &new_dentry->d_name); new_dentry 554 fs/hfsplus/dir.c new_dentry->d_fsdata = old_dentry->d_fsdata; new_dentry 735 fs/hostfs/hostfs_kern.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 747 fs/hostfs/hostfs_kern.c new_name = dentry_name(new_dentry); new_dentry 511 fs/hpfs/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 516 fs/hpfs/namei.c const unsigned char *new_name = new_dentry->d_name.name; new_dentry 517 fs/hpfs/namei.c unsigned new_len = new_dentry->d_name.len; new_dentry 519 fs/hpfs/namei.c struct inode *new_inode = d_inode(new_dentry); new_dentry 756 fs/jffs2/dir.c struct inode *new_dir_i, struct dentry *new_dentry, new_dentry 773 fs/jffs2/dir.c if (d_really_is_positive(new_dentry)) { new_dentry 774 fs/jffs2/dir.c victim_f = JFFS2_INODE_INFO(d_inode(new_dentry)); new_dentry 775 fs/jffs2/dir.c if (d_is_dir(new_dentry)) { new_dentry 803 fs/jffs2/dir.c new_dentry->d_name.name, new_dentry->d_name.len, now); new_dentry 810 fs/jffs2/dir.c if (d_is_dir(new_dentry)) new_dentry 811 fs/jffs2/dir.c clear_nlink(d_inode(new_dentry)); new_dentry 813 fs/jffs2/dir.c drop_nlink(d_inode(new_dentry)); new_dentry 818 fs/jffs2/dir.c if (d_is_dir(new_dentry)) new_dentry 855 fs/jffs2/dir.c d_invalidate(new_dentry); new_dentry 1062 fs/jfs/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 1085 fs/jfs/namei.c jfs_info("jfs_rename: %pd %pd", old_dentry, new_dentry); new_dentry 1095 fs/jfs/namei.c new_ip = d_inode(new_dentry); new_dentry 1100 fs/jfs/namei.c if ((rc = get_UCSname(&new_dname, new_dentry))) new_dentry 1148 fs/kernfs/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 1170 fs/kernfs/dir.c ret = scops->rename(kn, new_parent, new_dentry->d_name.name); new_dentry 379 fs/libfs.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 388 fs/libfs.c if (!simple_empty(new_dentry)) new_dentry 391 fs/libfs.c if (d_really_is_positive(new_dentry)) { new_dentry 392 fs/libfs.c simple_unlink(new_dir, new_dentry); new_dentry 394 fs/libfs.c drop_nlink(d_inode(new_dentry)); new_dentry 185 fs/minix/namei.c struct inode * new_dir, struct dentry *new_dentry, new_dentry 189 fs/minix/namei.c struct inode * new_inode = d_inode(new_dentry); new_dentry 219 fs/minix/namei.c new_de = minix_find_entry(new_dentry, &new_page); new_dentry 228 fs/minix/namei.c err = minix_add_link(new_dentry, old_inode); new_dentry 4190 fs/namei.c int vfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode) new_dentry 4199 fs/namei.c error = may_create(dir, new_dentry); new_dentry 4223 fs/namei.c error = security_inode_link(old_dentry, dir, new_dentry); new_dentry 4236 fs/namei.c error = dir->i_op->link(old_dentry, dir, new_dentry); new_dentry 4246 fs/namei.c fsnotify_link(dir, inode, new_dentry); new_dentry 4263 fs/namei.c struct dentry *new_dentry; new_dentry 4289 fs/namei.c new_dentry = user_path_create(newdfd, newname, &new_path, new_dentry 4291 fs/namei.c error = PTR_ERR(new_dentry); new_dentry 4292 fs/namei.c if (IS_ERR(new_dentry)) new_dentry 4301 fs/namei.c error = security_path_link(old_path.dentry, &new_path, new_dentry); new_dentry 4304 fs/namei.c error = vfs_link(old_path.dentry, new_path.dentry->d_inode, new_dentry, &delegated_inode); new_dentry 4306 fs/namei.c done_path_create(&new_path, new_dentry); new_dentry 4387 fs/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 4393 fs/namei.c struct inode *target = new_dentry->d_inode; new_dentry 4406 fs/namei.c error = may_create(new_dir, new_dentry); new_dentry 4408 fs/namei.c new_is_dir = d_is_dir(new_dentry); new_dentry 4411 fs/namei.c error = may_delete(new_dir, new_dentry, is_dir); new_dentry 4413 fs/namei.c error = may_delete(new_dir, new_dentry, new_is_dir); new_dentry 4438 fs/namei.c error = security_inode_rename(old_dir, old_dentry, new_dir, new_dentry, new_dentry 4444 fs/namei.c dget(new_dentry); new_dentry 4451 fs/namei.c if (is_local_mountpoint(old_dentry) || is_local_mountpoint(new_dentry)) new_dentry 4473 fs/namei.c new_dir, new_dentry, flags); new_dentry 4479 fs/namei.c shrink_dcache_parent(new_dentry); new_dentry 4482 fs/namei.c dont_mount(new_dentry); new_dentry 4483 fs/namei.c detach_mounts(new_dentry); new_dentry 4487 fs/namei.c d_move(old_dentry, new_dentry); new_dentry 4489 fs/namei.c d_exchange(old_dentry, new_dentry); new_dentry 4496 fs/namei.c dput(new_dentry); new_dentry 4502 fs/namei.c new_is_dir, NULL, new_dentry); new_dentry 4514 fs/namei.c struct dentry *old_dentry, *new_dentry; new_dentry 4582 fs/namei.c new_dentry = __lookup_hash(&new_last, new_path.dentry, lookup_flags | target_flags); new_dentry 4583 fs/namei.c error = PTR_ERR(new_dentry); new_dentry 4584 fs/namei.c if (IS_ERR(new_dentry)) new_dentry 4587 fs/namei.c if ((flags & RENAME_NOREPLACE) && d_is_positive(new_dentry)) new_dentry 4591 fs/namei.c if (d_is_negative(new_dentry)) new_dentry 4594 fs/namei.c if (!d_is_dir(new_dentry)) { new_dentry 4615 fs/namei.c if (new_dentry == trap) new_dentry 4619 fs/namei.c &new_path, new_dentry, flags); new_dentry 4623 fs/namei.c new_path.dentry->d_inode, new_dentry, new_dentry 4626 fs/namei.c dput(new_dentry); new_dentry 2060 fs/nfs/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 2064 fs/nfs/dir.c struct inode *new_inode = d_inode(new_dentry); new_dentry 2073 fs/nfs/dir.c old_dentry, new_dentry, new_dentry 2074 fs/nfs/dir.c d_count(new_dentry)); new_dentry 2076 fs/nfs/dir.c trace_nfs_rename_enter(old_dir, old_dentry, new_dir, new_dentry); new_dentry 2088 fs/nfs/dir.c if (!d_unhashed(new_dentry)) { new_dentry 2089 fs/nfs/dir.c d_drop(new_dentry); new_dentry 2090 fs/nfs/dir.c rehash = new_dentry; new_dentry 2093 fs/nfs/dir.c if (d_count(new_dentry) > 2) { new_dentry 2097 fs/nfs/dir.c dentry = d_alloc(new_dentry->d_parent, new_dentry 2098 fs/nfs/dir.c &new_dentry->d_name); new_dentry 2103 fs/nfs/dir.c err = nfs_sillyrename(new_dir, new_dentry); new_dentry 2107 fs/nfs/dir.c new_dentry = dentry; new_dentry 2113 fs/nfs/dir.c task = nfs_async_rename(old_dir, new_dir, old_dentry, new_dentry, NULL); new_dentry 2140 fs/nfs/dir.c new_dir, new_dentry, error); new_dentry 2150 fs/nfs/dir.c d_move(old_dentry, new_dentry); new_dentry 548 fs/nfs/internal.h struct dentry *old_dentry, struct dentry *new_dentry, new_dentry 453 fs/nfs/nfs3proc.c struct dentry *new_dentry) new_dentry 4592 fs/nfs/nfs4proc.c struct dentry *new_dentry) new_dentry 4597 fs/nfs/nfs4proc.c struct inode *new_inode = d_inode(new_dentry); new_dentry 687 fs/nfs/nfstrace.h const struct dentry *new_dentry new_dentry 690 fs/nfs/nfstrace.h TP_ARGS(old_dir, old_dentry, new_dir, new_dentry), new_dentry 697 fs/nfs/nfstrace.h __string(new_name, new_dentry->d_name.name) new_dentry 705 fs/nfs/nfstrace.h __assign_str(new_name, new_dentry->d_name.name); new_dentry 724 fs/nfs/nfstrace.h const struct dentry *new_dentry \ new_dentry 726 fs/nfs/nfstrace.h TP_ARGS(old_dir, old_dentry, new_dir, new_dentry)) new_dentry 733 fs/nfs/nfstrace.h const struct dentry *new_dentry, new_dentry 737 fs/nfs/nfstrace.h TP_ARGS(old_dir, old_dentry, new_dir, new_dentry, error), new_dentry 745 fs/nfs/nfstrace.h __string(new_name, new_dentry->d_name.name) new_dentry 754 fs/nfs/nfstrace.h __assign_str(new_name, new_dentry->d_name.name); new_dentry 775 fs/nfs/nfstrace.h const struct dentry *new_dentry, \ new_dentry 779 fs/nfs/nfstrace.h new_dentry, error)) new_dentry 346 fs/nfs/proc.c struct dentry *new_dentry) new_dentry 266 fs/nfs/unlink.c new_dir, data->new_dentry, task->tk_status); new_dentry 302 fs/nfs/unlink.c dput(data->new_dentry); new_dentry 334 fs/nfs/unlink.c struct dentry *old_dentry, struct dentry *new_dentry, new_dentry 364 fs/nfs/unlink.c data->new_dentry = dget(new_dentry); new_dentry 373 fs/nfs/unlink.c data->args.new_name = &new_dentry->d_name; new_dentry 381 fs/nfs/unlink.c NFS_PROTO(data->old_dir)->rename_setup(&msg, old_dentry, new_dentry); new_dentry 342 fs/nilfs2/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 346 fs/nilfs2/namei.c struct inode *new_inode = d_inode(new_dentry); new_dentry 382 fs/nilfs2/namei.c new_de = nilfs_find_entry(new_dir, &new_dentry->d_name, &new_page); new_dentry 393 fs/nilfs2/namei.c err = nilfs_add_link(new_dentry, old_inode); new_dentry 1195 fs/ocfs2/namei.c struct dentry *new_dentry, new_dentry 1201 fs/ocfs2/namei.c struct inode *new_inode = d_inode(new_dentry); new_dentry 1227 fs/ocfs2/namei.c trace_ocfs2_rename(old_dir, old_dentry, new_dir, new_dentry, new_dentry 1229 fs/ocfs2/namei.c new_dentry->d_name.len, new_dentry->d_name.name); new_dentry 1377 fs/ocfs2/namei.c status = ocfs2_find_files_on_disk(new_dentry->d_name.name, new_dentry 1378 fs/ocfs2/namei.c new_dentry->d_name.len, new_dentry 1414 fs/ocfs2/namei.c trace_ocfs2_rename_target_exists(new_dentry->d_name.len, new_dentry 1415 fs/ocfs2/namei.c new_dentry->d_name.name); new_dentry 1437 fs/ocfs2/namei.c status = ocfs2_remote_dentry_delete(new_dentry); new_dentry 1461 fs/ocfs2/namei.c BUG_ON(d_inode(new_dentry->d_parent) != new_dir); new_dentry 1464 fs/ocfs2/namei.c new_dentry->d_name.name, new_dentry 1465 fs/ocfs2/namei.c new_dentry->d_name.len); new_dentry 1470 fs/ocfs2/namei.c new_dentry->d_name.name, new_dentry 1471 fs/ocfs2/namei.c new_dentry->d_name.len, new_dentry 1528 fs/ocfs2/namei.c status = ocfs2_add_entry(handle, new_dentry, old_inode, new_dentry 1562 fs/ocfs2/namei.c new_dentry->d_name.len, new_dentry->d_name.name, new_dentry 1574 fs/ocfs2/namei.c new_dentry->d_name.len, new_dentry->d_name.name, new_dentry 1632 fs/ocfs2/namei.c ocfs2_dentry_move(old_dentry, new_dentry, old_dir, new_dir); new_dentry 38 fs/ocfs2/namei.h struct dentry *new_dentry); new_dentry 2262 fs/ocfs2/ocfs2_trace.h void *new_dir, void *new_dentry, new_dentry 2265 fs/ocfs2/ocfs2_trace.h TP_ARGS(old_dir, old_dentry, new_dir, new_dentry, new_dentry 2271 fs/ocfs2/ocfs2_trace.h __field(void *, new_dentry) new_dentry 2281 fs/ocfs2/ocfs2_trace.h __entry->new_dentry = new_dentry; new_dentry 2289 fs/ocfs2/ocfs2_trace.h __entry->new_dir, __entry->new_dentry, new_dentry 4249 fs/ocfs2/refcounttree.c struct dentry *new_dentry, bool preserve) new_dentry 4308 fs/ocfs2/refcounttree.c &new_dentry->d_name); new_dentry 4314 fs/ocfs2/refcounttree.c new_dentry); new_dentry 4359 fs/ocfs2/refcounttree.c struct dentry *new_dentry, bool preserve) new_dentry 4367 fs/ocfs2/refcounttree.c error = ocfs2_may_create(dir, new_dentry); new_dentry 4409 fs/ocfs2/refcounttree.c error = ocfs2_reflink(old_dentry, dir, new_dentry, preserve); new_dentry 4412 fs/ocfs2/refcounttree.c fsnotify_create(dir, new_dentry); new_dentry 4423 fs/ocfs2/refcounttree.c struct dentry *new_dentry; new_dentry 4436 fs/ocfs2/refcounttree.c new_dentry = user_path_create(AT_FDCWD, newname, &new_path, 0); new_dentry 4437 fs/ocfs2/refcounttree.c error = PTR_ERR(new_dentry); new_dentry 4438 fs/ocfs2/refcounttree.c if (IS_ERR(new_dentry)) { new_dentry 4451 fs/ocfs2/refcounttree.c new_dentry, preserve); new_dentry 4453 fs/ocfs2/refcounttree.c done_path_create(&new_path, new_dentry); new_dentry 373 fs/omfs/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 376 fs/omfs/dir.c struct inode *new_inode = d_inode(new_dentry); new_dentry 385 fs/omfs/dir.c err = omfs_remove(new_dir, new_dentry); new_dentry 397 fs/omfs/dir.c err = omfs_add_link(new_dentry, old_inode); new_dentry 378 fs/orangefs/namei.c struct dentry *new_dentry, new_dentry 390 fs/orangefs/namei.c old_dentry, new_dentry, d_count(new_dentry)); new_dentry 408 fs/orangefs/namei.c new_dentry->d_name.name, new_dentry 419 fs/orangefs/namei.c if (new_dentry->d_inode) new_dentry 420 fs/orangefs/namei.c new_dentry->d_inode->i_ctime = current_time(new_dentry->d_inode); new_dentry 105 fs/overlayfs/overlayfs.h struct dentry *new_dentry) new_dentry 107 fs/overlayfs/overlayfs.h int err = vfs_link(old_dentry, dir, new_dentry, NULL); new_dentry 109 fs/overlayfs/overlayfs.h pr_debug("link(%pd2, %pd2) = %i\n", old_dentry, new_dentry, err); new_dentry 1308 fs/reiserfs/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 1349 fs/reiserfs/namei.c new_dentry_inode = d_inode(new_dentry); new_dentry 1415 fs/reiserfs/namei.c reiserfs_add_entry(&th, new_dir, new_dentry->d_name.name, new_dentry 1416 fs/reiserfs/namei.c new_dentry->d_name.len, old_inode, 0); new_dentry 1462 fs/reiserfs/namei.c reiserfs_find_entry(new_dir, new_dentry->d_name.name, new_dentry 1463 fs/reiserfs/namei.c new_dentry->d_name.len, &new_entry_path, new_dentry 1520 fs/reiserfs/namei.c !entry_points_to_object(new_dentry->d_name.name, new_dentry 1521 fs/reiserfs/namei.c new_dentry->d_name.len, new_dentry 190 fs/sysv/namei.c struct inode * new_dir, struct dentry * new_dentry, new_dentry 194 fs/sysv/namei.c struct inode * new_inode = d_inode(new_dentry); new_dentry 224 fs/sysv/namei.c new_de = sysv_find_entry(new_dentry, &new_page); new_dentry 233 fs/sysv/namei.c err = sysv_add_link(new_dentry, old_inode); new_dentry 1248 fs/ubifs/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 1253 fs/ubifs/dir.c struct inode *new_inode = d_inode(new_dentry); new_dentry 1279 fs/ubifs/dir.c new_dentry, new_dir->i_ino, flags); new_dentry 1299 fs/ubifs/dir.c err = fscrypt_setup_filename(new_dir, &new_dentry->d_name, 0, &new_nm); new_dentry 1489 fs/ubifs/dir.c struct inode *new_dir, struct dentry *new_dentry) new_dentry 1496 fs/ubifs/dir.c struct inode *snd_inode = d_inode(new_dentry); new_dentry 1507 fs/ubifs/dir.c err = fscrypt_setup_filename(new_dir, &new_dentry->d_name, 0, &snd_nm); new_dentry 1544 fs/ubifs/dir.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 1556 fs/ubifs/dir.c err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry, new_dentry 1562 fs/ubifs/dir.c return ubifs_xrename(old_dir, old_dentry, new_dir, new_dentry); new_dentry 1564 fs/ubifs/dir.c return do_rename(old_dir, old_dentry, new_dir, new_dentry, flags); new_dentry 1070 fs/udf/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 1074 fs/udf/namei.c struct inode *new_inode = d_inode(new_dentry); new_dentry 1101 fs/udf/namei.c nfi = udf_find_entry(new_dir, &new_dentry->d_name, &nfibh, &ncfi); new_dentry 1143 fs/udf/namei.c nfi = udf_add_entry(new_dir, new_dentry, &nfibh, &ncfi, new_dentry 244 fs/ufs/namei.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 248 fs/ufs/namei.c struct inode *new_inode = d_inode(new_dentry); new_dentry 278 fs/ufs/namei.c new_de = ufs_find_entry(new_dir, &new_dentry->d_name, &new_page); new_dentry 287 fs/ufs/namei.c err = ufs_add_link(new_dentry, old_inode); new_dentry 259 include/linux/fscrypt.h struct dentry *new_dentry, new_dentry 516 include/linux/fscrypt.h struct dentry *new_dentry, new_dentry 638 include/linux/fscrypt.h struct dentry *new_dentry, new_dentry 643 include/linux/fscrypt.h new_dir, new_dentry, flags); new_dentry 183 include/linux/fsnotify.h static inline void fsnotify_link(struct inode *dir, struct inode *inode, struct dentry *new_dentry) new_dentry 186 include/linux/fsnotify.h audit_inode_child(dir, new_dentry, AUDIT_TYPE_CHILD_CREATE); new_dentry 188 include/linux/fsnotify.h fsnotify(dir, FS_CREATE, inode, FSNOTIFY_EVENT_INODE, &new_dentry->d_name, 0); new_dentry 1538 include/linux/lsm_hooks.h struct dentry *new_dentry); new_dentry 1541 include/linux/lsm_hooks.h struct dentry *new_dentry); new_dentry 1558 include/linux/lsm_hooks.h struct dentry *new_dentry); new_dentry 1569 include/linux/lsm_hooks.h struct dentry *new_dentry); new_dentry 1613 include/linux/nfs_xdr.h struct dentry *new_dentry; new_dentry 1666 include/linux/nfs_xdr.h struct dentry *new_dentry); new_dentry 326 include/linux/security.h struct dentry *new_dentry); new_dentry 334 include/linux/security.h struct inode *new_dir, struct dentry *new_dentry, new_dentry 741 include/linux/security.h struct dentry *new_dentry) new_dentry 782 include/linux/security.h struct dentry *new_dentry, new_dentry 1667 include/linux/security.h struct dentry *new_dentry); new_dentry 1669 include/linux/security.h const struct path *new_dir, struct dentry *new_dentry, new_dentry 1710 include/linux/security.h struct dentry *new_dentry) new_dentry 1718 include/linux/security.h struct dentry *new_dentry, new_dentry 3005 mm/shmem.c static int shmem_exchange(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) new_dentry 3008 mm/shmem.c bool new_is_dir = d_is_dir(new_dentry); new_dentry 3022 mm/shmem.c d_inode(new_dentry)->i_ctime = current_time(old_dir); new_dentry 3059 mm/shmem.c static int shmem_rename2(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) new_dentry 3068 mm/shmem.c return shmem_exchange(old_dir, old_dentry, new_dir, new_dentry); new_dentry 3070 mm/shmem.c if (!simple_empty(new_dentry)) new_dentry 3081 mm/shmem.c if (d_really_is_positive(new_dentry)) { new_dentry 3082 mm/shmem.c (void) shmem_unlink(new_dir, new_dentry); new_dentry 3084 mm/shmem.c drop_nlink(d_inode(new_dentry)); new_dentry 465 security/apparmor/file.c const struct path *new_dir, struct dentry *new_dentry) new_dentry 467 security/apparmor/file.c struct path link = { .mnt = new_dir->mnt, .dentry = new_dentry }; new_dentry 197 security/apparmor/include/file.h const struct path *new_dir, struct dentry *new_dentry); new_dentry 327 security/apparmor/lsm.c struct dentry *new_dentry) new_dentry 337 security/apparmor/lsm.c error = aa_path_link(label, old_dentry, new_dir, new_dentry); new_dentry 344 security/apparmor/lsm.c const struct path *new_dir, struct dentry *new_dentry) new_dentry 357 security/apparmor/lsm.c .dentry = new_dentry }; new_dentry 1057 security/security.c struct dentry *new_dentry) new_dentry 1061 security/security.c return call_int_hook(path_link, 0, old_dentry, new_dir, new_dentry); new_dentry 1065 security/security.c const struct path *new_dir, struct dentry *new_dentry, new_dentry 1069 security/security.c (d_is_positive(new_dentry) && IS_PRIVATE(d_backing_inode(new_dentry))))) new_dentry 1073 security/security.c int err = call_int_hook(path_rename, 0, new_dir, new_dentry, new_dentry 1080 security/security.c new_dentry); new_dentry 1120 security/security.c struct dentry *new_dentry) new_dentry 1124 security/security.c return call_int_hook(inode_link, 0, old_dentry, dir, new_dentry); new_dentry 1165 security/security.c struct inode *new_dir, struct dentry *new_dentry, new_dentry 1169 security/security.c (d_is_positive(new_dentry) && IS_PRIVATE(d_backing_inode(new_dentry))))) new_dentry 1173 security/security.c int err = call_int_hook(inode_rename, 0, new_dir, new_dentry, new_dentry 1180 security/security.c new_dir, new_dentry); new_dentry 1905 security/selinux/hooks.c struct dentry *new_dentry) new_dentry 1940 security/selinux/hooks.c ad.u.dentry = new_dentry; new_dentry 1942 security/selinux/hooks.c if (d_is_positive(new_dentry)) new_dentry 1948 security/selinux/hooks.c if (d_is_positive(new_dentry)) { new_dentry 1949 security/selinux/hooks.c new_isec = backing_inode_security(new_dentry); new_dentry 1950 security/selinux/hooks.c new_is_dir = d_is_dir(new_dentry); new_dentry 2959 security/selinux/hooks.c static int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry) new_dentry 2990 security/selinux/hooks.c struct inode *new_inode, struct dentry *new_dentry) new_dentry 2992 security/selinux/hooks.c return may_rename(old_inode, old_dentry, new_inode, new_dentry); new_dentry 1031 security/smack/smack_lsm.c struct dentry *new_dentry) new_dentry 1044 security/smack/smack_lsm.c if (rc == 0 && d_is_positive(new_dentry)) { new_dentry 1045 security/smack/smack_lsm.c isp = smk_of_inode(d_backing_inode(new_dentry)); new_dentry 1046 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, new_dentry); new_dentry 1048 security/smack/smack_lsm.c rc = smk_bu_inode(d_backing_inode(new_dentry), MAY_WRITE, rc); new_dentry 1137 security/smack/smack_lsm.c struct dentry *new_dentry) new_dentry 1150 security/smack/smack_lsm.c if (rc == 0 && d_is_positive(new_dentry)) { new_dentry 1151 security/smack/smack_lsm.c isp = smk_of_inode(d_backing_inode(new_dentry)); new_dentry 1152 security/smack/smack_lsm.c smk_ad_setfield_u_fs_path_dentry(&ad, new_dentry); new_dentry 1154 security/smack/smack_lsm.c rc = smk_bu_inode(d_backing_inode(new_dentry), MAY_READWRITE, rc); new_dentry 259 security/tomoyo/tomoyo.c struct dentry *new_dentry) new_dentry 262 security/tomoyo/tomoyo.c struct path path2 = { .mnt = new_dir->mnt, .dentry = new_dentry }; new_dentry 280 security/tomoyo/tomoyo.c struct dentry *new_dentry) new_dentry 283 security/tomoyo/tomoyo.c struct path path2 = { .mnt = new_parent->mnt, .dentry = new_dentry };