/external/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()
|
/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 | 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 | mknod05.c | 174 SAFE_CHDIR(cleanup, ".."); in main() 252 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/lib/newlib_tests/ |
D | test03.c | 14 SAFE_CHDIR("nonexistent"); in do_test()
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify09.c | 244 SAFE_CHDIR(MOUNT_NAME); in setup() 255 SAFE_CHDIR("../"); in cleanup()
|
/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 | ftest05.c | 141 SAFE_CHDIR(NULL, fuss); in setup()
|
D | ftest01.c | 133 SAFE_CHDIR(NULL, fuss); in setup()
|
D | ftest03.c | 153 SAFE_CHDIR(NULL, fuss); in setup()
|
D | ftest07.c | 156 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 | 41 #define SAFE_CHDIR(path) \ macro
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 689 SAFE_CHDIR(server_bg); in server_init()
|