/linux-master/tools/testing/selftests/filesystems/fat/ |
H A D | run_fat_tests.sh | 45 local new_path="${MNT_PATH}/new_file" 48 echo new | sudo tee "${new_path}" >/dev/null 2>&1 49 sudo "${rename_exchange}" "${old_path}" "${new_path}" >/dev/null 2>&1 52 grep old "${new_path}" >/dev/null 2>&1 60 local new_path="${dir_path}/new_file" 64 echo new | sudo tee "${new_path}" >/dev/null 2>&1 65 sudo "${rename_exchange}" "${old_path}" "${new_path}" >/dev/null 2>&1 68 grep old "${new_path}" >/dev/null 2>&1
|
/linux-master/tools/perf/util/ |
H A D | debuginfo.h | 54 char **new_path); 58 char **new_path __maybe_unused)
|
H A D | debuginfo.c | 181 const char *sbuild_id, char **new_path) 191 0, p, new_path); 201 pr_debug("Got a source %s\n", *new_path); 180 get_source_from_debuginfod(const char *raw_path, const char *sbuild_id, char **new_path) argument
|
H A D | probe-finder.h | 48 const char *comp_dir, char **new_path);
|
H A D | probe-finder.c | 1863 const char *comp_dir, char **new_path) 1868 if (!get_source_from_debuginfod(raw_path, sbuild_id, new_path)) 1878 *new_path = strdup(raw_path); 1879 return *new_path ? 0 : -ENOMEM; 1885 *new_path = malloc((strlen(prefix) + strlen(raw_path) + 2)); 1886 if (!*new_path) 1890 sprintf(*new_path, "%s/%s", prefix, raw_path); 1892 if (access(*new_path, R_OK) == 0) 1897 zfree(new_path); 1908 zfree(new_path); 1862 find_source_path(const char *raw_path, const char *sbuild_id, const char *comp_dir, char **new_path) argument [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | nsnames.c | 414 char *new_path; local 420 new_path = new_path_buffer; 428 *new_path = *input_path; 429 new_path++; 434 *new_path = *input_path; 435 new_path++; 447 *new_path = *input_path; 448 new_path++; 457 *new_path = *input_path; 458 new_path [all...] |
/linux-master/tools/lib/subcmd/ |
H A D | exec-cmd.c | 151 char *new_path = NULL; local 154 add_path(&new_path, tmp); 155 add_path(&new_path, argv0_path); 159 astrcat(&new_path, old_path); 161 astrcat(&new_path, "/usr/local/bin:/usr/bin:/bin"); 163 setenv("PATH", new_path, 1); 165 free(new_path);
|
/linux-master/arch/um/os-Linux/ |
H A D | main.c | 76 char *new_path = NULL; local 93 new_path = malloc(path_len); 94 if (!new_path) { 98 snprintf(new_path, path_len, "PATH=%s" UML_LIB_PATH, old_path); 99 if (putenv(new_path)) { 101 free(new_path);
|
/linux-master/fs/ |
H A D | init.c | 168 struct path old_path, new_path; local 176 new_dentry = kern_path_create(AT_FDCWD, newname, &new_path, 0); 182 if (old_path.mnt != new_path.mnt) 184 idmap = mnt_idmap(new_path.mnt); 188 error = security_path_link(old_path.dentry, &new_path, new_dentry); 191 error = vfs_link(old_path.dentry, idmap, new_path.dentry->d_inode, 194 done_path_create(&new_path, new_dentry);
|
H A D | namei.c | 4634 struct path old_path, new_path; local 4660 new_dentry = filename_create(newdfd, new, &new_path, 4667 if (old_path.mnt != new_path.mnt) 4669 idmap = mnt_idmap(new_path.mnt); 4673 error = security_path_link(old_path.dentry, &new_path, new_dentry); 4676 error = vfs_link(old_path.dentry, idmap, new_path.dentry->d_inode, 4679 done_path_create(&new_path, new_dentry); 4925 struct path old_path, new_path; local 4949 error = filename_parentat(newdfd, to, lookup_flags, &new_path, &new_last, 4955 if (old_path.mnt != new_path [all...] |
H A D | namespace.c | 3115 static int do_move_mount(struct path *old_path, struct path *new_path, argument 3127 mp = do_lock_mount(new_path, beneath); 3132 p = real_mount(new_path->mnt); 3159 if (d_is_dir(new_path->dentry) != 3169 err = can_move_mount_beneath(old_path, new_path, mp); 3191 err = attach_recursive_mnt(old, real_mount(new_path->mnt), mp, flags);
|
/linux-master/security/apparmor/include/ |
H A D | mount.h | 58 const struct path *new_path);
|
/linux-master/fs/vboxsf/ |
H A D | dir.c | 402 struct shfl_string *old_path, *new_path; local 412 new_path = vboxsf_path_from_dentry(sbi, new_dentry); 413 if (IS_ERR(new_path)) { 414 err = PTR_ERR(new_path); 421 err = vboxsf_rename(sbi->root, old_path, new_path, shfl_flags); 428 __putname(new_path);
|
H A D | vboxsf_wrappers.c | 340 int vboxsf_symlink(u32 root, struct shfl_string *new_path, argument 348 parms.new_path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL_IN; 349 parms.new_path.u.pointer.size = shfl_string_buf_size(new_path); 350 parms.new_path.u.pointer.u.linear_addr = (uintptr_t)new_path;
|
H A D | vfsmod.h | 140 int vboxsf_symlink(u32 root, struct shfl_string *new_path,
|
H A D | shfl_hostintf.h | 883 struct vmmdev_hgcm_function_parameter new_path; member in struct:shfl_symlink
|
/linux-master/tools/perf/ |
H A D | builtin-help.c | 332 char *new_path; local 339 if (asprintf(&new_path, "%s:%s", system_path(PERF_MAN_PATH), old_path ?: "") > 0) { 340 setenv("MANPATH", new_path, 1); 341 free(new_path);
|
/linux-master/security/apparmor/ |
H A D | mount.c | 664 const struct path *new_path, 678 AA_BUG(!new_path); 690 error = aa_path_name(new_path, path_flags(profile, new_path), 720 const struct path *new_path) 729 AA_BUG(!new_path); 737 build_pivotroot(subj_cred, profile, new_path, 662 build_pivotroot(const struct cred *subj_cred, struct aa_profile *profile, const struct path *new_path, char *new_buffer, const struct path *old_path, char *old_buffer) argument 718 aa_pivotroot(const struct cred *subj_cred, struct aa_label *label, const struct path *old_path, const struct path *new_path) argument
|
H A D | lsm.c | 399 struct path new_path = { .mnt = new_dir->mnt, local 415 label, &new_path, 0, 434 label, &new_path, 768 const struct path *new_path) 775 error = aa_pivotroot(current_cred(), label, old_path, new_path); 767 apparmor_sb_pivotroot(const struct path *old_path, const struct path *new_path) argument
|
/linux-master/fs/ocfs2/ |
H A D | ocfs2_ioctl.h | 56 __u64 new_path; member in struct:reflink_arguments
|
H A D | ioctl.c | 898 const char __user *new_path; local 904 new_path = (const char __user *)(unsigned long)args.new_path; 907 return ocfs2_reflink_ioctl(inode, old_path, new_path, preserve); 975 compat_ptr(args.new_path), preserve);
|
/linux-master/security/tomoyo/ |
H A D | tomoyo.c | 437 * @new_path: Pointer to "struct path". 441 static int tomoyo_sb_pivotroot(const struct path *old_path, const struct path *new_path) argument 443 return tomoyo_path2_perm(TOMOYO_TYPE_PIVOT_ROOT, new_path, old_path);
|
/linux-master/fs/smb/server/ |
H A D | vfs.c | 688 struct path new_path; local 708 &new_path, &new_last, &new_type, 713 if (old_path->mnt != new_path.mnt) { 722 trap = lock_rename_child(old_child, new_path.dentry); 745 new_dentry = lookup_one_qstr_excl(&new_last, new_path.dentry, 780 rd.new_mnt_idmap = mnt_idmap(new_path.mnt), 781 rd.new_dir = new_path.dentry->d_inode, 793 unlock_rename(old_parent, new_path.dentry); 797 path_put(&new_path);
|
/linux-master/fs/exfat/ |
H A D | namei.c | 1113 const unsigned char *new_path = new_dentry->d_name.name; local 1121 if (new_path == NULL || strlen(new_path) == 0) 1170 ret = exfat_resolve_path(new_parent_inode, new_path, &newdir,
|
/linux-master/fs/bcachefs/ |
H A D | btree_update_interior.c | 1946 btree_path_idx_t sib_path = 0, new_path = 0; local 2075 new_path = get_unlocked_mut_path(trans, btree, n->c.level, n->key.k.p); 2077 mark_btree_node_locked(trans, trans->paths + new_path, n->c.level, BTREE_NODE_INTENT_LOCKED); 2078 bch2_btree_path_level_init(trans, trans->paths + new_path, n); 2110 if (new_path) 2111 bch2_path_put(trans, new_path, true); 2133 btree_path_idx_t new_path = 0; local 2153 new_path = get_unlocked_mut_path(trans, iter->btree_id, n->c.level, n->key.k.p); 2155 mark_btree_node_locked(trans, trans->paths + new_path, n->c.level, BTREE_NODE_INTENT_LOCKED); 2156 bch2_btree_path_level_init(trans, trans->paths + new_path, [all...] |