Lines Matching refs:MSG_SIZE

69 	MSG_SIZE = 64,  enumerator
175 rc = syscall(__NR_mq_timedreceive, fd, msg, MSG_SIZE, &prio, in do_recv()
188 printf(", %u, [42], {tv_sec=%jd, tv_nsec=%jd}) = %s\n", MSG_SIZE, in do_recv()
244 char *msg = tail_alloc(MSG_SIZE); in main()
255 fill_memory_ex(msg, MSG_SIZE, MSG_START, MSG_SIZE); in main()
298 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
301 (int) bogus_fd, msg + MSG_SIZE, (unsigned long long) bogus_size, in main()
305 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
306 MSG_SIZE, bogus_prio, bogus_tmout); in main()
309 (int) bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
310 (unsigned long long) MSG_SIZE, (unsigned) bogus_prio, in main()
315 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
319 printstr(MSG_START + MSG_SIZE - MSG_CUT, MSG_CUT); in main()
326 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_CUT, MSG_SIZE, in main()
332 (unsigned long long) MSG_SIZE, (unsigned) bogus_prio, in main()
345 rc = syscall(__NR_mq_timedreceive, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
348 (int) bogus_fd, msg + MSG_SIZE, (unsigned long long) bogus_size, in main()
422 rc = syscall(__NR_mq_unlink, msg + MSG_SIZE); in main()
423 printf("mq_unlink(%p) = %s\n", msg + MSG_SIZE, sprintrc(rc)); in main()
437 bogus_attrs[2] = MSG_SIZE; in main()
454 (unsigned long long) (kernel_ulong_t) bogus_attrs[0], MSG_SIZE, in main()
460 if ((bogus_attrs[1] < 2) || (bogus_attrs[2] < MSG_SIZE)) in main()
464 do_send(fd, msg, MSG_SIZE, future_tmout, true); in main()
466 memset(msg, '\0', MSG_SIZE); in main()
469 memset(msg, '\0', MSG_SIZE); in main()
470 do_recv(fd, msg, MSG_SIZE, future_tmout, true); in main()