/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | libumem.c | 165 if (mdb_pwalk(walk, (mdb_walk_cb_t)umastat_lwp_ptc, in umastat_lwp_cache() 195 (mdb_walk_cb_t)umastat_lwp_cache, (void *)ulwp) == -1) { in umastat_lwp() 225 mdb_walk_cb_t cpu_avail = (mdb_walk_cb_t)umastat_cpu_avail; in umastat_cache() 226 mdb_walk_cb_t cpu_alloc = (mdb_walk_cb_t)umastat_cpu_alloc; in umastat_cache() 227 mdb_walk_cb_t slab_avail = (mdb_walk_cb_t)umastat_slab_avail; in umastat_cache() 246 (mdb_walk_cb_t)umastat_cache_ptc, &nptc) == -1) { in umastat_cache() 344 (mdb_walk_cb_t)umastat_cache_nptc, &nptc) == -1) { in umastat() 362 (mdb_walk_cb_t)umastat_cache_hdr, NULL) == -1) { in umastat() 377 if (mdb_walk("ulwp", (mdb_walk_cb_t)umastat_lwp, NULL) == -1) { in umastat() 397 if (mdb_walk("umem_cache", (mdb_walk_cb_t)umastat_cache, &kv) == -1) { in umastat() [all …]
|
H A D | leaky_subr.c | 134 if (mdb_pwalk("vmem_alloc", (mdb_walk_cb_t)leaky_seg, lmp, addr) == -1) in leaky_vmem() 387 if (mdb_pwalk("vmem_span", (mdb_walk_cb_t)leaky_count, in leaky_handle_anon_mappings() 395 if (mdb_pwalk("vmem_span", (mdb_walk_cb_t)leaky_read_segs, &lm, in leaky_handle_anon_mappings() 414 (mdb_walk_cb_t)leaky_process_anon_mappings, &lm) == -1) { in leaky_handle_anon_mappings() 468 mdb_walk_cb_t cb; in leaky_cache() 477 cb = (mdb_walk_cb_t)leaky_mtab; in leaky_cache() 480 cb = (mdb_walk_cb_t)leaky_mtab_addr; in leaky_cache() 632 if (mdb_walk(KLUDGE_MAPWALK_NAME, (mdb_walk_cb_t)leaky_grep_mappings, in leaky_process_proc() 724 if (mdb_walk("umem_cache", (mdb_walk_cb_t)leaky_estimate, estp) == -1) { in leaky_subr_estimate() 729 if (mdb_walk("vmem", (mdb_walk_cb_t)leaky_estimate_vmem, estp) == -1) { in leaky_subr_estimate() [all …]
|
H A D | umem.c | 256 (void) mdb_walk("umem_cache", (mdb_walk_cb_t)umem_init_walkers, sizes); in umem_statechange_cb() 868 (mdb_walk_cb_t)umem_estimate_slab, &cache_est, addr); in umem_estimate_allocated() 1051 (mdb_walk_cb_t)umem_read_ptc_walk_buf, &urpw)) == -1) { in umem_read_ptc() 1585 if (mdb_walk("umem_cache", (mdb_walk_cb_t)umem_walk_all, wsp) == -1) \ 1863 if (mdb_pwalk(abw->abw_walk, (mdb_walk_cb_t)allocdby_walk_bufctl, in allocdby_walk_cache() 1903 (mdb_walk_cb_t)allocdby_walk_cache, abw) == -1) { in allocdby_walk_init_common() 1989 if (mdb_pwalk(w, (mdb_walk_cb_t)allocdby_walk, NULL, addr) == -1) { in allocdby_common() 2139 (mdb_walk_cb_t)whatis_walk_seg, wi, addr) == -1) { in whatis_walk_vmem() 2167 mdb_walk_cb_t func; in whatis_walk_cache() 2181 func = (mdb_walk_cb_t)whatis_walk_bufctl; in whatis_walk_cache() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky_subr.c | 118 if (mdb_pwalk("vmem_alloc", (mdb_walk_cb_t)leaky_seg, lmp, addr) == -1) in leaky_vmem() 184 mdb_walk_cb_t cb; in leaky_cache() 193 cb = (mdb_walk_cb_t)leaky_mtab; in leaky_cache() 196 cb = (mdb_walk_cb_t)leaky_mtab_addr; in leaky_cache() 245 (mdb_walk_cb_t)leaky_scan_buffer, (void *)c, addr) == -1) { in leaky_scan_cache() 399 if (mdb_walk("kmem_cache", (mdb_walk_cb_t)leaky_estimate, estp) == -1) { in leaky_subr_estimate() 409 if (mdb_walk("vmem", (mdb_walk_cb_t)leaky_estimate_vmem, estp) == -1) { in leaky_subr_estimate() 420 if (mdb_walk("vmem", (mdb_walk_cb_t)leaky_vmem, lmpp) == -1) { in leaky_subr_fill() 425 if (mdb_walk("kmem_cache", (mdb_walk_cb_t)leaky_cache, lmpp) == -1) { in leaky_subr_fill() 450 if (mdb_walk("kmem_cache", (mdb_walk_cb_t)leaky_scan_cache, in leaky_subr_run() [all …]
|
H A D | kmem.c | 532 mdb_walk_cb_t cb; in kmem_slabs() 591 cb = (mdb_walk_cb_t)kmem_first_partial_slab; in kmem_slabs() 594 cb = (mdb_walk_cb_t)kmem_first_slab; in kmem_slabs() 614 cb = (mdb_walk_cb_t)kmem_slablist_stat; in kmem_slabs() 952 (mdb_walk_cb_t)kmem_estimate_slab, &cache_est, addr); in kmem_estimate_allocated() 1637 if (mdb_walk("kmem_cache", (mdb_walk_cb_t)kmem_walk_all, wsp) == -1) \ 1928 if (mdb_pwalk(abw->abw_walk, (mdb_walk_cb_t)allocdby_walk_bufctl, in allocdby_walk_cache() 1968 (mdb_walk_cb_t)allocdby_walk_cache, abw) == -1) { in allocdby_walk_init_common() 2053 if (mdb_pwalk(w, (mdb_walk_cb_t)allocdby_walk, NULL, addr) == -1) { in allocdby_common() 2311 (mdb_walk_cb_t)whatis_walk_seg, wi, addr) == -1) { in whatis_walk_vmem() [all …]
|
H A D | avl.h | 51 extern int avl_walk_mdb(uintptr_t, mdb_walk_cb_t, void *);
|
H A D | sobj.c | 315 if (mdb_pwalk("wchan", (mdb_walk_cb_t)wchaninfo_twalk, &wc, addr) < 0) { in wchaninfo_walk() 326 (mdb_walk_cb_t)wchaninfo_vtwalk, &first, addr) == -1) { in wchaninfo_walk() 352 } else if (mdb_walk("wchan", (mdb_walk_cb_t)wchaninfo_walk, &v) == -1) { in wchaninfo() 505 if (mdb_pwalk("blocked", (mdb_walk_cb_t)rwlock_walk, &rw, addr) == -1) { in rwlock()
|
H A D | genunix.c | 1954 mdb_walk_cb_t callback; 2226 mdb_walk_cb_t cpu_avail = (mdb_walk_cb_t)kmastat_cpu_avail; in kmastat_cache() 2227 mdb_walk_cb_t cpu_alloc = (mdb_walk_cb_t)kmastat_cpu_alloc; in kmastat_cache() 2228 mdb_walk_cb_t slab_avail = (mdb_walk_cb_t)kmastat_slab_avail; in kmastat_cache() 2357 if (mdb_walk("kmem_cache", (mdb_walk_cb_t)kmastat_cache, &ka) == -1) { in kmastat() 2366 if (mdb_walk("vmem", (mdb_walk_cb_t)kmastat_vmem_totals, &ka) == -1) { in kmastat() 2389 if (mdb_walk("vmem", (mdb_walk_cb_t)kmastat_vmem, &ka.ka_shift) == -1) { in kmastat() 2469 mdb_walk_cb_t walk_vseg = (mdb_walk_cb_t)kgrep_walk_vseg; in kgrep_walk_vmem() 2478 walk_vseg = (mdb_walk_cb_t)kgrep_xwalk_vseg; in kgrep_walk_vmem() 2542 if (mdb_pwalk("seg", (mdb_walk_cb_t)kgrep_walk_seg, in kgrep_subr() [all …]
|
H A D | leaky_impl.h | 175 extern int leaky_subr_invoke_callback(const leak_bufctl_t *, mdb_walk_cb_t,
|
H A D | typegraph.c | 1061 if (mdb_pwalk("kmem", (mdb_walk_cb_t)typegraph_buf, &tgd, addr) == -1) { in typegraph_kmem() 1193 (mdb_walk_cb_t)typegraph_seg, tgp, addr) == -1) in typegraph_vmem() 2407 (mdb_walk_cb_t)typegraph_estimate, &est) == -1) { in typegraph() 2413 (mdb_walk_cb_t)typegraph_estimate_modctl, &est) == -1) { in typegraph() 2419 (mdb_walk_cb_t)typegraph_estimate_vmem, &est) == -1) { in typegraph() 2430 if (mdb_walk("vmem", (mdb_walk_cb_t)typegraph_vmem, &tgp) == -1) { in typegraph() 2435 if (mdb_walk("kmem_cache", (mdb_walk_cb_t)typegraph_kmem, &tgp) == -1) { in typegraph() 2451 if (mdb_walk("thread", (mdb_walk_cb_t)typegraph_thread, &type) == -1) { in typegraph() 2466 if (mdb_pwalk("vmem_alloc", (mdb_walk_cb_t)typegraph_kstat, in typegraph() 2472 if (mdb_walk("modctl", (mdb_walk_cb_t)typegraph_modctl, NULL) == -1) { in typegraph() [all …]
|
H A D | rctl.c | 110 if (mdb_pwalk("rctl_val", (mdb_walk_cb_t)print_val, &(rctl.rc_cursor), in rctl() 225 if (mdb_walk("rctl_dict_list", (mdb_walk_cb_t)hndl2dict, in rctl_list() 657 if (mdb_pwalk("rctl_val", (mdb_walk_cb_t)rctl_val_validate, &data, in rctl_validate()
|
H A D | netstack.c | 142 if (mdb_walk("netstack", (mdb_walk_cb_t)netstackid_lookup_cb, &addr) == in netstackid2netstack()
|
H A D | tsd.c | 146 if (mdb_walk("thread", (mdb_walk_cb_t)(uintptr_t)tsdthr_match, in tsdtot()
|
H A D | hotplug.c | 139 status = mdb_pwalk("devinfo", (mdb_walk_cb_t)hotplug_print, in hotplug()
|
H A D | mdi.c | 234 mdb_pwalk("mdipi_phci_list", (mdb_walk_cb_t)mpxio_walk_cb, in mdiphci() 295 mdb_pwalk("mdiphci_list", (mdb_walk_cb_t)mpxio_walk_cb, in mdivhci()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_modapi.h | 137 typedef int (*mdb_walk_cb_t)(uintptr_t, const void *, void *); typedef 140 mdb_walk_cb_t walk_callback; /* Callback to issue */ 189 extern int mdb_pwalk(const char *, mdb_walk_cb_t, void *, uintptr_t); 190 extern int mdb_walk(const char *, mdb_walk_cb_t, void *);
|
H A D | mdb_wcb.h | 57 extern mdb_wcb_t *mdb_wcb_create(mdb_iwalker_t *, mdb_walk_cb_t,
|
H A D | mdb_modapi.c | 673 mdb_walk_cb_t ps_cb; 691 mdb_pwalk(const char *name, mdb_walk_cb_t func, void *private, uintptr_t addr) in mdb_pwalk() 715 mdb_walk(const char *name, mdb_walk_cb_t func, void *data) in mdb_walk() 764 wcb = mdb_wcb_create(iwp, (mdb_walk_cb_t)walk_dcmd, &dw, addr); in i_mdb_pwalk_dcmd() 828 wcb = mdb_wcb_create(iwp, (mdb_walk_cb_t)layered_walk_step, in mdb_layered_walk()
|
H A D | mdb_wcb.c | 61 mdb_wcb_create(mdb_iwalker_t *iwp, mdb_walk_cb_t cb, void *data, uintptr_t addr) in mdb_wcb_create()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/specfs/ |
H A D | specfs.c | 194 if (mdb_walk("snode", (mdb_walk_cb_t)snode_cb, &sd) == -1) { in snode() 224 if (mdb_pwalk("snode", (mdb_walk_cb_t)snode_cb, &sd, 0) != 0) in major2snode() 243 if (mdb_pwalk("snode", (mdb_walk_cb_t)snode_cb, &sd, 0) != 0) in dev2snode()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/sppp/ |
H A D | sppp.c | 197 } else if (mdb_walk("sppp", (mdb_walk_cb_t)sps_format, &qfmt) == -1) { in sppp() 261 } else if (mdb_walk("sppa", (mdb_walk_cb_t)ppa_format, &qfmt) == -1) { in sppa() 447 } else if (mdb_walk("tuncl", (mdb_walk_cb_t)tuncl_format, &qfmt) == in tuncl() 570 } else if (mdb_walk("tunll", (mdb_walk_cb_t)tunll_format, &qfmt) == in tunll()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libpython/ |
H A D | libpython.c | 281 if (mdb_pwalk("pythread", (mdb_walk_cb_t)python_stack, verbose, in python_thread() 321 if (mdb_walk("pyinterp", (mdb_walk_cb_t)python_thread, in py_stack()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/stmf_sbd/ |
H A D | stmf_sbd.c | 459 if (mdb_walk("stmf_sbd_lu", (mdb_walk_cb_t)stmf_sbd_lu_cb, in stmf_sbd_lu() 533 if (mdb_pwalk("stmf_sbd_pgr_key", (mdb_walk_cb_t)stmf_sbd_pgr_key_cb, in stmf_sbd_pgr_key() 593 if (mdb_pwalk("stmf_sbd_it", (mdb_walk_cb_t)stmf_sbd_it_cb, &cb_st, in stmf_sbd_it()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 822 (mdb_walk_cb_t)dtracemdb_modctl, varg) == -1) { in dtracemdb_lookup_by_addr() 1585 if (mdb_pwalk("vmem_alloc", (mdb_walk_cb_t)dtrace_state_walk, in dtrace_state_init() 1684 (mdb_walk_cb_t)dtrace_state_file, data, addr) == -1) { in dtrace_state_proc() 1771 if (mdb_walk("proc", (mdb_walk_cb_t)dtrace_state_proc, &data) == -1) { in dtrace_state() 2234 (mdb_walk_cb_t)dtrace_aggstat_walk, &data, addr) == -1) { in dtrace_aggstat() 2253 (mdb_walk_cb_t)dtrace_aggstat_walk, &data, addr) == -1) { in dtrace_aggstat() 2265 (mdb_walk_cb_t)dtrace_aggstat_walk, &data, addr) == -1) { in dtrace_aggstat() 2384 (mdb_walk_cb_t)dtrace_dynstat_walk, &data, addr) == -1) { in dtrace_dynstat() 2403 (mdb_walk_cb_t)dtrace_dynstat_walk, &data, addr) == -1) { in dtrace_dynstat() 2703 (mdb_walk_cb_t)pid2state_file, ds, ds->dtsd_proc) == -1) { in pid2state_step() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.configd/ |
H A D | configd.c | 399 if (mdb_walk("configd_threads", (mdb_walk_cb_t)request_log_count_thread, in request_log_walk_init() 408 if (mdb_walk("configd_threads", (mdb_walk_cb_t)request_log_add_thread, in request_log_walk_init()
|