Lines Matching refs:oval
317 rctl_val_t *oval;
329 oval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP);
331 rctlsys_rblk_xfrm(oblk, NULL, oval, RBX_FROM_BLK | RBX_VAL);
333 ret = rctl_local_get(hndl, oval, nval, curproc);
336 kmem_cache_free(rctl_val_cache, oval);
398 rctl_val_t *oval;
449 oval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP);
565 rctlsys_rblk_xfrm(oblk, NULL, oval, RBX_FROM_BLK | RBX_VAL);
567 if (rctl_invalid_value(rde, oval)) {
572 if (oval->rcv_privilege == RCPRIV_BASIC) {
574 oval->rcv_action_recipient = curproc;
575 oval->rcv_action_recip_pid = curproc->p_pid;
578 oval->rcv_action_recipient = NULL;
579 oval->rcv_action_recip_pid = -1;
594 rctl_val_cmp(oval, rval1, 0) == 0)
603 if (rctl_val_cmp(oval, rval1, 1) == 0)
611 bcopy(rval1, oval, sizeof (rctl_val_t));
631 oval->rcv_privilege == RCPRIV_PRIVILEGED) &&
641 if (oval->rcv_privilege == RCPRIV_PRIVILEGED &&
654 if (oval->rcv_privilege == RCPRIV_PRIVILEGED &&
657 oval->rcv_flagaction != nval->rcv_flagaction ||
658 oval->rcv_action_signal != nval->rcv_action_signal ||
659 oval->rcv_value < nval->rcv_value)) &&
665 if (ret = rctl_local_replace(hndl, oval, nval, pp)) {
767 kmem_cache_free(rctl_val_cache, oval);