Home
last modified time | relevance | path

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

/ipc/
Dmqueue.c269 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode()
274 info->attr.mq_maxmsg = attr->mq_maxmsg; in mqueue_get_inode()
292 if (info->attr.mq_maxmsg <= 0 || info->attr.mq_msgsize <= 0) in mqueue_get_inode()
295 if (info->attr.mq_maxmsg > HARD_MSGMAX || in mqueue_get_inode()
299 if (info->attr.mq_maxmsg > ipc_ns->mq_msg_max || in mqueue_get_inode()
305 if (info->attr.mq_msgsize > ULONG_MAX/info->attr.mq_maxmsg) in mqueue_get_inode()
307 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_get_inode()
308 min_t(unsigned int, info->attr.mq_maxmsg, MQ_PRIO_MAX) * in mqueue_get_inode()
310 mq_bytes = info->attr.mq_maxmsg * info->attr.mq_msgsize; in mqueue_get_inode()
468 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_evict_inode()
[all …]