/external/ltp/testcases/kernel/syscalls/getcwd/ |
D | getcwd03.c | 50 SAFE_CHDIR(dir); in verify_getcwd() 59 SAFE_CHDIR(".."); in verify_getcwd() 60 SAFE_CHDIR(dir_link); in verify_getcwd() 76 SAFE_CHDIR(".."); in verify_getcwd()
|
D | getcwd02.c | 109 SAFE_CHDIR(tmpdir); in setup()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open14.c | 138 SAFE_CHDIR(cleanup, path); in test02() 145 SAFE_CHDIR(cleanup, ".."); in test02() 192 SAFE_CHDIR(cleanup, path); in test03() 222 SAFE_CHDIR(cleanup, ".."); in test03()
|
/external/ltp/testcases/kernel/syscalls/openat/ |
D | openat03.c | 149 SAFE_CHDIR(cleanup, path); in test02() 156 SAFE_CHDIR(cleanup, ".."); in test02() 203 SAFE_CHDIR(cleanup, path); in test03() 233 SAFE_CHDIR(cleanup, ".."); in test03()
|
/external/ltp/testcases/kernel/syscalls/chdir/ |
D | chdir01.c | 86 SAFE_CHDIR(cleanup, testdir); in main() 112 SAFE_CHDIR(cleanup, ".."); in main()
|
/external/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()
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify06.c | 202 SAFE_CHDIR(MOUNT_NAME); in setup() 212 SAFE_CHDIR("../"); in cleanup()
|
D | fanotify09.c | 244 SAFE_CHDIR(MOUNT_NAME); in setup() 255 SAFE_CHDIR("../"); in cleanup()
|
/external/ltp/lib/newlib_tests/ |
D | test03.c | 27 SAFE_CHDIR("nonexistent"); in do_test()
|
/external/ltp/lib/ |
D | self_exec.c | 156 SAFE_CHDIR(NULL, child_dir); in maybe_run_child()
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap16.c | 173 SAFE_CHDIR(cleanup, MNTPOINT); in setup()
|
/external/ltp/testcases/kernel/syscalls/clone/ |
D | clone02.c | 254 SAFE_CHDIR(cleanup, cwd_parent); in test_cleanup()
|
/external/ltp/testcases/kernel/fs/ftest/ |
D | ftest01.c | 133 SAFE_CHDIR(NULL, fuss); in setup()
|
D | ftest05.c | 141 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()
|
/external/ltp/include/old/ |
D | safe_macros.h | 26 #define SAFE_CHDIR(cleanup_fn, path) \ macro
|
/external/ltp/include/ |
D | tst_safe_macros.h | 40 #define SAFE_CHDIR(path) \ macro
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 687 SAFE_CHDIR(server_bg); in server_init()
|