Searched refs:RACCT_PCTCPU (Results 1 – 3 of 3) sorted by relevance
178 [RACCT_PCTCPU] =542 if ((resource == RACCT_PCTCPU) && in racct_adjust_resource()543 (racct->r_resources[RACCT_PCTCPU] > 100 * 1000000 * (int64_t)MAXCPU)) in racct_adjust_resource()544 racct->r_resources[RACCT_PCTCPU] = 100 * 1000000 * (int64_t)MAXCPU; in racct_adjust_resource()688 if (resource == RACCT_PCTCPU) { in racct_set_locked()1015 racct_add_cred_locked(p->p_ucred, RACCT_PCTCPU, pct); in racct_proc_exit()1180 r_old = racct->r_resources[RACCT_PCTCPU]; in racct_decay_callback()1187 racct->r_resources[RACCT_PCTCPU] = r_new; in racct_decay_callback()1235 racct_set(p, RACCT_PCTCPU, 0); in racctd()1275 racct_set_locked(p, RACCT_PCTCPU, pct, 1); in racctd()[all …]
165 { "pcpu", RACCT_PCTCPU },434 if (rule->rr_resource != RACCT_PCTCPU) in rctl_pcpu_available()1288 rule->rr_resource != RACCT_PCTCPU) { in rctl_rule_add()1298 rule->rr_resource == RACCT_PCTCPU) { in rctl_rule_add()
74 #define RACCT_PCTCPU 20 macro