Lines Matching refs:inc
2872 * rctl_incr_locked_mem(proc_t *p, kproject_t *proj, rctl_qty_t inc,
2888 rctl_incr_locked_mem(proc_t *p, kproject_t *proj, rctl_qty_t inc,
2912 if ((projp->kpj_data.kpd_locked_mem + inc) <
2917 if (projp->kpj_data.kpd_locked_mem + inc >
2920 p, &e, inc, 0) & RCT_DENY) {
2929 if ((zonep->zone_locked_mem + inc) < zonep->zone_locked_mem) {
2933 if (zonep->zone_locked_mem + inc > zonep->zone_locked_mem_ctl) {
2935 p, &e, inc, 0) & RCT_DENY) {
2941 zonep->zone_locked_mem += inc;
2942 projp->kpj_data.kpd_locked_mem += inc;
2944 p->p_locked_mem += inc;
2952 * rctl_decr_locked_mem(proc_t *p, kproject_t *proj, rctl_qty_t inc,
2965 rctl_decr_locked_mem(proc_t *p, kproject_t *proj, rctl_qty_t inc,
2982 zonep->zone_locked_mem -= inc;
2983 projp->kpj_data.kpd_locked_mem -= inc;
2987 p->p_locked_mem -= inc;