Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mqueue/
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()
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()
476 attr.mq_maxmsg = cur_max_msgs + 1; in main()
484 attr.mq_maxmsg = 1; in main()
[all …]
A Dmq_perf_tests.c302 printf("\t\tmq_maxmsg:\t\t\t%lu\n", result.mq_maxmsg); in open_queue()
483 for (i = 0; i < result.mq_maxmsg - 1; i++) { in perf_test_thread()
709 attr.mq_maxmsg = cur_max_msgs; in main()
/linux/ipc/
A Dmqueue.c328 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode()
333 info->attr.mq_maxmsg = attr->mq_maxmsg; in mqueue_get_inode()
354 if (info->attr.mq_maxmsg > HARD_MSGMAX || in mqueue_get_inode()
358 if (info->attr.mq_maxmsg > ipc_ns->mq_msg_max || in mqueue_get_inode()
367 min_t(unsigned int, info->attr.mq_maxmsg, MQ_PRIO_MAX) * in mqueue_get_inode()
369 mq_bytes = info->attr.mq_maxmsg * info->attr.mq_msgsize; in mqueue_get_inode()
533 mq_bytes = mq_treesize + (info->attr.mq_maxmsg * in mqueue_evict_inode()
674 if (info->attr.mq_curmsgs < info->attr.mq_maxmsg) in mqueue_poll_file()
1127 if (info->attr.mq_curmsgs == info->attr.mq_maxmsg) { in do_mq_timedsend()
1530 attr->mq_maxmsg = v.mq_maxmsg; in get_compat_mq_attr()
[all …]
/linux/include/uapi/linux/
A Dmqueue.h30 __kernel_long_t mq_maxmsg; /* maximum number of messages */ member
/linux/kernel/
A Dauditsc.c1391 context->mq_open.attr.mq_maxmsg, in show_special()
1417 attr->mq_flags, attr->mq_maxmsg, in show_special()

Completed in 14 milliseconds