Lines Matching refs:rval1
400 rctl_val_t *rval1; in rctlsys_set() local
451 rval1 = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_set()
588 if (ret = rctl_local_get(hndl, NULL, rval1, pp)) { in rctlsys_set()
594 if (rval1->rcv_privilege == RCPRIV_SYSTEM || in rctlsys_set()
595 rctl_val_cmp(oval, rval1, 0) == 0) in rctlsys_set()
598 tval = rval1; in rctlsys_set()
599 rval1 = rval2; in rctlsys_set()
601 } while (rctl_local_get(hndl, rval2, rval1, pp) == 0); in rctlsys_set()
603 if (rval1->rcv_privilege == RCPRIV_SYSTEM) { in rctlsys_set()
604 if (rctl_val_cmp(oval, rval1, 1) == 0) in rctlsys_set()
612 bcopy(rval1, oval, sizeof (rctl_val_t)); in rctlsys_set()
704 (rctl_local_get(hndl, NULL, rval1, pp) == 0)) { in rctlsys_set()
706 if (rval1->rcv_privilege == RCPRIV_BASIC && in rctlsys_set()
707 rval1->rcv_action_recipient == curproc) { in rctlsys_set()
708 (void) rctl_local_delete(hndl, rval1, in rctlsys_set()
710 if (rctl_local_get(hndl, NULL, rval1, in rctlsys_set()
715 tval = rval1; in rctlsys_set()
716 rval1 = rval2; in rctlsys_set()
718 } while (rctl_local_get(hndl, rval2, rval1, pp) in rctlsys_set()
769 kmem_cache_free(rctl_val_cache, rval1); in rctlsys_set()