Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mqueue/
H A 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 …]
H A 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/ipc/
H A 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/include/uapi/linux/
H A Dmqueue.h30 __kernel_long_t mq_maxmsg; /* maximum number of messages */ member
/linux/kernel/
H A Dauditsc.c1426 context->mq_open.attr.mq_maxmsg, in show_special()
1452 attr->mq_flags, attr->mq_maxmsg, in show_special()