Searched refs:mq_maxmsg (Results 1 – 2 of 2) sorted by relevance
19 compat_long_t mq_maxmsg; /* maximum number of messages */ member32 | __get_user(attr->mq_maxmsg, &uattr->mq_maxmsg) in get_compat_mq_attr()44 | __put_user(attr->mq_maxmsg, &uattr->mq_maxmsg) in put_compat_mq_attr()
249 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode()254 info->attr.mq_maxmsg = attr->mq_maxmsg; in mqueue_get_inode()270 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_get_inode()271 min_t(unsigned int, info->attr.mq_maxmsg, MQ_PRIO_MAX) * in mqueue_get_inode()274 mq_bytes = mq_treesize + (info->attr.mq_maxmsg * in mqueue_get_inode()390 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_evict_inode()391 min_t(unsigned int, info->attr.mq_maxmsg, MQ_PRIO_MAX) * in mqueue_evict_inode()394 mq_bytes = mq_treesize + (info->attr.mq_maxmsg * in mqueue_evict_inode()530 if (info->attr.mq_curmsgs < info->attr.mq_maxmsg) in mqueue_poll_file()696 if (attr->mq_maxmsg <= 0 || attr->mq_msgsize <= 0) in mq_attr_ok()[all …]