Home
last modified time | relevance | path

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

/Linux-v5.10/ipc/
Dmqueue.c311 unsigned long mq_bytes, mq_treesize; in mqueue_get_inode() local
370 mq_bytes = info->attr.mq_maxmsg * info->attr.mq_msgsize; in mqueue_get_inode()
371 if (mq_bytes + mq_treesize < mq_bytes) in mqueue_get_inode()
373 mq_bytes += mq_treesize; in mqueue_get_inode()
375 if (u->mq_bytes + mq_bytes < u->mq_bytes || in mqueue_get_inode()
376 u->mq_bytes + mq_bytes > rlimit(RLIMIT_MSGQUEUE)) { in mqueue_get_inode()
382 u->mq_bytes += mq_bytes; in mqueue_get_inode()
525 unsigned long mq_bytes, mq_treesize; in mqueue_evict_inode() local
532 mq_bytes = mq_treesize + (info->attr.mq_maxmsg * in mqueue_evict_inode()
536 user->mq_bytes -= mq_bytes; in mqueue_evict_inode()
/Linux-v5.10/include/linux/sched/
Duser.h25 unsigned long mq_bytes; /* How many bytes can be allocated to mqueue? */ member