Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dkern_racct.c180 [RACCT_PCTCPU] =
540 if ((resource == RACCT_PCTCPU) && in racct_adjust_resource()
541 (racct->r_resources[RACCT_PCTCPU] > 100 * 1000000 * (int64_t)MAXCPU)) in racct_adjust_resource()
542 racct->r_resources[RACCT_PCTCPU] = 100 * 1000000 * (int64_t)MAXCPU; in racct_adjust_resource()
686 if (resource == RACCT_PCTCPU) { in racct_set_locked()
1025 racct_add_cred_locked(p->p_ucred, RACCT_PCTCPU, pct); in racct_proc_exit()
1208 r_old = racct->r_resources[RACCT_PCTCPU]; in racct_decay_callback()
1215 racct->r_resources[RACCT_PCTCPU] = r_new; in racct_decay_callback()
1265 racct_set(p, RACCT_PCTCPU, 0); in racctd()
1299 racct_set_locked(p, RACCT_PCTCPU, pct, 1); in racctd()
[all …]
H A Dkern_rctl.c171 { "pcpu", RACCT_PCTCPU },
440 if (rule->rr_resource != RACCT_PCTCPU) in rctl_pcpu_available()
1299 rule->rr_resource != RACCT_PCTCPU) { in rctl_rule_add()
1309 rule->rr_resource == RACCT_PCTCPU) { in rctl_rule_add()
/f-stack/freebsd/sys/
H A Dracct.h75 #define RACCT_PCTCPU 20 macro