| /linux/tools/testing/selftests/landlock/ |
| H A D | fs_test.c | 2141 if (rename(oldpath, newpath)) in TEST_F_FORK() 2191 ASSERT_EQ(-1, rename(file1_s2d3, file1_s1d3)); in TEST_F_FORK() 2204 ASSERT_EQ(-1, rename(file1_s2d1, file1_s1d3)); in TEST_F_FORK() 2218 ASSERT_EQ(-1, rename(dir_s2d2, file1_s2d1)); in TEST_F_FORK() 2224 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK() 2228 ASSERT_EQ(-1, rename(file1_s2d2, file1_s1d2)); in TEST_F_FORK() 2231 ASSERT_EQ(-1, rename(file1_s2d1, file1_s1d3)); in TEST_F_FORK() 2237 ASSERT_EQ(0, rename(file2_s2d3, file1_s2d3)); in TEST_F_FORK() 2256 * Try to rename a file with RENAME_WHITEOUT. in TEST_F_FORK() 2395 * directory of the rename in TEST_F_FORK() [all...] |
| /linux/Documentation/filesystems/ |
| H A D | directory-locking.rst | 40 5. rename that is _not_ cross-directory. Locking rules: 53 6. cross-directory rename. The trickiest in the whole bunch. Locking rules: 188 child), same-directory rename killing a subdirectory (ditto) and 189 cross-directory rename of some sort. 191 There must be a cross-directory rename in the set; indeed, 200 more than one cross-directory rename among them. Without loss of 202 rename and everything else is of the "lock parent, then child" sort. 204 In other words, we have a cross-directory rename that locked 208 cross-directory rename does not get to locking any directories until it 214 cross-directory rename; parents first, then possibly their children. [all …]
|
| H A D | locking.rst | 72 int (*rename) (const struct mnt_idmap *, struct inode *, struct dentry *, 111 rename: exclusive (both parents, some children) (see below) 131 Additionally, ->rmdir(), ->unlink() and ->rename() have ->i_rwsem 133 cross-directory ->rename() has (per-superblock) ->s_vfs_rename_sem. 134 ->unlink() and ->rename() have ->i_rwsem exclusive on all non-directories 136 ->rename() has ->i_rwsem exclusive on any subdirectory that changes parent.
|
| /linux/fs/orangefs/ |
| H A D | namei.c | 394 new_op->upcall.req.rename.old_parent_refn = ORANGEFS_I(old_dir)->refn; in orangefs_rename() 395 new_op->upcall.req.rename.new_parent_refn = ORANGEFS_I(new_dir)->refn; in orangefs_rename() 397 strscpy(new_op->upcall.req.rename.d_old_name, old_dentry->d_name.name); in orangefs_rename() 398 strscpy(new_op->upcall.req.rename.d_new_name, new_dentry->d_name.name); in orangefs_rename() 425 .rename = orangefs_rename,
|
| H A D | upcall.h | 241 struct orangefs_rename_request_s rename; member
|
| /linux/fs/afs/ |
| H A D | dir.c | 68 .rename = afs_rename, 1873 if ((op->rename.rename_flags & RENAME_EXCHANGE) && in afs_rename_success() 1902 if (op->rename.rehash) { in afs_rename_edit_dir() 1903 d_rehash(op->rename.rehash); in afs_rename_edit_dir() 1904 op->rename.rehash = NULL; in afs_rename_edit_dir() 1924 if (!op->rename.new_negative) in afs_rename_edit_dir() 2026 if (op->rename.rehash) in afs_rename_put() 2027 d_rehash(op->rename.rehash); in afs_rename_put() 2028 dput(op->rename.tmp); in afs_rename_put() 2131 op->rename.rename_flags = flags; in afs_rename() [all …]
|
| /linux/tools/perf/trace/strace/groups/ |
| H A D | file | 14 rename
|
| H A D | string | 49 rename
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_raw_tp_test_run.c | 12 int BPF_PROG(rename, struct task_struct *task, char *comm) in BPF_PROG() argument
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | run_bench_rename.sh | 7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
|
| /linux/security/tomoyo/ |
| H A D | realpath.c | 186 if (!inode->i_op->rename) in tomoyo_get_local_path() 265 if ((!inode->i_op->rename && in tomoyo_realpath_from_path()
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | coredump_notify_signal_helper.c | 36 if (rename(NOTIFY_SIGNAL_CORE_TMPFILE, NOTIFY_SIGNAL_CORE_FILE)) { in main()
|
| /linux/tools/testing/selftests/exec/ |
| H A D | execveat.c | 321 rename("execveat.ephemeral", "execveat.moved"); in run_tests() 379 rename("script.ephemeral", "script.moved"); in run_tests() 386 rename("subdir.ephemeral", "subdir.moved"); in run_tests()
|
| /linux/security/apparmor/ |
| H A D | policy.c | 339 kfree_sensitive(profile->rename); in aa_free_profile() 1277 if (ent->new->rename) { in aa_replace_profiles() 1278 error = __lookup_replace(ns, ent->new->rename, in aa_replace_profiles() 1280 &ent->rename, &info); in aa_replace_profiles() 1288 if (ent->old || ent->rename) in aa_replace_profiles() 1360 op = (!ent->old && !ent->rename) ? OP_PROF_LOAD : OP_PROF_REPL; in aa_replace_profiles()
|
| /linux/scripts/kconfig/ |
| H A D | confdata.c | 1011 rename(name, oldname); in conf_write() 1012 if (rename(tmpname, name)) in conf_write() 1057 if (rename(tmp, name)) { in conf_write_autoconf_cmd() 1058 perror("rename"); 1175 if (rename(tmp, filename)) { in __conf_write_autoconf() 1176 perror("rename");
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | raw_tp_test_run.c | 45 prog_fd = bpf_program__fd(skel->progs.rename); in test_raw_tp_test_run()
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | Makefile.zboot | 31 --rename-section .data=.gzdata,load,alloc,readonly,contents
|
| /linux/Documentation/process/ |
| H A D | applying-patches.rst | 289 $ mv linux-5.6 linux-5.7 # rename source dir 298 $ mv linux-5.6.1 linux-5.7 # rename source dir 335 $ mv linux-5.7.2 linux-5.7.3 # rename the kernel source dir 349 $ mv linux-5.7.2 linux-5.7.3 # rename the kernel source dir 384 $ mv linux-5.7 linux-5.8-rc3 # rename the source dir 392 $ mv linux-5.8-rc3 linux-5.8-rc5 # rename the source dir 400 $ mv linux-5.7.3 linux-5.8-rc5 # rename the kernel source dir
|
| /linux/security/apparmor/include/ |
| H A D | policy_unpack.h | 25 struct aa_profile *rename; member
|
| /linux/tools/perf/util/ |
| H A D | data.c | 243 if (rename(data->path, oldname)) { in open_file_read() 471 if (rename(data->path, *new_filepath)) in has_kcore_dir() 472 pr_warning("Failed to rename %s to %s\n", data->path, *new_filepath); in has_kcore_dir()
|
| /linux/fs/nfsd/ |
| H A D | xdr.h | 136 struct nfsd_renameargs rename; global() member
|
| /linux/tools/verification/rvgen/rvgen/ |
| H A D | kunit.py | 176 path.rename(path.with_suffix(path.suffix + ".old"))
|
| /linux/fs/ |
| H A D | bad_inode.c | 173 .rename = bad_inode_rename2,
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | sm8450-sony-xperia-nagara-pdx224.dts | 156 "NC", /* SONY didn't rename this, but there's no ToF so it's likely NC */
|
| /linux/fs/smb/smbdirect/ |
| H A D | devices.c | 167 .rename = smbdirect_ib_client_rename,
|