• Home
  • Raw
  • Download

Lines Matching refs:chdir

414 		if (chdir(dirname) < 0) {  in main()
580 chdir(homedir); in append_pathname()
603 if (chdir(buf) == 0) { in attr_list_path()
606 chdir(".."); in attr_list_path()
622 if (chdir(buf) == 0) { in attr_remove_path()
624 chdir(".."); in attr_remove_path()
642 if (chdir(buf) == 0) { in attr_set_path()
645 chdir(".."); in attr_set_path()
659 chdir(homedir); in check_cwd()
676 if (chdir(buf) == 0) { in creat_path()
678 chdir(".."); in creat_path()
760 if (chdir(buf) < 0 || stat64(".", &statbuf) < 0) { in doproc()
930 if (chdir(buf) == 0) { in lchown_path()
932 chdir(".."); in lchown_path()
953 if (chdir(buf1) == 0) { in link_path()
955 chdir(".."); in link_path()
973 if (chdir(buf1) == 0) { in link_path()
975 chdir(".."); in link_path()
981 if (chdir(buf2) == 0) { in link_path()
983 chdir(".."); in link_path()
1002 if (chdir(buf) == 0) { in lstat64_path()
1004 chdir(".."); in lstat64_path()
1036 if (chdir(buf) == 0) { in mkdir_path()
1038 chdir(".."); in mkdir_path()
1054 if (chdir(buf) == 0) { in mknod_path()
1056 chdir(".."); in mknod_path()
1092 if (chdir(buf) == 0) { in open_path()
1094 chdir(".."); in open_path()
1110 if (chdir(buf) == 0) { in opendir_path()
1112 chdir(".."); in opendir_path()
1151 if (chdir(buf) == 0) { in readlink_path()
1153 chdir(".."); in readlink_path()
1174 if (chdir(buf1) == 0) { in rename_path()
1176 chdir(".."); in rename_path()
1194 if (chdir(buf1) == 0) { in rename_path()
1196 chdir(".."); in rename_path()
1202 if (chdir(buf2) == 0) { in rename_path()
1204 chdir(".."); in rename_path()
1223 if (chdir(buf) == 0) { in rmdir_path()
1225 chdir(".."); in rmdir_path()
1295 if (chdir(buf) == 0) { in stat64_path()
1297 chdir(".."); in stat64_path()
1318 if (chdir(buf) == 0) { in symlink_path()
1320 chdir(".."); in symlink_path()
1336 if (chdir(buf) == 0) { in truncate64_path()
1338 chdir(".."); in truncate64_path()
1354 if (chdir(buf) == 0) { in unlink_path()
1356 chdir(".."); in unlink_path()