Lines Matching defs:rctl
30 #include <sys/rctl.h>
71 rctl(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
73 rctl_t rctl;
81 if (mdb_vread(&rctl, sizeof (rctl_t), addr) == -1) {
94 if (rctl.rc_id != hndl)
99 (uintptr_t)rctl.rc_dict_entry) == -1) {
101 addr, rctl.rc_dict_entry);
110 mdb_printf("%0?p\t%3d : %s\n", addr, rctl.rc_id, name);
112 if (mdb_pwalk("rctl_val", (mdb_walk_cb_t)print_val, &(rctl.rc_cursor),
193 * If a handle is specified, print only the rctl matching that handle
217 * structure so we know what type of rctl to look for.
280 mdb_warn("Unknown rctl type %d", i);
284 if (mdb_pwalk_dcmd("rctl_set", "rctl", argc, argv, set) == -1) {
397 mdb_warn("cannot read rctl hash at %p", rset.rcs_ctls);
418 rctl_t rctl;
441 if (mdb_vread(&rctl, sizeof (rctl_t), wsp->walk_addr) == -1) {
447 status = wsp->walk_callback(wsp->walk_addr, &rctl, wsp->walk_cbdata);
449 wsp->walk_addr = (uintptr_t)rctl.rc_next;
466 rctl_t rctl;
468 if (mdb_vread(&rctl, sizeof (rctl_t), wsp->walk_addr) == -1) {
469 mdb_warn("failed to read rctl at %p", wsp->walk_addr);
472 wsp->walk_addr = (uintptr_t)rctl.rc_values;
473 wsp->walk_data = rctl.rc_values;
604 * Validate a rctl pointer by checking:
605 * - rctl_val_t's for that rctl form an ordered, non-circular list
640 mdb_warn("failed to read rctl structure at %p", addr);
658 /* Walk through each val in this rctl for individual validation. */