Home
last modified time | relevance | path

Searched refs:RACCT_PCTCPU (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/kern/
H A Dkern_racct.c173 [RACCT_PCTCPU] =
533 if ((resource == RACCT_PCTCPU) && in racct_adjust_resource()
534 (racct->r_resources[RACCT_PCTCPU] > 100 * 1000000 * (int64_t)MAXCPU)) in racct_adjust_resource()
535 racct->r_resources[RACCT_PCTCPU] = 100 * 1000000 * (int64_t)MAXCPU; in racct_adjust_resource()
679 if (resource == RACCT_PCTCPU) { in racct_set_locked()
1018 racct_add_cred_locked(p->p_ucred, RACCT_PCTCPU, pct); in racct_proc_exit()
1206 r_old = racct->r_resources[RACCT_PCTCPU]; in racct_decay_callback()
1213 racct->r_resources[RACCT_PCTCPU] = r_new; in racct_decay_callback()
1263 racct_set(p, RACCT_PCTCPU, 0); in racctd()
1297 racct_set_locked(p, RACCT_PCTCPU, pct, 1); in racctd()
[all …]
H A Dkern_rctl.c167 { "pcpu", RACCT_PCTCPU },
436 if (rule->rr_resource != RACCT_PCTCPU) in rctl_pcpu_available()
1295 rule->rr_resource != RACCT_PCTCPU) { in rctl_rule_add()
1305 rule->rr_resource == RACCT_PCTCPU) { in rctl_rule_add()
/freebsd/sys/sys/
H A Dracct.h72 #define RACCT_PCTCPU 20 macro