/Linux-v4.19/drivers/acpi/acpica/ |
D | nsnames.c | 418 char *new_path; in acpi_ns_normalize_pathname() local 424 new_path = new_path_buffer; in acpi_ns_normalize_pathname() 432 *new_path = *input_path; in acpi_ns_normalize_pathname() 433 new_path++; in acpi_ns_normalize_pathname() 438 *new_path = *input_path; in acpi_ns_normalize_pathname() 439 new_path++; in acpi_ns_normalize_pathname() 451 *new_path = *input_path; in acpi_ns_normalize_pathname() 452 new_path++; in acpi_ns_normalize_pathname() 461 *new_path = *input_path; in acpi_ns_normalize_pathname() 462 new_path++; in acpi_ns_normalize_pathname() [all …]
|
/Linux-v4.19/tools/lib/subcmd/ |
D | exec-cmd.c | 143 char *new_path = NULL; in setup_path() local 146 add_path(&new_path, tmp); in setup_path() 147 add_path(&new_path, argv0_path); in setup_path() 151 astrcat(&new_path, old_path); in setup_path() 153 astrcat(&new_path, "/usr/local/bin:/usr/bin:/bin"); in setup_path() 155 setenv("PATH", new_path, 1); in setup_path() 157 free(new_path); in setup_path()
|
/Linux-v4.19/arch/um/os-Linux/ |
D | main.c | 76 char *new_path = NULL; in setup_env_path() local 93 new_path = malloc(path_len); in setup_env_path() 94 if (!new_path) { in setup_env_path() 98 snprintf(new_path, path_len, "PATH=%s" UML_LIB_PATH, old_path); in setup_env_path() 99 if (putenv(new_path)) { in setup_env_path() 101 free(new_path); in setup_env_path()
|
/Linux-v4.19/security/apparmor/ |
D | mount.c | 610 const struct path *new_path, in build_pivotroot() argument 622 AA_BUG(!new_path); in build_pivotroot() 634 error = aa_path_name(new_path, path_flags(profile, new_path), in build_pivotroot() 662 const struct path *new_path) in aa_pivotroot() argument 671 AA_BUG(!new_path); in aa_pivotroot() 675 build_pivotroot(profile, new_path, new_buffer, in aa_pivotroot()
|
D | lsm.c | 362 struct path new_path = { .mnt = new_dir->mnt, in apparmor_path_rename() local 373 error = aa_path_perm(OP_RENAME_DEST, label, &new_path, in apparmor_path_rename() 568 const struct path *new_path) in apparmor_sb_pivotroot() argument 575 error = aa_pivotroot(label, old_path, new_path); in apparmor_sb_pivotroot()
|
/Linux-v4.19/tools/perf/ |
D | builtin-help.c | 325 char *new_path; in setup_man_path() local 332 if (asprintf(&new_path, "%s:%s", system_path(PERF_MAN_PATH), old_path ?: "") > 0) { in setup_man_path() 333 setenv("MANPATH", new_path, 1); in setup_man_path() 334 free(new_path); in setup_man_path()
|
/Linux-v4.19/security/apparmor/include/ |
D | mount.h | 52 const struct path *new_path);
|
/Linux-v4.19/tools/perf/util/ |
D | probe-finder.c | 1831 char **new_path) in get_real_path() argument 1841 *new_path = strdup(raw_path); in get_real_path() 1842 return *new_path ? 0 : -ENOMEM; in get_real_path() 1848 *new_path = malloc((strlen(prefix) + strlen(raw_path) + 2)); in get_real_path() 1849 if (!*new_path) in get_real_path() 1853 sprintf(*new_path, "%s/%s", prefix, raw_path); in get_real_path() 1855 if (access(*new_path, R_OK) == 0) in get_real_path() 1860 zfree(new_path); in get_real_path() 1871 zfree(new_path); in get_real_path() 1877 zfree(new_path); in get_real_path()
|
D | probe-finder.h | 63 char **new_path);
|
/Linux-v4.19/fs/ocfs2/ |
D | ioctl.c | 853 const char __user *new_path; in ocfs2_ioctl() local 916 new_path = (const char __user *)(unsigned long)args.new_path; in ocfs2_ioctl() 919 return ocfs2_reflink_ioctl(inode, old_path, new_path, preserve); in ocfs2_ioctl() 989 compat_ptr(args.new_path), preserve); in ocfs2_compat_ioctl()
|
D | ocfs2_ioctl.h | 74 __u64 new_path; member
|
D | refcounttree.c | 4434 struct path old_path, new_path; in ocfs2_reflink_ioctl() local 4446 new_dentry = user_path_create(AT_FDCWD, newname, &new_path, 0); in ocfs2_reflink_ioctl() 4454 if (old_path.mnt != new_path.mnt) { in ocfs2_reflink_ioctl() 4460 d_inode(new_path.dentry), in ocfs2_reflink_ioctl() 4463 done_path_create(&new_path, new_dentry); in ocfs2_reflink_ioctl()
|
/Linux-v4.19/fs/proc/ |
D | proc_sysctl.c | 1501 char *new_path, *pos; in __register_sysctl_paths() local 1503 pos = new_path = kmalloc(PATH_MAX, GFP_KERNEL); in __register_sysctl_paths() 1504 if (!new_path) in __register_sysctl_paths() 1509 pos = append_path(new_path, pos, component->procname); in __register_sysctl_paths() 1514 pos = append_path(new_path, pos, table->procname); in __register_sysctl_paths() 1520 header = __register_sysctl_table(set, new_path, table); in __register_sysctl_paths() 1533 if (register_leaf_sysctl_tables(new_path, pos, &subheader, in __register_sysctl_paths() 1539 kfree(new_path); in __register_sysctl_paths()
|
/Linux-v4.19/security/tomoyo/ |
D | tomoyo.c | 433 static int tomoyo_sb_pivotroot(const struct path *old_path, const struct path *new_path) in tomoyo_sb_pivotroot() argument 435 return tomoyo_path2_perm(TOMOYO_TYPE_PIVOT_ROOT, new_path, old_path); in tomoyo_sb_pivotroot()
|
/Linux-v4.19/fs/ |
D | namei.c | 4269 struct path old_path, new_path; in do_linkat() local 4294 new_dentry = user_path_create(newdfd, newname, &new_path, in do_linkat() 4301 if (old_path.mnt != new_path.mnt) in do_linkat() 4306 error = security_path_link(old_path.dentry, &new_path, new_dentry); in do_linkat() 4309 error = vfs_link(old_path.dentry, new_path.dentry->d_inode, new_dentry, &delegated_inode); in do_linkat() 4311 done_path_create(&new_path, new_dentry); in do_linkat() 4521 struct path old_path, new_path; in do_renameat2() local 4553 &new_path, &new_last, &new_type); in do_renameat2() 4560 if (old_path.mnt != new_path.mnt) in do_renameat2() 4577 trap = lock_rename(new_path.dentry, old_path.dentry); in do_renameat2() [all …]
|
/Linux-v4.19/Documentation/filesystems/pohmelfs/ |
D | network_protocol.txt | 191 Attached data is formed into following string: "old_path|new_path".
|
/Linux-v4.19/include/linux/ |
D | security.h | 259 int security_sb_pivotroot(const struct path *old_path, const struct path *new_path); 597 const struct path *new_path) in security_sb_pivotroot() argument
|
D | lsm_hooks.h | 1472 int (*sb_pivotroot)(const struct path *old_path, const struct path *new_path);
|
/Linux-v4.19/fs/btrfs/ |
D | send.c | 3757 struct fs_path *new_path; in update_ref_path() local 3763 new_path = fs_path_alloc(); in update_ref_path() 3764 if (!new_path) in update_ref_path() 3767 ret = get_cur_path(sctx, ref->dir, ref->dir_gen, new_path); in update_ref_path() 3769 fs_path_free(new_path); in update_ref_path() 3772 ret = fs_path_add(new_path, ref->name, ref->name_len); in update_ref_path() 3774 fs_path_free(new_path); in update_ref_path() 3779 set_ref_path(ref, new_path); in update_ref_path()
|
/Linux-v4.19/security/ |
D | security.c | 413 int security_sb_pivotroot(const struct path *old_path, const struct path *new_path) in security_sb_pivotroot() argument 415 return call_int_hook(sb_pivotroot, 0, old_path, new_path); in security_sb_pivotroot()
|
/Linux-v4.19/drivers/scsi/ |
D | ipr.c | 1357 int new_path = 0; in ipr_update_res_entry() local 1379 new_path = 1; in ipr_update_res_entry() 1382 if (res->sdev && new_path) in ipr_update_res_entry()
|