Lines Matching refs:amount
357 * Return the amount of resource that can be allocated by 'p' before
377 * If the limit isn't exceeded, it decreases the usage amount to zero.
411 * if we changed the rule lowering the allowed amount, it could
493 * Check whether the proc 'p' can allocate 'amount' of 'resource' in addition
498 rctl_enforce(struct proc *p, int resource, uint64_t amount)
523 if (available >= (int64_t)amount) {
706 uint64_t amount = UINT64_MAX;
721 if (rule->rr_amount < amount)
722 amount = rule->rr_amount;
725 return (amount);
1320 * rules, remove ones differing only by "amount".
1482 int64_t amount;
1522 amount = rule->rr_amount;
1523 if (amount != RCTL_AMOUNT_UNDEFINED &&
1525 amount /= 1000000;
1530 amount);
1592 int64_t amount;
1602 amount = racct->r_resources[i];
1605 amount /= 1000000;
1606 sbuf_printf(sb, "%s=%jd,", rctl_resource_name(i), amount);