Lines Matching refs:chdir
441 if (chdir(dirname) < 0) { in main()
607 chdir(homedir); in append_pathname()
630 if (chdir(buf) == 0) { in attr_list_path()
633 chdir(".."); in attr_list_path()
649 if (chdir(buf) == 0) { in attr_remove_path()
651 chdir(".."); in attr_remove_path()
669 if (chdir(buf) == 0) { in attr_set_path()
672 chdir(".."); in attr_set_path()
686 chdir(homedir); in check_cwd()
703 if (chdir(buf) == 0) { in creat_path()
705 chdir(".."); in creat_path()
787 if (chdir(buf) < 0 || stat64(".", &statbuf) < 0) { in doproc()
957 if (chdir(buf) == 0) { in lchown_path()
959 chdir(".."); in lchown_path()
980 if (chdir(buf1) == 0) { in link_path()
982 chdir(".."); in link_path()
1000 if (chdir(buf1) == 0) { in link_path()
1002 chdir(".."); in link_path()
1008 if (chdir(buf2) == 0) { in link_path()
1010 chdir(".."); in link_path()
1029 if (chdir(buf) == 0) { in lstat64_path()
1031 chdir(".."); in lstat64_path()
1063 if (chdir(buf) == 0) { in mkdir_path()
1065 chdir(".."); in mkdir_path()
1081 if (chdir(buf) == 0) { in mknod_path()
1083 chdir(".."); in mknod_path()
1119 if (chdir(buf) == 0) { in open_path()
1121 chdir(".."); in open_path()
1137 if (chdir(buf) == 0) { in opendir_path()
1139 chdir(".."); in opendir_path()
1176 if (chdir(buf) == 0) { in readlink_path()
1178 chdir(".."); in readlink_path()
1199 if (chdir(buf1) == 0) { in rename_path()
1201 chdir(".."); in rename_path()
1219 if (chdir(buf1) == 0) { in rename_path()
1221 chdir(".."); in rename_path()
1227 if (chdir(buf2) == 0) { in rename_path()
1229 chdir(".."); in rename_path()
1248 if (chdir(buf) == 0) { in rmdir_path()
1250 chdir(".."); in rmdir_path()
1320 if (chdir(buf) == 0) { in stat64_path()
1322 chdir(".."); in stat64_path()
1343 if (chdir(buf) == 0) { in symlink_path()
1345 chdir(".."); in symlink_path()
1361 if (chdir(buf) == 0) { in truncate64_path()
1363 chdir(".."); in truncate64_path()
1379 if (chdir(buf) == 0) { in unlink_path()
1381 chdir(".."); in unlink_path()