Lines Matching refs:uintptr_t
141 ps_threadprint(uintptr_t addr, const void *data, void *private)
167 ps(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
209 mdb_vread(&pid, sizeof (pid), (uintptr_t)pr.p_pidp);
210 mdb_vread(&pgid, sizeof (pgid), (uintptr_t)pr.p_pgidp);
211 mdb_vread(&cred, sizeof (cred), (uintptr_t)pr.p_cred);
212 mdb_vread(&session, sizeof (session), (uintptr_t)pr.p_sessp);
213 mdb_vread(&sid, sizeof (sid), (uintptr_t)session.s_sidp);
215 mdb_vread(&tk, sizeof (tk), (uintptr_t)pr.p_task);
217 mdb_vread(&pj, sizeof (pj), (uintptr_t)tk.tk_proj);
219 mdb_vread(&zn, sizeof (zone_t), (uintptr_t)pr.p_zone);
248 uintptr_t pg_xaddr;
258 pgrep_cb(uintptr_t addr, const void *pdata, void *data)
318 pgrep(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
397 task(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
417 if (mdb_vread(&pj, sizeof (kproject_t), (uintptr_t)tk.tk_proj) == -1) {
428 project(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
486 (uintptr_t)(((callout_t *)wsp->walk_data)->c_idnext);
489 (uintptr_t)(((callout_t *)wsp->walk_data)->c_clnext);
532 wsp->walk_addr = (uintptr_t)
573 wsp->walk_addr = (uintptr_t)cot_walk_data->ct0;
604 (uintptr_t)(cotwd->ct.ct_idhash)) != size) {
612 (uintptr_t)cotwd->ct.ct_clhash) == -1) {
621 (uintptr_t)cotwd->ct.ct_kstat_data) == -1) {
634 wsp->walk_addr = (uintptr_t)((char *)wsp->walk_addr +
697 uintptr_t funcaddr; /* function address or NULL */
698 uintptr_t param; /* parameter to function or NULL */
712 callouts_cb(uintptr_t addr, const void *data, void *priv)
738 (coargs->funcaddr != (uintptr_t)co->c_func)) {
742 (coargs->param != (uintptr_t)co->c_arg)) {
759 (uintptr_t)co->c_list + offsetof(callout_list_t,
767 (uintptr_t)co->c_list + offsetof(callout_list_t,
894 callout_list_cb(uintptr_t addr, const void *data, void *priv)
1034 (uintptr_t)coptr) == -1) {
1047 callout_t_cb(uintptr_t addr, const void *data, void *priv)
1141 (uintptr_t)clptr) == -1) {
1152 coargs, (uintptr_t)clptr) == -1) {
1163 coargs, (uintptr_t)clptr) == -1) {
1182 coargs, (uintptr_t)clptr) == -1) {
1198 (uintptr_t)coptr) == -1) {
1221 coargs, (uintptr_t)coptr) == -1) {
1274 callout(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1281 uintptr_t Stmp, Ctmp; /* for getopt. */
1300 't', MDB_OPT_UINTPTR_SET, &tflag, (uintptr_t *)&coargs.time,
1301 'a', MDB_OPT_UINTPTR_SET, &aflag, (uintptr_t *)&coargs.atime,
1302 'b', MDB_OPT_UINTPTR_SET, &bflag, (uintptr_t *)&coargs.btime,
1358 (uintptr_t)&(coargs.cpu->cpu_seqid)) == -1) {
1454 calloutid(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1530 if (mdb_vread(&ct, sizeof (callout_table_t), (uintptr_t)ctptr) == -1) {
1537 (uintptr_t)ct.ct_idhash) == -1) {
1560 (uintptr_t)coptr) == -1) {
1617 class(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1644 (uintptr_t)class_tbl[i].cl_name) == -1)
1657 vnode2path(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1659 uintptr_t rootdir;
1719 wsp->walk_addr = (uintptr_t)ld.l_next;
1720 if (wsp->walk_addr == (uintptr_t)wsp->walk_data)
1736 wsp->walk_addr = (uintptr_t)sym.st_value;
1737 wsp->walk_data = (void *)(uintptr_t)(sym.st_value + sym.st_size);
1743 uintptr_t startaddr;
1755 lg_walk_cb(uintptr_t addr, const void *data, void *priv)
1771 if (wsp->walk_addr >= (uintptr_t)wsp->walk_data)
1787 lw.startaddr = (uintptr_t)&(graph->active_locks);
1793 lw.startaddr = (uintptr_t)&(graph->sleeping_locks);
1814 lminfo_cb(uintptr_t addr, const void *data, void *priv)
1829 mdb_vnode2path((uintptr_t)ld->l_vnode, buf,
1838 lminfo(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1849 whereopen_fwalk(uintptr_t addr, struct file *f, uintptr_t *target)
1851 if ((uintptr_t)f->f_vnode == *target) {
1861 whereopen_pwalk(uintptr_t addr, void *ignored, uintptr_t *target)
1863 uintptr_t t = *target;
1878 whereopen(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
1880 uintptr_t target = addr;
1925 kmastat_cpu_avail(uintptr_t addr, const kmem_cpu_cache_t *ccp, int *avail)
1946 kmastat_cpu_alloc(uintptr_t addr, const kmem_cpu_cache_t *ccp, int *alloc)
1955 kmastat_slab_avail(uintptr_t addr, const kmem_slab_t *sp, int *avail)
1963 uintptr_t kv_addr;
1976 kmastat_cache(uintptr_t addr, const kmem_cache_t *cp, kmastat_args_t *kap)
2002 if (kv->kv_addr == (uintptr_t)cp->cache_arena)
2008 kv->kv_addr = (uintptr_t)cp->cache_arena;
2030 kmastat_vmem_totals(uintptr_t addr, const vmem_t *v, kmastat_args_t *kap)
2054 kmastat_vmem(uintptr_t addr, const vmem_t *v, const uint_t *shiftp)
2058 uintptr_t paddr;
2062 for (paddr = (uintptr_t)v->vm_source; paddr != NULL; ident += 4) {
2068 paddr = (uintptr_t)parent.vm_source;
2092 kmastat(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
2182 uintptr_t kg_kvseg;
2183 uintptr_t kg_kvseg32;
2184 uintptr_t kg_kvseg_core;
2185 uintptr_t kg_segkpm;
2186 uintptr_t kg_heap_lp_base;
2187 uintptr_t kg_heap_lp_end;
2191 kgrep_walk_seg(uintptr_t addr, const struct seg *seg, kgrep_walk_data_t *kg)
2193 uintptr_t base = (uintptr_t)seg->s_base;
2199 if ((uintptr_t)seg->s_ops == kg->kg_segkpm)
2207 kgrep_walk_vseg(uintptr_t addr, const vmem_seg_t *seg, kgrep_walk_data_t *kg)
2222 kgrep_xwalk_vseg(uintptr_t addr, const vmem_seg_t *seg, kgrep_walk_data_t *kg)
2228 kgrep_walk_vmem(uintptr_t addr, const vmem_t *vmem, kgrep_walk_data_t *kg)
2298 kg.kg_kvseg = (uintptr_t)kvseg.st_value;
2299 kg.kg_kvseg32 = (uintptr_t)kvseg32.st_value;
2300 kg.kg_kvseg_core = (uintptr_t)kvseg_core.st_value;
2301 kg.kg_segkpm = (uintptr_t)segkpm.st_value;
2359 (uintptr_t)p.p_user.u_finfo.fi_list) == -1) {
2378 uintptr_t fp;
2384 if ((fp = (uintptr_t)fw->fw_flist[fw->fw_ndx++].uf_file) == NULL)
2387 (void) mdb_vread(&file, sizeof (file), (uintptr_t)fp);
2396 uintptr_t fp;
2401 if ((fp = (uintptr_t)fw->fw_flist[fw->fw_ndx++].uf_file) != NULL)
2402 (void) mdb_vread(&file, sizeof (file), (uintptr_t)fp);
2437 uintptr_t vp;
2438 uintptr_t pp;
2441 vp = (uintptr_t)((struct file *)wsp->walk_layer)->f_vnode;
2449 pp = (uintptr_t)vn.v_data;
2470 uintptr_t vp;
2485 vp = (uintptr_t)port.port_vnode;
2516 uintptr_t evp;
2525 evp = ((uintptr_t)(((char *)pevd->pev_node) - pevd->pev_offset));
2544 uintptr_t *pw_stack;
2560 wsp->walk_addr = (uintptr_t)sym.st_value;
2571 pw->pw_stack = mdb_alloc(pw->pw_max * sizeof (uintptr_t), UM_SLEEP);
2581 uintptr_t addr = wsp->walk_addr;
2582 uintptr_t cld, sib;
2592 cld = (uintptr_t)pr.p_child;
2593 sib = (uintptr_t)pr.p_sibling;
2652 mdb_free(pw->pw_stack, pw->pw_max * sizeof (uintptr_t));
2665 wsp->walk_addr = (uintptr_t)task.tk_memb_list;
2686 wsp->walk_addr = (uintptr_t)proc.p_tasknext;
2706 uintptr_t addr = wsp->walk_addr;
2717 wsp->walk_addr = (uintptr_t)pj.kpj_next;
2733 uintptr_t lhs = *((uintptr_t *)l);
2734 uintptr_t rhs = *((uintptr_t *)r);
2750 uintptr_t *cw_array;
2759 uintptr_t current, first;
2761 uintptr_t panicstr, addr;
2782 addr = (uintptr_t)sym.st_value;
2797 mdb_zalloc((max_ncpus + 1) * sizeof (uintptr_t), UM_SLEEP | UM_GC);
2816 } while ((current = (uintptr_t)cpu.cpu_next) != first);
2818 qsort(cw->cw_array, i, sizeof (uintptr_t), cpu_walk_cmp);
2829 uintptr_t addr = cw->cw_array[cw->cw_ndx++];
2844 uintptr_t **cid_ithr;
2852 cpuinfo_walk_ithread(uintptr_t addr, const kthread_t *thr, cpuinfo_data_t *cid)
2866 (void) mdb_vread(&c, sizeof (c), (uintptr_t)thr->t_bound_cpu);
2915 cpuinfo_walk_cpu(uintptr_t addr, const cpu_t *cpu, cpuinfo_data_t *cid)
2920 uintptr_t pinned;
2951 if (mdb_vread(&disp, sizeof (disp_t), (uintptr_t)cpu->cpu_disp) == -1) {
2960 if (mdb_vread(&t, sizeof (t), (uintptr_t)cpu->cpu_thread) != -1) {
2983 if (mdb_vread(&p, sizeof (p), (uintptr_t)t.t_procp) != -1) {
3032 uintptr_t iaddr = cid->cid_ithr[cpu->cpu_id][i];
3061 pinned = (uintptr_t)t.t_intr;
3069 (uintptr_t)pinned) == -1) {
3075 (uintptr_t)t.t_procp) == -1) {
3085 pinned == (uintptr_t)cpu->cpu_idle_thread ?
3098 (uintptr_t)disp.disp_q) == -1) {
3111 uintptr_t taddr = (uintptr_t)dq[i].dq_first;
3120 (uintptr_t)t.t_procp) == -1) {
3130 taddr = (uintptr_t)t.t_link;
3146 cpuinfo(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3174 cid.cid_ithr = mdb_alloc(sizeof (uintptr_t **)
3178 cid.cid_ithr[i] = mdb_zalloc(sizeof (uintptr_t *) *
3219 flipone(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3233 as2proc_walk(uintptr_t addr, const proc_t *p, struct as **asp)
3242 as2proc(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3257 ptree_walk(uintptr_t addr, const proc_t *p, void *ignored)
3261 uintptr_t paddr;
3263 for (paddr = (uintptr_t)p->p_parent; paddr != NULL; ident += 5) {
3265 paddr = (uintptr_t)parent.p_parent;
3276 ptree_ancestors(uintptr_t addr, uintptr_t start)
3286 ptree_ancestors((uintptr_t)p.p_parent, start);
3294 ptree(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3311 fd(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3340 (uintptr_t)&p.p_user.u_finfo.fi_list[fdnum]) == -1) {
3352 pid2proc(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3385 sysfile_vmem_seg(uintptr_t addr, const vmem_seg_t *vsp, void **target)
3396 sysfile(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3420 if (mdb_vread(&sys, sizeof (sys), (uintptr_t)sysp) == -1) {
3426 (uintptr_t)sys.sys_modnam) == -1) {
3431 mdb_readstr(var, 256, (uintptr_t)sys.sys_ptr) == -1) {
3442 straddr = (void *)(uintptr_t)sys.sys_info;
3447 (uintptr_t)mod_sysfile_arena) == 0 &&
3450 (uintptr_t)sys.sys_info) != -1) {
3470 didmatch(uintptr_t addr, const kthread_t *thr, kt_did_t *didp)
3482 did2thread(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3516 uintptr_t addr = wsp->walk_addr;
3527 wsp->walk_addr = (uintptr_t)eq.eq_next;
3532 uintptr_t *eqd_stack;
3547 eqd_push_list(eqd_walk_data_t *eqdp, uintptr_t addr)
3563 eqdp->eqd_stack[eqdp->eqd_qpos++] = (uintptr_t)eqe.eqe_data;
3564 addr = (uintptr_t)eqe.eqe_prev;
3582 mdb_vread(&eqe, sizeof (eqe), (uintptr_t)eq.eq_ptail) == -1) {
3590 eqdp->eqd_stack = mdb_zalloc(sizeof (uintptr_t) * eq.eq_qlen, UM_SLEEP);
3600 eqd_push_list(eqdp, (uintptr_t)eq.eq_pend);
3609 if (eqdp->eqd_stack[i] == (uintptr_t)eqe.eqe_data) {
3622 (uintptr_t)addr) == sizeof (eqe); addr = eqe.eqe_next)
3629 eqd_push_list(eqdp, (uintptr_t)eq.eq_ptail);
3637 uintptr_t addr;
3657 mdb_free(eqdp->eqd_stack, sizeof (uintptr_t) * eqdp->eqd_qlen);
3665 errorq(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3741 panicinfo(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
3798 time(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)