Home
last modified time | relevance | path

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

/ipc/
Dmqueue.c330 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode()
335 info->attr.mq_maxmsg = attr->mq_maxmsg; in mqueue_get_inode()
353 if (info->attr.mq_maxmsg <= 0 || info->attr.mq_msgsize <= 0) in mqueue_get_inode()
356 if (info->attr.mq_maxmsg > HARD_MSGMAX || in mqueue_get_inode()
360 if (info->attr.mq_maxmsg > ipc_ns->mq_msg_max || in mqueue_get_inode()
366 if (info->attr.mq_msgsize > ULONG_MAX/info->attr.mq_maxmsg) in mqueue_get_inode()
368 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_get_inode()
369 min_t(unsigned int, info->attr.mq_maxmsg, MQ_PRIO_MAX) * in mqueue_get_inode()
371 mq_bytes = info->attr.mq_maxmsg * info->attr.mq_msgsize; in mqueue_get_inode()
542 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_evict_inode()
[all …]