Lines Matching defs:ptr
104 void *ptr;
106 if (mdb_vread(&ptr, sizeof (void *), wsp->walk_addr) == -1) {
111 if (ptr == (void *)-1) {
113 } else if (ptr == NULL) {
116 status = wsp->walk_callback((uintptr_t)ptr, NULL,
216 mdb_printf("%?s %20s = 0x%p\n", "", "ptr", ap->ippa_ptr);
254 uintptr_t ptr;
261 ptr = (uintptr_t)ap->ippa_mod;
262 if (mdb_vread(imp, sizeof (ipp_mod_t), ptr) == -1) {
263 mdb_warn("failed to read ipp_mod_t at %p", ptr);
569 uintptr_t ptr,
579 if (mdb_vread(array, sizeof (ipp_class_t) * nelt, ptr) == -1) {
580 mdb_warn("failed to read ipp_class_t array at %p", ptr);
594 ptr + (i * sizeof (ipp_class_t)), cp->ippc_name, buf);
602 uintptr_t ptr,
612 if (mdb_vread(array, sizeof (ipp_log_t) * nelt, ptr) == -1) {
613 mdb_warn("failed to read ipp_log_t array at %p", ptr);
627 ptr + (i * sizeof (ipp_class_t)), lp->ippl_name, buf);
639 uintptr_t ptr;
665 if (mdb_vread(&ptr, sizeof (uintptr_t), addr) == -1) {
672 if (mdb_vread(ap, sizeof (ipp_action_t), ptr) == -1) {
673 mdb_warn("failed to read ipp_action_t at %p", ptr);
680 mdb_warn("corrupt action at %p", ptr);