Home
last modified time | relevance | path

Searched refs:OPEN_TREE_CLONE (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c164 #ifndef OPEN_TREE_CLONE
165 #define OPEN_TREE_CLONE 1 macro
1337 OPEN_TREE_CLONE); in TEST_F()
1367 OPEN_TREE_CLONE); in TEST_F()
1767 OPEN_TREE_CLONE); in TEST_F()
1911 OPEN_TREE_CLONE); in TEST_F()
1946 OPEN_TREE_CLONE); in TEST_F()
1955 OPEN_TREE_CLONE); in TEST_F()
2026 OPEN_TREE_CLONE); in TEST_F()
2070 OPEN_TREE_CLONE); in TEST_F()
[all …]
/linux-6.15/tools/testing/selftests/pidfd/
H A Dpidfd_bind_mount.c75 #ifndef OPEN_TREE_CLONE
76 #define OPEN_TREE_CLONE 1 macro
133 fd_tree = sys_open_tree(self->pidfd, "", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC | AT_EMPTY_PATH); in TEST_F()
169 fd_tree = sys_open_tree(self->pidfd, "", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC | AT_EMPTY_PATH); in TEST_F()
/linux-6.15/tools/testing/selftests/filesystems/overlayfs/
H A Dwrappers.h47 #ifndef OPEN_TREE_CLONE
48 #define OPEN_TREE_CLONE 1 macro
H A Dset_layers_via_fds.c627 fd_tmp = open_tree(fd_tmpfs, "u", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
636 layer_fds[2] = open_tree(fd_tmpfs, "l1", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
639 layer_fds[3] = open_tree(fd_tmpfs, "l2", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
642 layer_fds[4] = open_tree(fd_tmpfs, "l3", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
645 layer_fds[5] = open_tree(fd_tmpfs, "l4", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
648 layer_fds[6] = open_tree(fd_tmpfs, "d1", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
651 layer_fds[7] = open_tree(fd_tmpfs, "d2", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
654 layer_fds[8] = open_tree(fd_tmpfs, "d3", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
/linux-6.15/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h64 #define OPEN_TREE_CLONE 1 /* Clone the target tree and attach the clone */ macro
/linux-6.15/include/uapi/linux/
H A Dmount.h64 #define OPEN_TREE_CLONE 1 /* Clone the target tree and attach the clone */ macro
/linux-6.15/fs/
H A Dnamespace.c3159 bool detached = flags & OPEN_TREE_CLONE; in vfs_open_tree()
3164 AT_SYMLINK_NOFOLLOW | OPEN_TREE_CLONE | in vfs_open_tree()
3168 if ((flags & (AT_RECURSIVE | OPEN_TREE_CLONE)) == AT_RECURSIVE) in vfs_open_tree()
/linux-6.15/tools/testing/selftests/landlock/
H A Dfs_test.c2541 AT_EMPTY_PATH | OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F_FORK()