Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/Documentation/filesystems/
Ddirectory-locking.rst25 4) rename() that is _not_ cross-directory. Locking rules: caller locks
43 6) cross-directory rename. The trickiest in the whole bunch. Locking
74 (1) if object removal or non-cross-directory rename holds lock on A and
76 acquire the lock on B. (Proof: only cross-directory rename can change
79 (2) if cross-directory rename holds the lock on filesystem, order will not
80 change until rename acquires all locks. (Proof: other cross-directory
104 Any contended object is either held by cross-directory rename or
106 operation other than cross-directory rename. Then the lock this operation
109 It means that one of the operations is cross-directory rename.
112 own descendent. Moreover, there is exactly one cross-directory rename
[all …]
/linux-6.1.9/tools/testing/selftests/landlock/
Dfs_test.c1838 if (rename(oldpath, newpath)) in test_rename()
1877 ASSERT_EQ(-1, rename(file1_s2d3, file1_s1d3)); in TEST_F_FORK()
1890 ASSERT_EQ(-1, rename(file1_s2d1, file1_s1d3)); in TEST_F_FORK()
1904 ASSERT_EQ(-1, rename(dir_s2d2, file1_s2d1)); in TEST_F_FORK()
1910 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK()
1914 ASSERT_EQ(-1, rename(file1_s2d2, file1_s1d2)); in TEST_F_FORK()
1917 ASSERT_EQ(-1, rename(file1_s2d1, file1_s1d3)); in TEST_F_FORK()
1923 ASSERT_EQ(0, rename(file2_s2d3, file1_s2d3)); in TEST_F_FORK()
1961 ASSERT_EQ(-1, rename(dir_s2d3, dir_s1d3)); in TEST_F_FORK()
1975 ASSERT_EQ(-1, rename(dir_s1d2, file1_s1d1)); in TEST_F_FORK()
[all …]
/linux-6.1.9/fs/orangefs/
Dnamei.c405 new_op->upcall.req.rename.old_parent_refn = ORANGEFS_I(old_dir)->refn; in orangefs_rename()
406 new_op->upcall.req.rename.new_parent_refn = ORANGEFS_I(new_dir)->refn; in orangefs_rename()
408 strncpy(new_op->upcall.req.rename.d_old_name, in orangefs_rename()
411 strncpy(new_op->upcall.req.rename.d_new_name, in orangefs_rename()
440 .rename = orangefs_rename,
/linux-6.1.9/drivers/firmware/efi/libstub/
DMakefile110 STUBCOPY_FLAGS-$(CONFIG_X86) += --rename-section .bss=.bss.efistub,load,alloc
119 STUBCOPY_FLAGS-$(CONFIG_ARM) += --rename-section .data=.data.efistub \
120 --rename-section .bss=.bss.efistub,load,alloc
DMakefile.zboot27 --rename-section .data=.gzdata,load,alloc,readonly,contents
/linux-6.1.9/arch/s390/boot/
DMakefile90 OBJCOPYFLAGS_syms.o := -I binary -O elf64-s390 -B s390:64-bit --rename-section .data=.decompressor.…
98 OBJCOPYFLAGS_info.o := -I binary -O elf64-s390 -B s390:64-bit --rename-section .data=.vmlinux.info
129 OBJCOPYFLAGS_piggy.o := -I binary -O elf64-s390 -B s390:64-bit --rename-section .data=.vmlinux.bin.…
/linux-6.1.9/tools/perf/trace/strace/groups/
Dfile14 rename
Dstring49 rename
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_raw_tp_test_run.c12 int BPF_PROG(rename, struct task_struct *task, char *comm) in BPF_PROG() argument
/linux-6.1.9/tools/testing/selftests/bpf/benchs/
Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
/linux-6.1.9/fs/afs/
Ddir.c70 .rename = afs_rename,
1828 if (op->rename.rehash) { in afs_rename_edit_dir()
1829 d_rehash(op->rename.rehash); in afs_rename_edit_dir()
1830 op->rename.rehash = NULL; in afs_rename_edit_dir()
1846 if (!op->rename.new_negative) in afs_rename_edit_dir()
1881 if (op->rename.rehash) in afs_rename_put()
1882 d_rehash(op->rename.rehash); in afs_rename_put()
1883 dput(op->rename.tmp); in afs_rename_put()
1944 op->rename.new_negative = d_is_negative(new_dentry); in afs_rename()
1958 op->rename.rehash = new_dentry; in afs_rename()
[all …]
/linux-6.1.9/security/tomoyo/
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.1.9/tools/testing/selftests/exec/
Dexecveat.c280 rename("execveat.ephemeral", "execveat.moved"); in run_tests()
338 rename("script.ephemeral", "script.moved"); in run_tests()
345 rename("subdir.ephemeral", "subdir.moved"); in run_tests()
/linux-6.1.9/security/apparmor/
Dpolicy.c220 kfree_sensitive(profile->rename); in aa_free_profile()
982 if (ent->new->rename) { in aa_replace_profiles()
983 error = __lookup_replace(ns, ent->new->rename, in aa_replace_profiles()
985 &ent->rename, &info); in aa_replace_profiles()
993 if (ent->old || ent->rename) in aa_replace_profiles()
1047 op = (!ent->old && !ent->rename) ? OP_PROF_LOAD : OP_PROF_REPL; in aa_replace_profiles()
/linux-6.1.9/drivers/staging/vt6655/
DTODO4 - rename DEVICE_PRT() to DBG_PRT() -- done
/linux-6.1.9/drivers/misc/lkdtm/
DMakefile26 --rename-section .noinstr.text=.rodata,alloc,readonly,load,contents
/linux-6.1.9/security/apparmor/include/
Dpolicy_unpack.h23 struct aa_profile *rename; member
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Draw_tp_test_run.c45 prog_fd = bpf_program__fd(skel->progs.rename); in test_raw_tp_test_run()
/linux-6.1.9/arch/um/os-Linux/
Duser_syms.c79 EXPORT_SYMBOL_PROTO(rename);
/linux-6.1.9/scripts/kconfig/
Dconfdata.c998 rename(name, oldname); in conf_write()
999 if (rename(tmpname, name)) in conf_write()
1051 if (rename(tmp, name)) { in conf_write_autoconf_cmd()
1171 if (rename(tmp, filename)) { in __conf_write_autoconf()
/linux-6.1.9/Documentation/process/
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.1.9/fs/affs/
Ddir.c40 .rename = affs_rename2,
/linux-6.1.9/fs/nfsd/
Dxdr.h135 struct nfsd_renameargs rename; member
/linux-6.1.9/drivers/staging/qlge/
DTODO13 * rename "rx" queues to "completion" queues. Calling tx completion queues "rx
/linux-6.1.9/fs/
Dbad_inode.c173 .rename = bad_inode_rename2,

1234567