Home
last modified time | relevance | path

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

/NextBSD/sys/kern/
HDkern_racct.c173 [RACCT_PCTCPU] =
529 if ((resource == RACCT_PCTCPU) && in racct_adjust_resource()
530 (racct->r_resources[RACCT_PCTCPU] > 100 * 1000000 * (int64_t)MAXCPU)) in racct_adjust_resource()
531 racct->r_resources[RACCT_PCTCPU] = 100 * 1000000 * (int64_t)MAXCPU; in racct_adjust_resource()
1007 racct_add_cred_locked(p->p_ucred, RACCT_PCTCPU, pct); in racct_proc_exit()
1104 (p->p_racct->r_resources[RACCT_PCTCPU] <= pcpu_threshold)) in racct_proc_throttle()
1213 racct_decay(RACCT_PCTCPU); in racctd()
1219 racct_set(p, RACCT_PCTCPU, 0); in racctd()
1253 racct_set_force_locked(p, RACCT_PCTCPU, pct); in racctd()
HDkern_rctl.c130 { "pcpu", RACCT_PCTCPU },
303 if (rule->rr_resource != RACCT_PCTCPU) in rctl_pcpu_available()
/NextBSD/sys/sys/
HDracct.h73 #define RACCT_PCTCPU 20 macro
74 #define RACCT_MAX RACCT_PCTCPU