Lines Matching refs:MSG_SIZE
66 MSG_SIZE = 64, enumerator
172 rc = syscall(__NR_mq_timedreceive, fd, msg, MSG_SIZE, &prio, in do_recv()
185 printf(", %u, [42], {tv_sec=%lld, tv_nsec=%llu}) = %s\n", MSG_SIZE, in do_recv()
241 char *msg = tail_alloc(MSG_SIZE); in main()
252 fill_memory_ex(msg, MSG_SIZE, MSG_START, MSG_SIZE); in main()
295 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
298 (int) bogus_fd, msg + MSG_SIZE, (unsigned long long) bogus_size, in main()
302 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
303 MSG_SIZE, bogus_prio, bogus_tmout); in main()
306 (int) bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
307 (unsigned long long) MSG_SIZE, (unsigned) bogus_prio, in main()
312 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_SIZE - MSG_CUT, in main()
316 printstr(MSG_START + MSG_SIZE - MSG_CUT, MSG_CUT); in main()
323 rc = syscall(__NR_mq_timedsend, bogus_fd, msg + MSG_CUT, MSG_SIZE, in main()
329 (unsigned long long) MSG_SIZE, (unsigned) bogus_prio, in main()
342 rc = syscall(__NR_mq_timedreceive, bogus_fd, msg + MSG_SIZE, bogus_size, in main()
345 (int) bogus_fd, msg + MSG_SIZE, (unsigned long long) bogus_size, in main()
419 rc = syscall(__NR_mq_unlink, msg + MSG_SIZE); in main()
420 printf("mq_unlink(%p) = %s\n", msg + MSG_SIZE, sprintrc(rc)); in main()
437 bogus_attrs[2] = MSG_SIZE; in main()
455 MSG_SIZE, (long long) bogus_attrs[3], errstr); 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()