Lines Matching refs:ucounts
147 struct ucounts *ucounts; /* user who created, for accounting */ member
323 info->ucounts = NULL; /* set when all is ok */ in mqueue_get_inode()
373 info->ucounts = get_ucounts(current_ucounts()); in mqueue_get_inode()
374 if (info->ucounts) { in mqueue_get_inode()
378 msgqueue = inc_rlimit_ucounts(info->ucounts, UCOUNT_RLIMIT_MSGQUEUE, mq_bytes); in mqueue_get_inode()
380 dec_rlimit_ucounts(info->ucounts, UCOUNT_RLIMIT_MSGQUEUE, mq_bytes); in mqueue_get_inode()
382 put_ucounts(info->ucounts); in mqueue_get_inode()
383 info->ucounts = NULL; in mqueue_get_inode()
525 if (info->ucounts) { in mqueue_evict_inode()
537 dec_rlimit_ucounts(info->ucounts, UCOUNT_RLIMIT_MSGQUEUE, mq_bytes); in mqueue_evict_inode()
547 put_ucounts(info->ucounts); in mqueue_evict_inode()
548 info->ucounts = NULL; in mqueue_evict_inode()