new_path 76 arch/um/os-Linux/main.c char *new_path = NULL; new_path 93 arch/um/os-Linux/main.c new_path = malloc(path_len); new_path 94 arch/um/os-Linux/main.c if (!new_path) { new_path 98 arch/um/os-Linux/main.c snprintf(new_path, path_len, "PATH=%s" UML_LIB_PATH, old_path); new_path 99 arch/um/os-Linux/main.c if (putenv(new_path)) { new_path 101 arch/um/os-Linux/main.c free(new_path); new_path 414 drivers/acpi/acpica/nsnames.c char *new_path; new_path 420 drivers/acpi/acpica/nsnames.c new_path = new_path_buffer; new_path 428 drivers/acpi/acpica/nsnames.c *new_path = *input_path; new_path 429 drivers/acpi/acpica/nsnames.c new_path++; new_path 434 drivers/acpi/acpica/nsnames.c *new_path = *input_path; new_path 435 drivers/acpi/acpica/nsnames.c new_path++; new_path 447 drivers/acpi/acpica/nsnames.c *new_path = *input_path; new_path 448 drivers/acpi/acpica/nsnames.c new_path++; new_path 457 drivers/acpi/acpica/nsnames.c *new_path = *input_path; new_path 458 drivers/acpi/acpica/nsnames.c new_path++; new_path 463 drivers/acpi/acpica/nsnames.c *new_path = 0; new_path 1343 drivers/scsi/ipr.c int new_path = 0; new_path 1365 drivers/scsi/ipr.c new_path = 1; new_path 1368 drivers/scsi/ipr.c if (res->sdev && new_path) new_path 1227 drivers/staging/exfat/exfat_super.c u8 *new_path = (u8 *)new_dentry->d_name.name; new_path 1238 drivers/staging/exfat/exfat_super.c if (!new_path || (*new_path == '\0')) new_path 1304 drivers/staging/exfat/exfat_super.c ret = resolve_path(new_parent_inode, new_path, &newdir, &uni_name); new_path 3778 fs/btrfs/send.c struct fs_path *new_path; new_path 3784 fs/btrfs/send.c new_path = fs_path_alloc(); new_path 3785 fs/btrfs/send.c if (!new_path) new_path 3788 fs/btrfs/send.c ret = get_cur_path(sctx, ref->dir, ref->dir_gen, new_path); new_path 3790 fs/btrfs/send.c fs_path_free(new_path); new_path 3793 fs/btrfs/send.c ret = fs_path_add(new_path, ref->name, ref->name_len); new_path 3795 fs/btrfs/send.c fs_path_free(new_path); new_path 3800 fs/btrfs/send.c set_ref_path(ref, new_path); new_path 4264 fs/namei.c struct path old_path, new_path; new_path 4289 fs/namei.c new_dentry = user_path_create(newdfd, newname, &new_path, new_path 4296 fs/namei.c if (old_path.mnt != new_path.mnt) new_path 4301 fs/namei.c error = security_path_link(old_path.dentry, &new_path, new_dentry); new_path 4304 fs/namei.c error = vfs_link(old_path.dentry, new_path.dentry->d_inode, new_dentry, &delegated_inode); new_path 4306 fs/namei.c done_path_create(&new_path, new_dentry); new_path 4516 fs/namei.c struct path old_path, new_path; new_path 4548 fs/namei.c &new_path, &new_last, &new_type); new_path 4555 fs/namei.c if (old_path.mnt != new_path.mnt) new_path 4572 fs/namei.c trap = lock_rename(new_path.dentry, old_path.dentry); new_path 4582 fs/namei.c new_dentry = __lookup_hash(&new_last, new_path.dentry, lookup_flags | target_flags); new_path 4619 fs/namei.c &new_path, new_dentry, flags); new_path 4623 fs/namei.c new_path.dentry->d_inode, new_dentry, new_path 4630 fs/namei.c unlock_rename(new_path.dentry, old_path.dentry); new_path 4640 fs/namei.c path_put(&new_path); new_path 2598 fs/namespace.c static int do_move_mount(struct path *old_path, struct path *new_path) new_path 2608 fs/namespace.c mp = lock_mount(new_path); new_path 2613 fs/namespace.c p = real_mount(new_path->mnt); new_path 2638 fs/namespace.c if (d_is_dir(new_path->dentry) != new_path 2659 fs/namespace.c err = attach_recursive_mnt(old, real_mount(new_path->mnt), mp, new_path 846 fs/ocfs2/ioctl.c const char __user *new_path; new_path 909 fs/ocfs2/ioctl.c new_path = (const char __user *)(unsigned long)args.new_path; new_path 912 fs/ocfs2/ioctl.c return ocfs2_reflink_ioctl(inode, old_path, new_path, preserve); new_path 982 fs/ocfs2/ioctl.c compat_ptr(args.new_path), preserve); new_path 66 fs/ocfs2/ocfs2_ioctl.h __u64 new_path; new_path 4424 fs/ocfs2/refcounttree.c struct path old_path, new_path; new_path 4436 fs/ocfs2/refcounttree.c new_dentry = user_path_create(AT_FDCWD, newname, &new_path, 0); new_path 4444 fs/ocfs2/refcounttree.c if (old_path.mnt != new_path.mnt) { new_path 4450 fs/ocfs2/refcounttree.c d_inode(new_path.dentry), new_path 4453 fs/ocfs2/refcounttree.c done_path_create(&new_path, new_dentry); new_path 1525 fs/proc/proc_sysctl.c char *new_path, *pos; new_path 1527 fs/proc/proc_sysctl.c pos = new_path = kmalloc(PATH_MAX, GFP_KERNEL); new_path 1528 fs/proc/proc_sysctl.c if (!new_path) new_path 1533 fs/proc/proc_sysctl.c pos = append_path(new_path, pos, component->procname); new_path 1538 fs/proc/proc_sysctl.c pos = append_path(new_path, pos, table->procname); new_path 1544 fs/proc/proc_sysctl.c header = __register_sysctl_table(set, new_path, table); new_path 1557 fs/proc/proc_sysctl.c if (register_leaf_sysctl_tables(new_path, pos, &subheader, new_path 1563 fs/proc/proc_sysctl.c kfree(new_path); new_path 1506 include/linux/lsm_hooks.h int (*sb_pivotroot)(const struct path *old_path, const struct path *new_path); new_path 295 include/linux/security.h int security_sb_pivotroot(const struct path *old_path, const struct path *new_path); new_path 649 include/linux/security.h const struct path *new_path) new_path 48 security/apparmor/include/mount.h const struct path *new_path); new_path 356 security/apparmor/lsm.c struct path new_path = { .mnt = new_dir->mnt, new_path 367 security/apparmor/lsm.c error = aa_path_perm(OP_RENAME_DEST, label, &new_path, new_path 562 security/apparmor/lsm.c const struct path *new_path) new_path 569 security/apparmor/lsm.c error = aa_pivotroot(label, old_path, new_path); new_path 607 security/apparmor/mount.c const struct path *new_path, new_path 619 security/apparmor/mount.c AA_BUG(!new_path); new_path 631 security/apparmor/mount.c error = aa_path_name(new_path, path_flags(profile, new_path), new_path 659 security/apparmor/mount.c const struct path *new_path) new_path 668 security/apparmor/mount.c AA_BUG(!new_path); new_path 672 security/apparmor/mount.c build_pivotroot(profile, new_path, new_buffer, new_path 868 security/security.c int security_sb_pivotroot(const struct path *old_path, const struct path *new_path) new_path 870 security/security.c return call_int_hook(sb_pivotroot, 0, old_path, new_path); new_path 426 security/tomoyo/tomoyo.c static int tomoyo_sb_pivotroot(const struct path *old_path, const struct path *new_path) new_path 428 security/tomoyo/tomoyo.c return tomoyo_path2_perm(TOMOYO_TYPE_PIVOT_ROOT, new_path, old_path); new_path 143 tools/lib/subcmd/exec-cmd.c char *new_path = NULL; new_path 146 tools/lib/subcmd/exec-cmd.c add_path(&new_path, tmp); new_path 147 tools/lib/subcmd/exec-cmd.c add_path(&new_path, argv0_path); new_path 151 tools/lib/subcmd/exec-cmd.c astrcat(&new_path, old_path); new_path 153 tools/lib/subcmd/exec-cmd.c astrcat(&new_path, "/usr/local/bin:/usr/bin:/bin"); new_path 155 tools/lib/subcmd/exec-cmd.c setenv("PATH", new_path, 1); new_path 157 tools/lib/subcmd/exec-cmd.c free(new_path); new_path 330 tools/perf/builtin-help.c char *new_path; new_path 337 tools/perf/builtin-help.c if (asprintf(&new_path, "%s:%s", system_path(PERF_MAN_PATH), old_path ?: "") > 0) { new_path 338 tools/perf/builtin-help.c setenv("MANPATH", new_path, 1); new_path 339 tools/perf/builtin-help.c free(new_path); new_path 1870 tools/perf/util/probe-finder.c char **new_path) new_path 1880 tools/perf/util/probe-finder.c *new_path = strdup(raw_path); new_path 1881 tools/perf/util/probe-finder.c return *new_path ? 0 : -ENOMEM; new_path 1887 tools/perf/util/probe-finder.c *new_path = malloc((strlen(prefix) + strlen(raw_path) + 2)); new_path 1888 tools/perf/util/probe-finder.c if (!*new_path) new_path 1892 tools/perf/util/probe-finder.c sprintf(*new_path, "%s/%s", prefix, raw_path); new_path 1894 tools/perf/util/probe-finder.c if (access(*new_path, R_OK) == 0) new_path 1899 tools/perf/util/probe-finder.c zfree(new_path); new_path 1910 tools/perf/util/probe-finder.c zfree(new_path); new_path 1916 tools/perf/util/probe-finder.c zfree(new_path); new_path 63 tools/perf/util/probe-finder.h char **new_path);