Lines Matching refs:rval
671 int name, rval; in call_syscall() local
754 rval = open(STR(0), (int)flags, (mode_t)NUM(2)); in call_syscall()
760 rval = open(STR(0), (int)flags); in call_syscall()
762 if (rval >= 0) in call_syscall()
763 descriptor_add(rval); in call_syscall()
773 rval = openat(NUM(0), STR(1), (int)flags, in call_syscall()
780 rval = openat(NUM(0), STR(1), (int)flags); in call_syscall()
782 if (rval >= 0) in call_syscall()
783 descriptor_add(rval); in call_syscall()
787 rval = open(STR(0), O_CREAT | O_EXCL, (mode_t)NUM(1)); in call_syscall()
788 if (rval >= 0) in call_syscall()
789 close(rval); in call_syscall()
792 rval = unlink(STR(0)); in call_syscall()
796 rval = unlinkat(NUM(0), STR(1), in call_syscall()
801 rval = mkdir(STR(0), (mode_t)NUM(1)); in call_syscall()
805 rval = mkdirat(NUM(0), STR(1), (mode_t)NUM(2)); in call_syscall()
809 rval = rmdir(STR(0)); in call_syscall()
812 rval = link(STR(0), STR(1)); in call_syscall()
816 rval = linkat(NUM(0), STR(1), NUM(2), STR(3), in call_syscall()
821 rval = symlink(STR(0), STR(1)); in call_syscall()
825 rval = symlinkat(STR(0), NUM(1), STR(2)); in call_syscall()
829 rval = rename(STR(0), STR(1)); in call_syscall()
833 rval = renameat(NUM(0), STR(1), NUM(2), STR(3)); in call_syscall()
837 rval = mkfifo(STR(0), (mode_t)NUM(1)); in call_syscall()
841 rval = mkfifoat(NUM(0), STR(1), (mode_t)NUM(2)); in call_syscall()
883 rval = mknod(STR(0), ntype | NUM(2), dev); in call_syscall()
887 rval = mknodat(NUM(0), STR(1), ntype | NUM(3), dev); in call_syscall()
902 rval = socket(AF_UNIX, SOCK_STREAM, 0); in call_syscall()
903 if (rval < 0) in call_syscall()
905 rval = bind(rval, (struct sockaddr *)&sunx, sizeof(sunx)); in call_syscall()
916 rval = socket(AF_UNIX, SOCK_STREAM, 0); in call_syscall()
917 if (rval < 0) in call_syscall()
919 rval = bindat(NUM(0), rval, (struct sockaddr *)&sunx, in call_syscall()
931 rval = socket(AF_UNIX, SOCK_STREAM, 0); in call_syscall()
932 if (rval < 0) in call_syscall()
934 rval = connect(rval, (struct sockaddr *)&sunx, sizeof(sunx)); in call_syscall()
945 rval = socket(AF_UNIX, SOCK_STREAM, 0); in call_syscall()
946 if (rval < 0) in call_syscall()
948 rval = connectat(NUM(0), rval, (struct sockaddr *)&sunx, in call_syscall()
954 rval = chmod(STR(0), (mode_t)NUM(1)); in call_syscall()
957 rval = fchmod(NUM(0), (mode_t)NUM(1)); in call_syscall()
961 rval = lchmod(STR(0), (mode_t)NUM(1)); in call_syscall()
966 rval = fchmodat(NUM(0), STR(1), (mode_t)NUM(2), in call_syscall()
971 rval = chown(STR(0), (uid_t)NUM(1), (gid_t)NUM(2)); in call_syscall()
974 rval = fchown(NUM(0), (uid_t)NUM(1), (gid_t)NUM(2)); in call_syscall()
977 rval = lchown(STR(0), (uid_t)NUM(1), (gid_t)NUM(2)); in call_syscall()
981 rval = fchownat(NUM(0), STR(1), (uid_t)NUM(2), (gid_t)NUM(3), in call_syscall()
987 rval = chflags(STR(0), in call_syscall()
993 rval = fchflags(NUM(0), in call_syscall()
999 rval = chflagsat(NUM(0), STR(1), in call_syscall()
1006 rval = lchflags(STR(0), in call_syscall()
1012 rval = truncate64(STR(0), NUM(1)); in call_syscall()
1014 rval = truncate(STR(0), NUM(1)); in call_syscall()
1019 rval = ftruncate64(NUM(0), NUM(1)); in call_syscall()
1021 rval = ftruncate(NUM(0), NUM(1)); in call_syscall()
1026 rval = posix_fallocate(NUM(0), NUM(1), NUM(2)); in call_syscall()
1027 if (rval != 0) { in call_syscall()
1028 errno = rval; in call_syscall()
1029 rval = -1; in call_syscall()
1035 rval = stat64(STR(0), &sb); in call_syscall()
1037 rval = stat(STR(0), &sb); in call_syscall()
1039 if (rval == 0) { in call_syscall()
1046 rval = fstat64(NUM(0), &sb); in call_syscall()
1048 rval = fstat(NUM(0), &sb); in call_syscall()
1050 if (rval == 0) { in call_syscall()
1057 rval = lstat64(STR(0), &sb); in call_syscall()
1059 rval = lstat(STR(0), &sb); in call_syscall()
1061 if (rval == 0) { in call_syscall()
1068 rval = fstatat(NUM(0), STR(1), &sb, in call_syscall()
1070 if (rval == 0) { in call_syscall()
1112 rval = -1; in call_syscall()
1117 rval = -1; in call_syscall()
1137 rval = acl_set_file(STR(0), ACL_TYPE_NFS4, acl); in call_syscall()
1142 rval = -1; in call_syscall()
1144 rval = 0; in call_syscall()
1148 rval = write(NUM(0), STR(1), strlen(STR(1))); in call_syscall()
1170 rval = utimensat(NUM(0), STR(1), times, flag); in call_syscall()
1179 if (rval < 0) { in call_syscall()
1183 fprintf(stderr, "%s returned %d\n", scall->sd_name, rval); in call_syscall()