Lines Matching refs:blk

74 build_rctlblk(rctlblk_t *blk, int comp_num, char *component)  in build_rctlblk()  argument
78 uint_t act = rctlblk_get_local_action(blk, &sig); in build_rctlblk()
87 rctlblk_set_privilege(blk, RCPRIV_BASIC); in build_rctlblk()
93 rctlblk_set_privilege(blk, RCPRIV_PRIVILEGED); in build_rctlblk()
117 rctlblk_set_value(blk, (rctl_qty_t)val); in build_rctlblk()
126 rctlblk_set_local_action(blk, 0, 0); in build_rctlblk()
133 rctlblk_set_local_action(blk, act, sig); in build_rctlblk()
157 rctlblk_set_local_action(blk, act, sig); in build_rctlblk()
181 reinit_blk(rctlblk_t *blk, int local_action) in reinit_blk() argument
183 rctlblk_set_privilege(blk, RCPRIV_PRIVILEGED); in reinit_blk()
184 rctlblk_set_value(blk, 0); in reinit_blk()
185 rctlblk_set_local_flags(blk, 0); in reinit_blk()
186 rctlblk_set_local_action(blk, local_action, 0); in reinit_blk()
197 rctlblk_t *blk; in rctl_set() local
231 blk = ablk; in rctl_set()
241 (void) pr_getrctl(Pr, ctl_name, NULL, blk, RCTL_FIRST); in rctl_set()
247 rctlblk_set_privilege(blk, RCPRIV_PRIVILEGED); in rctl_set()
248 rctlblk_set_value(blk, 0); in rctl_set()
249 rctlblk_set_local_flags(blk, 0); in rctl_set()
251 if (rctlblk_get_global_flags(blk) & RCTL_GLOBAL_DENY_ALWAYS) in rctl_set()
256 rctlblk_set_local_action(blk, local_act, 0); in rctl_set()
278 if (build_rctlblk(blk, component, in rctl_set()
288 (rctlblk_get_privilege(blk) == in rctl_set()
292 if (rctlblk_get_privilege(blk) in rctl_set()
296 if (rctlblk_get_privilege(blk) in rctl_set()
306 blk = RCTLBLK_INC(ablk, in rctl_set()
309 reinit_blk(blk, in rctl_set()
321 if (build_rctlblk(blk, component, in rctl_set()
393 blk = ablk; in rctl_set()
396 if (pr_setprojrctl(Pr, ctl_name, blk, count, flags) == -1) in rctl_set()
402 NULL, blk, RCTL_INSERT) == -1) { in rctl_set()
407 blk = RCTLBLK_INC(ablk, valuecount); in rctl_set()