Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c142 ASSERT_OK(chdir("/sys/fs/bpf"), "chdir"); in validate_pin()
162 ASSERT_OK(chdir(old_cwd), "restore_cwd"); in validate_pin()
207 ASSERT_OK(chdir("/sys/fs/bpf"), "chdir"); in validate_get()
227 ASSERT_OK(chdir(old_cwd), "restore_cwd"); in validate_get()
/linux/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py306 os.chdir('results')
312 os.chdir(test_name)
353 os.chdir('../../')
/linux/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c225 ret = chdir(s->dev_path); in sdsi_update_registers()
362 ret = chdir(s->dev_path); in sdsi_meter_cert_show()
447 ret = chdir(s->dev_path); in sdsi_state_cert_show()
551 ret = chdir(s->dev_path); in sdsi_provision()
715 if (chdir(s->dev_path) == -1) { in sdsi_create_dev()
/linux/tools/perf/trace/strace/groups/
H A Dstring4 chdir
/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py554 os.chdir('results')
561 os.chdir(testname)
613 os.chdir('../../')
/linux/arch/um/drivers/
H A Dcow_user.c159 if (chdir(from)) { in absolutize()
189 if (chdir(save_cwd)) { in absolutize()
/linux/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c276 if (chdir(dirname) == -1) { in main()
/linux/tools/lib/subcmd/
H A Drun-command.c112 if (cmd->dir && chdir(cmd->dir)) in start_command()
/linux/tools/power/x86/intel-speed-select/
H A Disst-daemon.c199 ret = chdir(rundir);
/linux/tools/mm/
H A Dslabinfo.c1221 if (chdir("/sys/kernel/slab") && chdir("/sys/slab")) in read_slab_dir()
1245 if (chdir(de->d_name)) in read_slab_dir()
1300 if (chdir("..")) in read_slab_dir()
/linux/tools/thermal/tmon/
H A Dtmon.c360 if ((chdir("/")) < 0) in start_daemon_mode()
/linux/scripts/
H A Dchecktransupdate.py264 os.chdir(linux_path)
H A Dsyscall.tbl67 49 common chdir sys_chdir
/linux/tools/perf/util/
H A Dnamespaces.c330 WARN_ON_ONCE(chdir(nc->oldcwd)); in nsinfo__mountns_exit()
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c1033 CASE_TEST(chdir_root); EXPECT_SYSZR(1, chdir("/")); chdir(getenv("PWD")); break; in run_syscall()
1034 CASE_TEST(chdir_dot); EXPECT_SYSZR(1, chdir(".")); break; in run_syscall()
1035 CASE_TEST(chdir_blah); EXPECT_SYSER(1, chdir("/blah"), -1, ENOENT); break; in run_syscall()
/linux/tools/testing/selftests/capabilities/
H A Dtest_execve.c140 if (chdir(cwd) != 0) in chdir_to_tmpfs()
/linux/tools/perf/
H A Dbuiltin-daemon.c350 if (chdir(session->base)) { in daemon_session__run()
1200 if (chdir(daemon->base)) { in go_background()
/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c180 ret = chdir("/"); in setup_namespace()
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl88 78 n64 chdir sys_chdir
/linux/arch/mips/kernel/syscalls/
H A Dsyscall_n64.tbl88 78 n64 chdir sys_chdir
/linux/tools/testing/kunit/
H A Dkunit.py579 os.chdir(get_kernel_root_path())
/linux/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl92 80 common chdir sys_chdir
/linux/arch/xtensa/kernel/syscalls/
H A Dsyscall.tbl52 41 common chdir sys_chdir
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl92 80 common chdir sys_chdir
/linux/arch/m68k/kernel/syscalls/
H A Dsyscall.tbl22 12 common chdir sys_chdir

12