• Home
  • Raw
  • Download

Lines Matching refs:rval

624 	int rval;  in attr_list_path()  local
626 rval = attr_list(name->path, buffer, buffersize, flags, cursor); in attr_list_path()
627 if (rval >= 0 || errno != ENAMETOOLONG) in attr_list_path()
628 return rval; in attr_list_path()
631 rval = attr_list_path(&newname, buffer, buffersize, flags, in attr_list_path()
636 return rval; in attr_list_path()
643 int rval; in attr_remove_path() local
645 rval = attr_remove(name->path, attrname, flags); in attr_remove_path()
646 if (rval >= 0 || errno != ENAMETOOLONG) in attr_remove_path()
647 return rval; in attr_remove_path()
650 rval = attr_remove_path(&newname, attrname, flags); in attr_remove_path()
654 return rval; in attr_remove_path()
663 int rval; in attr_set_path() local
665 rval = attr_set(name->path, attrname, attrvalue, valuelength, flags); in attr_set_path()
666 if (rval >= 0 || errno != ENAMETOOLONG) in attr_set_path()
667 return rval; in attr_set_path()
670 rval = attr_set_path(&newname, attrname, attrvalue, valuelength, in attr_set_path()
675 return rval; in attr_set_path()
697 int rval; in creat_path() local
699 rval = creat(name->path, mode); in creat_path()
700 if (rval >= 0 || errno != ENAMETOOLONG) in creat_path()
701 return rval; in creat_path()
704 rval = creat_path(&newname, mode); in creat_path()
708 return rval; in creat_path()
782 int rval; in doproc() local
809 rval = stat64(".", &statbuf); in doproc()
810 if (rval == EIO) { in doproc()
951 int rval; in lchown_path() local
953 rval = lchown(name->path, owner, group); in lchown_path()
954 if (rval >= 0 || errno != ENAMETOOLONG) in lchown_path()
955 return rval; in lchown_path()
958 rval = lchown_path(&newname, owner, group); in lchown_path()
962 return rval; in lchown_path()
972 int rval; in link_path() local
974 rval = link(name1->path, name2->path); in link_path()
975 if (rval >= 0 || errno != ENAMETOOLONG) in link_path()
976 return rval; in link_path()
981 rval = link_path(&newname1, &newname2); in link_path()
1001 rval = link_path(&newname1, &newname2); in link_path()
1009 rval = link_path(&newname1, &newname2); in link_path()
1016 return rval; in link_path()
1023 int rval; in lstat64_path() local
1025 rval = lstat64(name->path, sbuf); in lstat64_path()
1026 if (rval >= 0 || errno != ENAMETOOLONG) in lstat64_path()
1027 return rval; in lstat64_path()
1030 rval = lstat64_path(&newname, sbuf); in lstat64_path()
1034 return rval; in lstat64_path()
1057 int rval; in mkdir_path() local
1059 rval = mkdir(name->path, mode); in mkdir_path()
1060 if (rval >= 0 || errno != ENAMETOOLONG) in mkdir_path()
1061 return rval; in mkdir_path()
1064 rval = mkdir_path(&newname, mode); in mkdir_path()
1068 return rval; in mkdir_path()
1075 int rval; in mknod_path() local
1077 rval = mknod(name->path, mode, dev); in mknod_path()
1078 if (rval >= 0 || errno != ENAMETOOLONG) in mknod_path()
1079 return rval; in mknod_path()
1082 rval = mknod_path(&newname, mode, dev); in mknod_path()
1086 return rval; in mknod_path()
1113 int rval; in open_path() local
1115 rval = open(name->path, oflag); in open_path()
1116 if (rval >= 0 || errno != ENAMETOOLONG) in open_path()
1117 return rval; in open_path()
1120 rval = open_path(&newname, oflag); in open_path()
1124 return rval; in open_path()
1131 DIR *rval; in opendir_path() local
1133 rval = opendir(name->path); in opendir_path()
1134 if (rval || errno != ENAMETOOLONG) in opendir_path()
1135 return rval; in opendir_path()
1138 rval = opendir_path(&newname); in opendir_path()
1142 return rval; in opendir_path()
1170 int rval; in readlink_path() local
1172 rval = readlink(name->path, lbuf, lbufsiz); in readlink_path()
1173 if (rval >= 0 || errno != ENAMETOOLONG) in readlink_path()
1174 return rval; in readlink_path()
1177 rval = readlink_path(&newname, lbuf, lbufsiz); in readlink_path()
1181 return rval; in readlink_path()
1191 int rval; in rename_path() local
1193 rval = rename(name1->path, name2->path); in rename_path()
1194 if (rval >= 0 || errno != ENAMETOOLONG) in rename_path()
1195 return rval; in rename_path()
1200 rval = rename_path(&newname1, &newname2); in rename_path()
1220 rval = rename_path(&newname1, &newname2); in rename_path()
1228 rval = rename_path(&newname1, &newname2); in rename_path()
1235 return rval; in rename_path()
1242 int rval; in rmdir_path() local
1244 rval = rmdir(name->path); in rmdir_path()
1245 if (rval >= 0 || errno != ENAMETOOLONG) in rmdir_path()
1246 return rval; in rmdir_path()
1249 rval = rmdir_path(&newname); in rmdir_path()
1253 return rval; in rmdir_path()
1314 int rval; in stat64_path() local
1316 rval = stat64(name->path, sbuf); in stat64_path()
1317 if (rval >= 0 || errno != ENAMETOOLONG) in stat64_path()
1318 return rval; in stat64_path()
1321 rval = stat64_path(&newname, sbuf); in stat64_path()
1325 return rval; in stat64_path()
1332 int rval; in symlink_path() local
1339 rval = symlink(name1, name->path); in symlink_path()
1340 if (rval >= 0 || errno != ENAMETOOLONG) in symlink_path()
1341 return rval; in symlink_path()
1344 rval = symlink_path(name1, &newname); in symlink_path()
1348 return rval; in symlink_path()
1355 int rval; in truncate64_path() local
1357 rval = truncate64(name->path, length); in truncate64_path()
1358 if (rval >= 0 || errno != ENAMETOOLONG) in truncate64_path()
1359 return rval; in truncate64_path()
1362 rval = truncate64_path(&newname, length); in truncate64_path()
1366 return rval; in truncate64_path()
1373 int rval; in unlink_path() local
1375 rval = unlink(name->path); in unlink_path()
1376 if (rval >= 0 || errno != ENAMETOOLONG) in unlink_path()
1377 return rval; in unlink_path()
1380 rval = unlink_path(&newname); in unlink_path()
1384 return rval; in unlink_path()