Home
last modified time | relevance | path

Searched refs:rename (Results 1 – 25 of 165) sorted by relevance

1234567

/linux-6.15/tools/testing/selftests/landlock/
H A Dfs_test.c2218 if (rename(oldpath, newpath)) in test_rename()
2341 ASSERT_EQ(-1, rename(dir_s2d3, dir_s1d3)); in TEST_F_FORK()
2372 ASSERT_EQ(0, rename(file1_s1d2, dir_s1d3)); in TEST_F_FORK()
2396 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d1)); in TEST_F_FORK()
2398 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d2)); in TEST_F_FORK()
2400 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d3)); in TEST_F_FORK()
2403 ASSERT_EQ(-1, rename(dir_s1d3, dir_s2d1)); in TEST_F_FORK()
2405 ASSERT_EQ(-1, rename(dir_s1d3, dir_s2d2)); in TEST_F_FORK()
2411 ASSERT_EQ(-1, rename(dir_s1d3, dir_s2d3)); in TEST_F_FORK()
2415 ASSERT_EQ(0, rename(dir_s1d3, dir_s2d3)); in TEST_F_FORK()
[all …]
/linux-6.15/Documentation/filesystems/
H A Ddirectory-locking.rst40 5. rename that is _not_ cross-directory. 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.
240 rename is crucial - without it a deadlock would be possible. Indeed,
[all …]
/linux-6.15/fs/orangefs/
H A Dnamei.c399 new_op->upcall.req.rename.old_parent_refn = ORANGEFS_I(old_dir)->refn; in orangefs_rename()
400 new_op->upcall.req.rename.new_parent_refn = ORANGEFS_I(new_dir)->refn; in orangefs_rename()
402 strscpy(new_op->upcall.req.rename.d_old_name, old_dentry->d_name.name); in orangefs_rename()
403 strscpy(new_op->upcall.req.rename.d_new_name, new_dentry->d_name.name); in orangefs_rename()
430 .rename = orangefs_rename,
H A Dupcall.h241 struct orangefs_rename_request_s rename; member
/linux-6.15/arch/s390/boot/
H A DMakefile84 OBJCOPYFLAGS_syms.o := -I binary -O elf64-s390 -B s390:64-bit --rename-section .data=.decompressor.…
92 OBJCOPYFLAGS_info.o := -I binary -O elf64-s390 -B s390:64-bit --rename-section .data=.vmlinux.info
127 OBJCOPYFLAGS_piggy.o := -I binary -O elf64-s390 -B s390:64-bit --rename-section .data=.vmlinux.bin.…
/linux-6.15/tools/perf/trace/strace/groups/
H A Dfile14 rename
H A Dstring49 rename
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dtest_raw_tp_test_run.c12 int BPF_PROG(rename, struct task_struct *task, char *comm) in BPF_PROG() argument
/linux-6.15/tools/testing/selftests/bpf/benchs/
H A Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
/linux-6.15/fs/afs/
H A Ddir.c64 .rename = afs_rename,
1870 if (op->rename.rehash) { in afs_rename_edit_dir()
1871 d_rehash(op->rename.rehash); in afs_rename_edit_dir()
1872 op->rename.rehash = NULL; in afs_rename_edit_dir()
1892 if (!op->rename.new_negative) in afs_rename_edit_dir()
1936 if (op->rename.rehash) in afs_rename_put()
1937 d_rehash(op->rename.rehash); in afs_rename_put()
1938 dput(op->rename.tmp); in afs_rename_put()
2024 if (!op->rename.tmp) { in afs_rename()
2037 op->dentry_2 = op->rename.tmp; in afs_rename()
[all …]
/linux-6.15/security/tomoyo/
H A Drealpath.c186 if (!inode->i_op->rename) in tomoyo_get_local_path()
265 if ((!inode->i_op->rename && in tomoyo_realpath_from_path()
/linux-6.15/drivers/misc/lkdtm/
H A DMakefile22 --rename-section .noinstr.text=.rodata,alloc,readonly,load,contents
/linux-6.15/drivers/firmware/efi/libstub/
H A DMakefile122 STUBCOPY_FLAGS-$(CONFIG_ARM) += --rename-section .data=.data.efistub \
123 --rename-section .bss=.bss.efistub,load,alloc
H A DMakefile.zboot31 --rename-section .data=.gzdata,load,alloc,readonly,contents
/linux-6.15/tools/testing/selftests/exec/
H A Dexecveat.c321 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-6.15/security/apparmor/
H A Dpolicy.c293 kfree_sensitive(profile->rename); in aa_free_profile()
1138 if (ent->new->rename) { in aa_replace_profiles()
1139 error = __lookup_replace(ns, ent->new->rename, in aa_replace_profiles()
1141 &ent->rename, &info); in aa_replace_profiles()
1149 if (ent->old || ent->rename) in aa_replace_profiles()
1220 op = (!ent->old && !ent->rename) ? OP_PROF_LOAD : OP_PROF_REPL; in aa_replace_profiles()
/linux-6.15/scripts/kconfig/
H A Dconfdata.c907 rename(name, oldname); in conf_write()
908 if (rename(tmpname, name)) in conf_write()
953 if (rename(tmp, name)) { in conf_write_autoconf_cmd()
1071 if (rename(tmp, filename)) { in __conf_write_autoconf()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Draw_tp_test_run.c45 prog_fd = bpf_program__fd(skel->progs.rename); in test_raw_tp_test_run()
/linux-6.15/security/apparmor/include/
H A Dpolicy_unpack.h24 struct aa_profile *rename; member
/linux-6.15/Documentation/process/
H A Dapplying-patches.rst289 $ 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-6.15/tools/perf/tests/shell/
H A Dtest_task_analyzer.sh82 perf script report task-analyzer --ns --rename-comms-by-tids 0:random > "$out"
/linux-6.15/fs/affs/
H A Ddir.c71 .rename = affs_rename2,
/linux-6.15/fs/nfsd/
H A Dxdr.h135 struct nfsd_renameargs rename; member
/linux-6.15/fs/unicode/
H A DREADME.utf8data51 of utf8data.c_shipped, rename it to utf8data.c_shipped.
/linux-6.15/fs/
H A Dbad_inode.c172 .rename = bad_inode_rename2,

1234567