Searched refs:RENAME_EXCHANGE (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | renameat2.c | 58 #ifndef RENAME_EXCHANGE 59 #define RENAME_EXCHANGE (1 << 1) /* Exchange source and dest */ macro 85 int err = sys_renameat2(AT_FDCWD, ".", AT_FDCWD, ".", RENAME_EXCHANGE); in check() 108 flags |= RENAME_EXCHANGE; in main()
|
/freebsd/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
H A D | vfs_compat.h | 155 #ifndef RENAME_EXCHANGE 156 #define RENAME_EXCHANGE (1 << 1) /* Exchange source and dest */ macro
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_vnops_os.c | 2776 if (rflags & ~(RENAME_NOREPLACE | RENAME_EXCHANGE | RENAME_WHITEOUT)) in zfs_rename() 2780 if (rflags & RENAME_EXCHANGE && in zfs_rename() 2992 if (!(rflags & RENAME_EXCHANGE)) { in zfs_rename() 3010 } else if (rflags & RENAME_EXCHANGE) { in zfs_rename() 3046 (rflags & RENAME_EXCHANGE) ? TRUE : FALSE, snm); in zfs_rename() 3121 if (rflags & RENAME_EXCHANGE) { in zfs_rename() 3155 switch (rflags & (RENAME_EXCHANGE | RENAME_WHITEOUT)) { in zfs_rename() 3156 case RENAME_EXCHANGE: in zfs_rename() 3181 switch (rflags & (RENAME_EXCHANGE | RENAME_WHITEOUT)) { in zfs_rename() 3182 case RENAME_EXCHANGE: in zfs_rename()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_replay.c | 688 VERIFY0(rflags & ~(RENAME_EXCHANGE | RENAME_WHITEOUT)); in do_zfs_replay_rename() 754 return (do_zfs_replay_rename(zfsvfs, lr, sname, tname, RENAME_EXCHANGE, in zfs_replay_rename_exchange()
|