Home
last modified time | relevance | path

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

/linux-2.6.39/ipc/
Dcompat_mq.c19 compat_long_t mq_maxmsg; /* maximum number of messages */ member
32 | __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()
Dmqueue.c143 info->attr.mq_maxmsg = ipc_ns->mq_msg_max; in mqueue_get_inode()
146 info->attr.mq_maxmsg = attr->mq_maxmsg; in mqueue_get_inode()
149 mq_msg_tblsz = info->attr.mq_maxmsg * sizeof(struct msg_msg *); in mqueue_get_inode()
155 (info->attr.mq_maxmsg * info->attr.mq_msgsize)); in mqueue_get_inode()
274 mq_bytes = info->attr.mq_maxmsg * (sizeof(struct msg_msg *) in mqueue_evict_inode()
408 if (info->attr.mq_curmsgs < info->attr.mq_maxmsg) in mqueue_poll_file()
587 if (attr->mq_maxmsg <= 0 || attr->mq_msgsize <= 0) in mq_attr_ok()
590 if (attr->mq_maxmsg > HARD_MSGMAX) in mq_attr_ok()
593 if (attr->mq_maxmsg > ipc_ns->mq_msg_max || in mq_attr_ok()
598 if (attr->mq_msgsize > ULONG_MAX/attr->mq_maxmsg) in mq_attr_ok()
[all …]
/linux-2.6.39/include/linux/
Dmqueue.h27 long mq_maxmsg; /* maximum number of messages */ member
/linux-2.6.39/kernel/
Dauditsc.c1278 context->mq_open.attr.mq_maxmsg, in show_special()
1303 attr->mq_flags, attr->mq_maxmsg, in show_special()