Lines Matching refs:p_racct
557 racct_adjust_resource(p->p_racct, resource, amount); in racct_add_locked()
634 racct_adjust_resource(p->p_racct, resource, amount); in racct_add_force()
657 old_amount = p->p_racct->r_resources[resource]; in racct_set_locked()
688 racct_adjust_resource(p->p_racct, resource, diff_proc); in racct_set_locked()
733 old_amount = p->p_racct->r_resources[resource]; in racct_set_force_locked()
750 racct_adjust_resource(p->p_racct, resource, diff_proc); in racct_set_force_locked()
847 KASSERT(amount <= p->p_racct->r_resources[resource], in racct_sub()
850 (intmax_t)p->p_racct->r_resources[resource], p->p_comm, p->p_pid)); in racct_sub()
852 racct_adjust_resource(p->p_racct, resource, -amount); in racct_sub()
908 racct_create(&child->p_racct); in racct_proc_fork()
928 if (parent->p_racct->r_resources[i] == 0 || in racct_proc_fork()
933 parent->p_racct->r_resources[i]); in racct_proc_fork()
1010 if (p->p_racct->r_resources[i] == 0) in racct_proc_exit()
1021 rctl_racct_release(p->p_racct); in racct_proc_exit()
1023 racct_destroy(&p->p_racct); in racct_proc_exit()
1052 racct_sub_racct(olduip->ui_racct, p->p_racct); in racct_proc_ucred_changed()
1053 racct_add_racct(newuip->ui_racct, p->p_racct); in racct_proc_ucred_changed()
1056 racct_sub_racct(oldlc->lc_racct, p->p_racct); in racct_proc_ucred_changed()
1057 racct_add_racct(newlc->lc_racct, p->p_racct); in racct_proc_ucred_changed()
1062 p->p_racct); in racct_proc_ucred_changed()
1065 p->p_racct); in racct_proc_ucred_changed()
1104 (p->p_racct->r_resources[RACCT_PCTCPU] <= pcpu_threshold)) in racct_proc_throttle()
1149 wakeup(p->p_racct); in racct_proc_wakeup()