Searched refs:orig_root (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/filesystems/mount-notify/ |
| H A D | mount-notify_test_ns.c | 48 int orig_root; in FIXTURE() local 70 self->orig_root = open("/", O_PATH | O_CLOEXEC); in FIXTURE_SETUP() 71 ASSERT_GE(self->orig_root, 0); in FIXTURE_SETUP() 94 FAN_OPEN, self->orig_root, "."); in FIXTURE_SETUP() 133 ASSERT_EQ(fchdir(self->orig_root), 0); in FIXTURE_TEARDOWN()
|
| H A D | mount-notify_test.c | 42 int orig_root; in FIXTURE() local 61 self->orig_root = open("/", O_PATH | O_CLOEXEC); in FIXTURE_SETUP() 62 ASSERT_GE(self->orig_root, 0); in FIXTURE_SETUP() 106 ASSERT_EQ(fchdir(self->orig_root), 0); in FIXTURE_TEARDOWN()
|
| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 106 static int orig_root; variable 115 ret = fchdir(orig_root); in cleanup_namespace() 162 orig_root = open("/", O_PATH); in setup_namespace() 163 if (orig_root == -1) in setup_namespace()
|
| /linux/kernel/bpf/ |
| H A D | helpers.c | 2211 struct rb_root_cached orig_root, *root = rb_root; in bpf_rb_root_free() local 2219 orig_root = *root; in bpf_rb_root_free() 2223 bpf_rbtree_postorder_for_each_entry_safe(pos, n, &orig_root.rb_root) { in bpf_rb_root_free()
|