Home
last modified time | relevance | path

Searched refs:mq_maxmsg (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/tools/testing/selftests/mqueue/
Dmq_open_tests.c331 if (result.mq_maxmsg != cur_max_msgs || in main()
340 if (result.mq_maxmsg == cur_max_msgs && in main()
363 if (result.mq_maxmsg != cur_def_msgs || in main()
374 if (result.mq_maxmsg != cur_def_msgs || in main()
395 if (result.mq_maxmsg == cur_max_msgs && in main()
430 attr.mq_maxmsg = cur_max_msgs; in main()
438 attr.mq_maxmsg = cur_max_msgs + 1; in main()
446 attr.mq_maxmsg = 1; in main()
454 attr.mq_maxmsg = 65536; in main()
468 attr.mq_maxmsg = cur_max_msgs; in main()
[all …]
Dmq_perf_tests.c305 printf("\t\tmq_maxmsg:\t\t\t%lu\n", result.mq_maxmsg); in open_queue()
488 for (i = 0; i < result.mq_maxmsg - 1; i++) { in perf_test_thread()
715 attr.mq_maxmsg = cur_max_msgs; in main()
/linux-6.12.1/ipc/
Dmqueue.c327 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode()
332 info->attr.mq_maxmsg = attr->mq_maxmsg; in mqueue_get_inode()
350 if (info->attr.mq_maxmsg <= 0 || info->attr.mq_msgsize <= 0) in mqueue_get_inode()
353 if (info->attr.mq_maxmsg > HARD_MSGMAX || in mqueue_get_inode()
357 if (info->attr.mq_maxmsg > ipc_ns->mq_msg_max || in mqueue_get_inode()
363 if (info->attr.mq_msgsize > ULONG_MAX/info->attr.mq_maxmsg) in mqueue_get_inode()
365 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_get_inode()
366 min_t(unsigned int, info->attr.mq_maxmsg, MQ_PRIO_MAX) * in mqueue_get_inode()
368 mq_bytes = info->attr.mq_maxmsg * info->attr.mq_msgsize; in mqueue_get_inode()
541 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_evict_inode()
[all …]
/linux-6.12.1/include/uapi/linux/
Dmqueue.h30 __kernel_long_t mq_maxmsg; /* maximum number of messages */ member
/linux-6.12.1/kernel/
Dauditsc.c1426 context->mq_open.attr.mq_maxmsg, in show_special()
1452 attr->mq_flags, attr->mq_maxmsg, in show_special()