Home
last modified time | relevance | path

Searched refs:RENAME_EXCHANGE (Results 1 - 25 of 28) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/renameat2/
H A Drenameat201.c25 * 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 Drenameat202.c20 * 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 Dfcntl.h145 #ifndef RENAME_EXCHANGE
146 # define RENAME_EXCHANGE (1 << 1) macro
/third_party/musl/libc-test/src/functional/
H A Drenameat2_test.c199 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 Dstdio.h159 #define RENAME_EXCHANGE (1 << 1) macro
/third_party/musl/include/
H A Dstdio.h159 #define RENAME_EXCHANGE (1 << 1) macro
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dtypes.rs238 /// `RENAME_EXCHANGE`
239 const EXCHANGE = linux_raw_sys::general::RENAME_EXCHANGE;
/third_party/rust/crates/nix/src/
H A Dfcntl.rs245 RENAME_EXCHANGE;
/third_party/rust/crates/nix/test/
H A Dtest_fcntl.rs158 RenameFlags::RENAME_EXCHANGE, in test_renameat2_exchange()
/third_party/rust/crates/rustix/src/backend/libc/fs/
H A Dtypes.rs361 /// `RENAME_EXCHANGE`
362 const EXCHANGE = c::RENAME_EXCHANGE as _;
/third_party/libfuse/lib/
H A Dfuse.c45 #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 Dmod.rs1224 pub const RENAME_EXCHANGE: ::c_int = 2; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs459 pub const RENAME_EXCHANGE: u32 = 2; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs2338 pub const RENAME_EXCHANGE: ::c_int = 2; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs1789 pub const RENAME_EXCHANGE: ::c_uint = 2; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs464 pub const RENAME_EXCHANGE: u32 = 2; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs464 pub const RENAME_EXCHANGE: u32 = 2; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs471 pub const RENAME_EXCHANGE: u32 = 2; consts
/third_party/rust/crates/linux-raw-sys/src/mips64/
H A Dgeneral.rs468 pub const RENAME_EXCHANGE: u32 = 2; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc/
H A Dgeneral.rs471 pub const RENAME_EXCHANGE: u32 = 2; consts
/third_party/rust/crates/linux-raw-sys/src/mips/
H A Dgeneral.rs468 pub const RENAME_EXCHANGE: u32 = 2; consts
/third_party/rust/crates/linux-raw-sys/src/arm/
H A Dgeneral.rs458 pub const RENAME_EXCHANGE: u32 = 2; consts
/third_party/rust/crates/linux-raw-sys/src/sparc/
H A Dgeneral.rs463 pub const RENAME_EXCHANGE: u32 = 2; consts
/third_party/rust/crates/linux-raw-sys/src/s390x/
H A Dgeneral.rs459 pub const RENAME_EXCHANGE: u32 = 2; consts
/third_party/rust/crates/linux-raw-sys/src/sparc64/
H A Dgeneral.rs463 pub const RENAME_EXCHANGE: u32 = 2; consts

Completed in 183 milliseconds

12