• Home
  • Raw
  • Download

Lines Matching refs:rc

59 	int *uaddr2, unsigned long val3, int rc, const char *func, int line)  in futex_error()  argument
63 (unsigned) val3, rc); in futex_error()
70 rc = syscall(__NR_futex, (uaddr), (op), (val), (timeout), \
73 if ((rc == -1) && (errno == EPERM)) \
75 if (enosys && (rc == -1) && (errno == ENOSYS)) \
80 (val3), rc, __func__, __LINE__); \
114 int rc; in invalid_op() local
120 args[3], (rc == -1) && (errno == ENOSYS)); in invalid_op()
177 int rc; in main() local
200 (rc == -1) && (errno == EFAULT)); in main()
203 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
207 (rc == -1) && (errno == EFAULT)); in main()
210 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
214 (rc == -1) && (errno == EFAULT)); in main()
216 uaddr, 0xfacefeed, tmout + 1, sprintrc(rc)); in main()
223 (rc == -1) && (errno == EINVAL)); in main()
226 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
232 (rc == -1) && (errno == EINVAL)); in main()
235 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
242 (rc == -1) && (errno == EAGAIN)); in main()
245 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
249 uaddr2 + 1, VAL3, (rc == -1) && (errno == EAGAIN)); in main()
253 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
260 VAL, tmout, uaddr2, VAL3, (rc == -1) && (errno == EAGAIN)); in main()
264 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
268 VAL, tmout, uaddr2, 0, (rc == -1) && (errno == EAGAIN)); in main()
272 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
287 VAL3, (rc == -1) && (errno == EAGAIN)); in main()
292 sprintrc(rc)); in main()
295 VAL3A, (rc == -1) && (errno == EAGAIN)); in main()
300 sprintrc(rc)); in main()
304 (rc == -1) && (errno == EINVAL)); in main()
308 zero_extend_signed_to_ull(tmout->tv_nsec), 0, sprintrc(rc)); in main()
311 tmout, uaddr2 + 1, VAL3, (rc == -1) && (errno == EAGAIN)); in main()
316 sprintrc(rc)); in main()
321 tmout, uaddr2 + 1, VAL3, (rc == -1) && (errno == EAGAIN)); in main()
326 sprintrc(rc)); in main()
330 tmout, uaddr2 + 1, 0, (rc == -1) && (errno == EINVAL)); in main()
334 zero_extend_signed_to_ull(tmout->tv_nsec), 0, sprintrc(rc)); in main()
338 (rc == -1) && (errno == EAGAIN)); in main()
343 sprintrc(rc)); in main()
356 CHECK_FUTEX(uaddr, FUTEX_WAKE, 0, NULL, NULL, 0, (rc == 0)); in main()
357 printf("futex(%p, FUTEX_WAKE, %u) = %s\n", uaddr, 0, sprintrc(rc)); in main()
360 CHECK_FUTEX(uaddr, FUTEX_WAKE, 10, NULL, NULL, 0, (rc == 0)); in main()
361 printf("futex(%p, FUTEX_WAKE, %u) = %s\n", uaddr, 10, sprintrc(rc)); in main()
365 NULL, 0, (rc == 0)); in main()
367 sprintrc(rc)); in main()
385 VAL3, (rc == 0)); in main()
387 VAL3_PR, sprintrc(rc)); in main()
390 VAL3A, (rc == 0)); in main()
392 VAL3A_PR, sprintrc(rc)); in main()
396 (rc == -1) && (errno == EINVAL)); in main()
398 sprintrc(rc)); in main()
402 NULL, NULL, VAL3, (rc == 0)); in main()
404 10, VAL3_PR, sprintrc(rc)); in main()
420 (rc == -1) && (errno == EINVAL)); in main()
421 printf("futex(%p, FUTEX_FD, %u) = %s\n", uaddr, VAL_PR, sprintrc(rc)); in main()
425 NULL, VAL3, (rc == -1) && (errno == EINVAL)); in main()
427 VAL_PR, sprintrc(rc)); in main()
443 (rc == 0) || ((rc == -1) && (errno == EINVAL))); in main()
445 uaddr, VAL_PR, VAL2_PR, uaddr2, sprintrc(rc)); in main()
448 (rc == 0)); in main()
450 uaddr, VALP_PR, VAL2P_PR, uaddr2, sprintrc(rc)); in main()
454 uaddr2, VAL3, (rc == 0) || ((rc == -1) && (errno == EINVAL))); in main()
456 uaddr, VAL_PR, VAL2_PR, uaddr2, sprintrc(rc)); in main()
459 VAL2P, uaddr2, VAL3, (rc == 0)); in main()
461 uaddr, VALP_PR, VAL2P_PR, uaddr2, sprintrc(rc)); in main()
479 (rc == -1) && (errno == EAGAIN || errno == EINVAL)); in main()
481 uaddr, VAL_PR, VAL2_PR, uaddr2, VAL3_PR, sprintrc(rc)); in main()
484 (rc == -1) && (errno == EAGAIN)); in main()
486 uaddr, VALP_PR, VAL2P_PR, uaddr2, VAL3_PR, sprintrc(rc)); in main()
490 (rc == 0) || ((rc == -1) && (errno == EINVAL))); in main()
492 uaddr, VAL_PR, VAL2_PR, uaddr2, *uaddr, sprintrc(rc)); in main()
495 (rc == 0)); in main()
497 uaddr, VALP_PR, VAL2P_PR, uaddr2, *uaddr, sprintrc(rc)); in main()
502 (rc == 0) || ((rc == -1) && (errno == EINVAL))); in main()
504 uaddr, VAL_PR, VAL2_PR, uaddr2, *uaddr, sprintrc(rc)); in main()
507 VAL2P, uaddr2, *uaddr, (rc == 0)); in main()
509 uaddr, VALP_PR, VAL2P_PR, uaddr2, *uaddr, sprintrc(rc)); in main()
612 (rc != 0)) && in main()
613 ((!wake_ops[i].err && (rc == 0)) || in main()
614 (wake_ops[i].err && (rc == -1) && in main()
616 (wake_ops[i].err2 && (rc == -1) && in main()
620 i, uaddr2, wake_ops[i].str, sprintrc(rc)); in main()
647 VAL3, (rc == -1) && (errno == EFAULT)); in main()
650 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
653 tmout, uaddr2 + 1, VAL3, (rc == -1) && (errno == EFAULT)); in main()
657 zero_extend_signed_to_ull(tmout->tv_nsec), sprintrc(rc)); in main()
678 VAL3, (rc == -1) && (errno == EFAULT)); in main()
679 printf("futex(%p, FUTEX_UNLOCK_PI) = %s\n", uaddr + 1, sprintrc(rc)); in main()
682 tmout, uaddr2 + 1, VAL3, (rc == -1) && (errno == EFAULT)); in main()
684 sprintrc(rc)); in main()
700 VAL3, (rc == -1) && (errno == EFAULT)); in main()
701 printf("futex(%p, FUTEX_TRYLOCK_PI) = %s\n", uaddr + 1, sprintrc(rc)); in main()
704 VAL, tmout, uaddr2 + 1, VAL3, (rc == -1) && (errno == EFAULT)); in main()
706 sprintrc(rc)); in main()
728 VAL3, (rc == -1) && (errno == EAGAIN)); in main()
732 zero_extend_signed_to_ull(tmout->tv_nsec), uaddr2, sprintrc(rc)); in main()
735 VAL, tmout, uaddr2, VAL3, (rc == -1) && (errno == EAGAIN)); in main()
739 zero_extend_signed_to_ull(tmout->tv_nsec), uaddr2, sprintrc(rc)); in main()
742 VAL, tmout, uaddr2, VAL3, (rc == -1) && (errno == EAGAIN)); in main()
746 zero_extend_signed_to_ull(tmout->tv_nsec), uaddr2, sprintrc(rc)); in main()
750 (rc == -1) && (errno == EAGAIN)); in main()
754 zero_extend_signed_to_ull(tmout->tv_nsec), uaddr2, sprintrc(rc)); in main()
773 (rc == -1) && (errno == EINVAL)); in main()
775 uaddr, VAL_PR, VAL2_PR, uaddr2, VAL3_PR, sprintrc(rc)); in main()
778 *uaddr, (rc == -1) && (errno == EINVAL)); in main()
780 uaddr, VAL_PR, VAL2_PR, uaddr2, *uaddr, sprintrc(rc)); in main()
783 VAL, VAL2, uaddr2, *uaddr, (rc == -1) && (errno == EINVAL)); in main()
785 uaddr, VAL_PR, VAL2_PR, uaddr2, *uaddr, sprintrc(rc)); in main()
795 (rc == -1) && (errno == ENOSYS)); in main()
797 uaddr, VAL_PR, tmout + 1, uaddr2 + 1, VAL3_PR, sprintrc(rc)); in main()
800 (rc == -1) && (errno == ENOSYS)); in main()
802 uaddr, VAL_PR, tmout + 1, uaddr2, VAL3_PR, sprintrc(rc)); in main()