/third_party/ltp/testcases/kernel/syscalls/renameat2/ |
H A D | renameat201.c | 25 * RENAME_EXCHANGE is used and newpath does not exist. 30 * RENAME_NOREPLACE and RENAME_EXCHANGE are used together 32 * RENAME_WHITEOUT and RENAME_EXCHANGE are used together 65 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_EXCHANGE, 0}, 66 {&olddirfd, TEST_FILE, &newdirfd, NON_EXIST, RENAME_EXCHANGE, ENOENT}, 69 | RENAME_EXCHANGE, EINVAL}, 71 | RENAME_EXCHANGE, EINVAL} 140 if ((test->flags & RENAME_EXCHANGE) && EINVAL == TEST_ERRNO in renameat2_verify() 143 "RENAME_EXCHANGE flag is not implemeted on %s", in renameat2_verify()
|
H A D | renameat202.c | 20 * Calls renameat2(2) with the flag RENAME_EXCHANGE and check that 68 newdirfd, TEST_FILE2, RENAME_EXCHANGE)); in main() 128 "RENAME_EXCHANGE flag is not implemeted on %s", in renameat2_verify()
|
/third_party/ltp/include/lapi/ |
H A D | fcntl.h | 145 #ifndef RENAME_EXCHANGE 146 # define RENAME_EXCHANGE (1 << 1) macro
|
/third_party/musl/libc-test/src/functional/ |
H A D | renameat2_test.c | 199 if (renameat2(oldFolder, g_oldName, newFolder, g_newName, RENAME_EXCHANGE) == -1) {
in RenameExchangeTest() 209 if (renameat2(AT_FDCWD, g_oldPath, AT_FDCWD, g_newPath, RENAME_EXCHANGE) == -1) {
in RenameExchangeTest() 259 t_error("%s renameat2 failed,flags: RENAME_EXCHANGE\n", __func__);
in main()
|
/third_party/musl/porting/linux/user/include/ |
H A D | stdio.h | 159 #define RENAME_EXCHANGE (1 << 1) macro
|
/third_party/musl/include/ |
H A D | stdio.h | 159 #define RENAME_EXCHANGE (1 << 1) macro
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
H A D | types.rs | 238 /// `RENAME_EXCHANGE` 239 const EXCHANGE = linux_raw_sys::general::RENAME_EXCHANGE;
|
/third_party/rust/crates/nix/src/ |
H A D | fcntl.rs | 245 RENAME_EXCHANGE;
|
/third_party/rust/crates/nix/test/ |
H A D | test_fcntl.rs | 158 RenameFlags::RENAME_EXCHANGE, in test_renameat2_exchange()
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | types.rs | 361 /// `RENAME_EXCHANGE` 362 const EXCHANGE = c::RENAME_EXCHANGE as _;
|
/third_party/libfuse/lib/ |
H A D | fuse.c | 45 #ifndef RENAME_EXCHANGE 46 #define RENAME_EXCHANGE (1 << 1) /* Exchange source and dest */ macro 3051 if (!f->conf.hard_remove && !(flags & RENAME_EXCHANGE) && in fuse_lib_rename() 3057 if (flags & RENAME_EXCHANGE) { in fuse_lib_rename()
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 1224 pub const RENAME_EXCHANGE: ::c_int = 2; consts
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 459 pub const RENAME_EXCHANGE: u32 = 2; consts
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 2338 pub const RENAME_EXCHANGE: ::c_int = 2; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 1789 pub const RENAME_EXCHANGE: ::c_uint = 2; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 464 pub const RENAME_EXCHANGE: u32 = 2; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 464 pub const RENAME_EXCHANGE: u32 = 2; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
H A D | general.rs | 471 pub const RENAME_EXCHANGE: u32 = 2; consts
|
/third_party/rust/crates/linux-raw-sys/src/mips64/ |
H A D | general.rs | 468 pub const RENAME_EXCHANGE: u32 = 2; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc/ |
H A D | general.rs | 471 pub const RENAME_EXCHANGE: u32 = 2; consts
|
/third_party/rust/crates/linux-raw-sys/src/mips/ |
H A D | general.rs | 468 pub const RENAME_EXCHANGE: u32 = 2; consts
|
/third_party/rust/crates/linux-raw-sys/src/arm/ |
H A D | general.rs | 458 pub const RENAME_EXCHANGE: u32 = 2; consts
|
/third_party/rust/crates/linux-raw-sys/src/sparc/ |
H A D | general.rs | 463 pub const RENAME_EXCHANGE: u32 = 2; consts
|
/third_party/rust/crates/linux-raw-sys/src/s390x/ |
H A D | general.rs | 459 pub const RENAME_EXCHANGE: u32 = 2; consts
|
/third_party/rust/crates/linux-raw-sys/src/sparc64/ |
H A D | general.rs | 463 pub const RENAME_EXCHANGE: u32 = 2; consts
|