Home
last modified time | relevance | path

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

/linux-6.6.21/ipc/
Dmqueue.c309 unsigned long mq_bytes, mq_treesize; in mqueue_get_inode() local
368 mq_bytes = info->attr.mq_maxmsg * info->attr.mq_msgsize; in mqueue_get_inode()
369 if (mq_bytes + mq_treesize < mq_bytes) in mqueue_get_inode()
371 mq_bytes += mq_treesize; in mqueue_get_inode()
377 msgqueue = inc_rlimit_ucounts(info->ucounts, UCOUNT_RLIMIT_MSGQUEUE, mq_bytes); in mqueue_get_inode()
379 dec_rlimit_ucounts(info->ucounts, UCOUNT_RLIMIT_MSGQUEUE, mq_bytes); in mqueue_get_inode()
538 unsigned long mq_bytes, mq_treesize; in mqueue_evict_inode() local
545 mq_bytes = mq_treesize + (info->attr.mq_maxmsg * in mqueue_evict_inode()
549 dec_rlimit_ucounts(info->ucounts, UCOUNT_RLIMIT_MSGQUEUE, mq_bytes); in mqueue_evict_inode()