Home
last modified time | relevance | path

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

/ipc/
Dmqueue.c312 unsigned long mq_bytes, mq_treesize; in mqueue_get_inode() local
371 mq_bytes = info->attr.mq_maxmsg * info->attr.mq_msgsize; in mqueue_get_inode()
372 if (mq_bytes + mq_treesize < mq_bytes) in mqueue_get_inode()
374 mq_bytes += mq_treesize; in mqueue_get_inode()
376 if (u->mq_bytes + mq_bytes < u->mq_bytes || in mqueue_get_inode()
377 u->mq_bytes + mq_bytes > rlimit(RLIMIT_MSGQUEUE)) { in mqueue_get_inode()
383 u->mq_bytes += mq_bytes; in mqueue_get_inode()
539 unsigned long mq_bytes, mq_treesize; in mqueue_evict_inode() local
546 mq_bytes = mq_treesize + (info->attr.mq_maxmsg * in mqueue_evict_inode()
550 user->mq_bytes -= mq_bytes; in mqueue_evict_inode()