Lines Matching refs:mq_msgsize
329 info->attr.mq_msgsize = min(ipc_ns->mq_msgsize_max, in mqueue_get_inode()
333 info->attr.mq_msgsize = attr->mq_msgsize; in mqueue_get_inode()
350 if (info->attr.mq_maxmsg <= 0 || info->attr.mq_msgsize <= 0) in mqueue_get_inode()
354 info->attr.mq_msgsize > HARD_MSGSIZEMAX) in mqueue_get_inode()
358 info->attr.mq_msgsize > ipc_ns->mq_msgsize_max) in mqueue_get_inode()
363 if (info->attr.mq_msgsize > ULONG_MAX/info->attr.mq_maxmsg) in mqueue_get_inode()
368 mq_bytes = info->attr.mq_maxmsg * info->attr.mq_msgsize; in mqueue_get_inode()
546 info->attr.mq_msgsize); in mqueue_evict_inode()
1104 if (unlikely(msg_len > info->attr.mq_msgsize)) { in do_mq_timedsend()
1220 if (unlikely(msg_len < info->attr.mq_msgsize)) { in do_mq_timedreceive()
1526 compat_long_t mq_msgsize; /* maximum message size */ member
1542 attr->mq_msgsize = v.mq_msgsize; in get_compat_mq_attr()
1555 v.mq_msgsize = attr->mq_msgsize; in put_compat_mq_attr()