Lines Matching defs:rblk
3911 get_priv_rctl(struct ps_prochandle *pr, char *name, rctlblk_t *rblk)
3913 if (pr_getrctl(pr, name, NULL, rblk, RCTL_FIRST))
3916 if (rctlblk_get_privilege(rblk) == RCPRIV_PRIVILEGED)
3919 while (pr_getrctl(pr, name, rblk, rblk, RCTL_NEXT) == 0) {
3920 if (rctlblk_get_privilege(rblk) == RCPRIV_PRIVILEGED)
3935 rctlblk_t *rblk;
3942 if ((rblk = (rctlblk_t *)malloc(rctlblk_size())) == NULL) {
3949 free(rblk);
3960 while (get_priv_rctl(p.pr, rname, rblk)) {
3961 if (pr_setrctl(p.pr, rname, NULL, rblk, RCTL_DELETE) !=
3971 if ((err = zonecfg_construct_rctlblk(valptr, rblk))
3977 if (pr_setrctl(p.pr, rname, NULL, rblk, RCTL_INSERT)) {
3986 free(rblk);