/third_party/ltp/testcases/kernel/syscalls/getcwd/ |
D | getcwd03.c | 38 SAFE_CHDIR(dir); in verify_getcwd() 47 SAFE_CHDIR(".."); in verify_getcwd() 48 SAFE_CHDIR(dir_link); in verify_getcwd() 64 SAFE_CHDIR(".."); in verify_getcwd()
|
D | getcwd02.c | 97 SAFE_CHDIR(tmpdir); in setup()
|
/third_party/ltp/testcases/kernel/controllers/cgroup_xattr/ |
D | cgroup_xattr.c | 194 SAFE_CHDIR(cleanup, cgrp_opt[i].dir); in test_run() 203 SAFE_CHDIR(cleanup, ".."); in test_run() 233 SAFE_CHDIR(NULL, cwd); in cleanup() 238 SAFE_CHDIR(NULL, cgrp_opt[i].dir); in cleanup() 240 SAFE_CHDIR(NULL, ".."); in cleanup() 321 SAFE_CHDIR(cleanup, opt->dir); in mount_cgroup() 324 SAFE_CHDIR(cleanup, ".."); in mount_cgroup() 405 SAFE_CHDIR(cleanup, path); in cgrp_files_walking() 436 SAFE_CHDIR(cleanup, ".."); in cgrp_files_walking()
|
/third_party/ltp/testcases/kernel/syscalls/chdir/ |
D | chdir01.c | 62 SAFE_CHDIR(workdir); in setup() 120 SAFE_CHDIR(workdir); in run() 131 SAFE_CHDIR(workdir); in run() 140 SAFE_CHDIR(".."); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open14.c | 137 SAFE_CHDIR(cleanup, path); in test02() 144 SAFE_CHDIR(cleanup, ".."); in test02() 191 SAFE_CHDIR(cleanup, path); in test03() 221 SAFE_CHDIR(cleanup, ".."); in test03()
|
/third_party/ltp/testcases/kernel/syscalls/openat/ |
D | openat03.c | 148 SAFE_CHDIR(cleanup, path); in test02() 155 SAFE_CHDIR(cleanup, ".."); in test02() 202 SAFE_CHDIR(cleanup, path); in test03() 232 SAFE_CHDIR(cleanup, ".."); in test03()
|
/third_party/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod05.c | 174 SAFE_CHDIR(cleanup, ".."); in main() 252 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
|
D | mknod03.c | 172 SAFE_CHDIR(cleanup, ".."); in main() 269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
|
D | mknod08.c | 173 SAFE_CHDIR(cleanup, ".."); in main() 269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
|
D | mknod02.c | 176 SAFE_CHDIR(cleanup, ".."); in main() 274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
|
D | mknod04.c | 175 SAFE_CHDIR(cleanup, ".."); in main() 274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
|
/third_party/ltp/lib/newlib_tests/ |
D | test03.c | 14 SAFE_CHDIR("nonexistent"); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify09.c | 348 SAFE_CHDIR(MOUNT_NAME); in setup() 360 SAFE_CHDIR("../"); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/open_by_handle_at/ |
D | open_by_handle_at01.c | 56 SAFE_CHDIR(TEST_DIR); in setup()
|
/third_party/ltp/lib/ |
D | self_exec.c | 156 SAFE_CHDIR(NULL, child_dir); in maybe_run_child()
|
/third_party/ltp/testcases/kernel/syscalls/name_to_handle_at/ |
D | name_to_handle_at01.c | 73 SAFE_CHDIR(TEST_DIR); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap16.c | 173 SAFE_CHDIR(cleanup, MNTPOINT); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/clone/ |
D | clone02.c | 253 SAFE_CHDIR(cleanup, cwd_parent); in test_cleanup()
|
/third_party/ltp/testcases/kernel/fs/ftest/ |
D | ftest05.c | 141 SAFE_CHDIR(NULL, fuss); in setup()
|
D | ftest01.c | 133 SAFE_CHDIR(NULL, fuss); in setup()
|
D | ftest07.c | 156 SAFE_CHDIR(NULL, fuss); in setup()
|
D | ftest03.c | 153 SAFE_CHDIR(NULL, fuss); in setup()
|
/third_party/ltp/include/old/ |
D | safe_macros.h | 26 #define SAFE_CHDIR(cleanup_fn, path) \ macro
|
/third_party/ltp/testcases/network/netstress/ |
D | netstress.c | 687 SAFE_CHDIR(server_bg); in server_init()
|
/third_party/ltp/include/ |
D | tst_safe_macros.h | 30 #define SAFE_CHDIR(path) \ macro
|