Home
last modified time | relevance | path

Searched refs:mq_msgsize (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/tools/testing/selftests/mqueue/
Dmq_open_tests.c332 result.mq_msgsize != cur_max_msgsize) { in main()
341 result.mq_msgsize == cur_max_msgsize) in main()
364 result.mq_msgsize != cur_def_msgsize) in main()
375 result.mq_msgsize != cur_def_msgsize) in main()
396 result.mq_msgsize == cur_max_msgsize) in main()
431 attr.mq_msgsize = cur_max_msgsize; in main()
439 attr.mq_msgsize = 10; in main()
447 attr.mq_msgsize = cur_max_msgsize + 1; in main()
455 attr.mq_msgsize = 65536; in main()
469 attr.mq_msgsize = cur_max_msgsize; in main()
[all …]
Dmq_perf_tests.c303 printf("\t\tmq_msgsize:\t\t\t%lu\n", result.mq_msgsize); in open_queue()
710 attr.mq_msgsize = MSG_SIZE; in main()
/Linux-v5.15/ipc/
Dmqueue.c330 info->attr.mq_msgsize = min(ipc_ns->mq_msgsize_max, in mqueue_get_inode()
334 info->attr.mq_msgsize = attr->mq_msgsize; in mqueue_get_inode()
351 if (info->attr.mq_maxmsg <= 0 || info->attr.mq_msgsize <= 0) in mqueue_get_inode()
355 info->attr.mq_msgsize > HARD_MSGSIZEMAX) in mqueue_get_inode()
359 info->attr.mq_msgsize > ipc_ns->mq_msgsize_max) in mqueue_get_inode()
364 if (info->attr.mq_msgsize > ULONG_MAX/info->attr.mq_maxmsg) in mqueue_get_inode()
369 mq_bytes = info->attr.mq_maxmsg * info->attr.mq_msgsize; in mqueue_get_inode()
534 info->attr.mq_msgsize); in mqueue_evict_inode()
1093 if (unlikely(msg_len > info->attr.mq_msgsize)) { in do_mq_timedsend()
1209 if (unlikely(msg_len < info->attr.mq_msgsize)) { in do_mq_timedreceive()
[all …]
/Linux-v5.15/include/uapi/linux/
Dmqueue.h31 __kernel_long_t mq_msgsize; /* maximum message size */ member
/Linux-v5.15/tools/testing/selftests/timers/
Dmqueue-lat.c78 char buf[attr.mq_msgsize]; in mqueue_lat_test()
/Linux-v5.15/kernel/
Dauditsc.c1280 context->mq_open.attr.mq_msgsize, in show_special()
1306 attr->mq_msgsize, attr->mq_curmsgs); in show_special()