Lines Matching refs:ucounts
148 struct ucounts *ucounts; /* user who created, for accounting */
322 info->ucounts = NULL; /* set when all is ok */
372 info->ucounts = get_ucounts(current_ucounts());
373 if (info->ucounts) {
377 msgqueue = inc_rlimit_ucounts(info->ucounts, UCOUNT_RLIMIT_MSGQUEUE, mq_bytes);
379 dec_rlimit_ucounts(info->ucounts, UCOUNT_RLIMIT_MSGQUEUE, mq_bytes);
381 put_ucounts(info->ucounts);
382 info->ucounts = NULL;
537 if (info->ucounts) {
549 dec_rlimit_ucounts(info->ucounts, UCOUNT_RLIMIT_MSGQUEUE, mq_bytes);
559 put_ucounts(info->ucounts);
560 info->ucounts = NULL;