Home
last modified time | relevance | path

Searched refs:SAFE_CHDIR (Results 1 – 25 of 25) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/getcwd/
Dgetcwd03.c38 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()
Dgetcwd02.c97 SAFE_CHDIR(tmpdir); in setup()
/third_party/ltp/testcases/kernel/controllers/cgroup_xattr/
Dcgroup_xattr.c194 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/
Dchdir01.c62 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/
Dopen14.c137 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/
Dopenat03.c148 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/
Dmknod05.c174 SAFE_CHDIR(cleanup, ".."); in main()
252 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod03.c172 SAFE_CHDIR(cleanup, ".."); in main()
269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod08.c173 SAFE_CHDIR(cleanup, ".."); in main()
269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod02.c176 SAFE_CHDIR(cleanup, ".."); in main()
274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod04.c175 SAFE_CHDIR(cleanup, ".."); in main()
274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
/third_party/ltp/lib/newlib_tests/
Dtest03.c14 SAFE_CHDIR("nonexistent"); in do_test()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify09.c348 SAFE_CHDIR(MOUNT_NAME); in setup()
360 SAFE_CHDIR("../"); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/open_by_handle_at/
Dopen_by_handle_at01.c56 SAFE_CHDIR(TEST_DIR); in setup()
/third_party/ltp/lib/
Dself_exec.c156 SAFE_CHDIR(NULL, child_dir); in maybe_run_child()
/third_party/ltp/testcases/kernel/syscalls/name_to_handle_at/
Dname_to_handle_at01.c73 SAFE_CHDIR(TEST_DIR); in setup()
/third_party/ltp/testcases/kernel/syscalls/mmap/
Dmmap16.c173 SAFE_CHDIR(cleanup, MNTPOINT); in setup()
/third_party/ltp/testcases/kernel/syscalls/clone/
Dclone02.c253 SAFE_CHDIR(cleanup, cwd_parent); in test_cleanup()
/third_party/ltp/testcases/kernel/fs/ftest/
Dftest05.c141 SAFE_CHDIR(NULL, fuss); in setup()
Dftest01.c133 SAFE_CHDIR(NULL, fuss); in setup()
Dftest07.c156 SAFE_CHDIR(NULL, fuss); in setup()
Dftest03.c153 SAFE_CHDIR(NULL, fuss); in setup()
/third_party/ltp/include/old/
Dsafe_macros.h26 #define SAFE_CHDIR(cleanup_fn, path) \ macro
/third_party/ltp/testcases/network/netstress/
Dnetstress.c687 SAFE_CHDIR(server_bg); in server_init()
/third_party/ltp/include/
Dtst_safe_macros.h30 #define SAFE_CHDIR(path) \ macro