Home
last modified time | relevance | path

Searched refs:mdb_walk_cb_t (Results 1 – 25 of 56) sorted by relevance

123

/titanic_44/usr/src/cmd/mdb/common/modules/libumem/
H A Dlibumem.c165 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 Dleaky_subr.c136 if (mdb_pwalk("vmem_alloc", (mdb_walk_cb_t)leaky_seg, lmp, addr) == -1) in leaky_vmem()
389 if (mdb_pwalk("vmem_span", (mdb_walk_cb_t)leaky_count, in leaky_handle_anon_mappings()
397 if (mdb_pwalk("vmem_span", (mdb_walk_cb_t)leaky_read_segs, &lm, in leaky_handle_anon_mappings()
416 (mdb_walk_cb_t)leaky_process_anon_mappings, &lm) == -1) { in leaky_handle_anon_mappings()
470 mdb_walk_cb_t cb; in leaky_cache()
479 cb = (mdb_walk_cb_t)leaky_mtab; in leaky_cache()
482 cb = (mdb_walk_cb_t)leaky_mtab_addr; in leaky_cache()
634 if (mdb_walk(KLUDGE_MAPWALK_NAME, (mdb_walk_cb_t)leaky_grep_mappings, in leaky_process_proc()
726 if (mdb_walk("umem_cache", (mdb_walk_cb_t)leaky_estimate, estp) == -1) { in leaky_subr_estimate()
731 if (mdb_walk("vmem", (mdb_walk_cb_t)leaky_estimate_vmem, estp) == -1) { in leaky_subr_estimate()
[all …]
H A Dumem.c256 (void) mdb_walk("umem_cache", (mdb_walk_cb_t)umem_init_walkers, sizes); in umem_statechange_cb()
867 (mdb_walk_cb_t)umem_estimate_slab, &cache_est, addr); in umem_estimate_allocated()
1050 (mdb_walk_cb_t)umem_read_ptc_walk_buf, &urpw)) == -1) { in umem_read_ptc()
1584 if (mdb_walk("umem_cache", (mdb_walk_cb_t)umem_walk_all, wsp) == -1) \
1862 if (mdb_pwalk(abw->abw_walk, (mdb_walk_cb_t)allocdby_walk_bufctl, in allocdby_walk_cache()
1902 (mdb_walk_cb_t)allocdby_walk_cache, abw) == -1) { in allocdby_walk_init_common()
1988 if (mdb_pwalk(w, (mdb_walk_cb_t)allocdby_walk, NULL, addr) == -1) { in allocdby_common()
2138 (mdb_walk_cb_t)whatis_walk_seg, wi, addr) == -1) { in whatis_walk_vmem()
2166 mdb_walk_cb_t func; in whatis_walk_cache()
2180 func = (mdb_walk_cb_t)whatis_walk_bufctl; in whatis_walk_cache()
[all …]
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky_subr.c120 if (mdb_pwalk("vmem_alloc", (mdb_walk_cb_t)leaky_seg, lmp, addr) == -1) in leaky_vmem()
186 mdb_walk_cb_t cb; in leaky_cache()
195 cb = (mdb_walk_cb_t)leaky_mtab; in leaky_cache()
198 cb = (mdb_walk_cb_t)leaky_mtab_addr; in leaky_cache()
247 (mdb_walk_cb_t)leaky_scan_buffer, (void *)c, addr) == -1) { in leaky_scan_cache()
401 if (mdb_walk("kmem_cache", (mdb_walk_cb_t)leaky_estimate, estp) == -1) { in leaky_subr_estimate()
411 if (mdb_walk("vmem", (mdb_walk_cb_t)leaky_estimate_vmem, estp) == -1) { in leaky_subr_estimate()
422 if (mdb_walk("vmem", (mdb_walk_cb_t)leaky_vmem, lmpp) == -1) { in leaky_subr_fill()
427 if (mdb_walk("kmem_cache", (mdb_walk_cb_t)leaky_cache, lmpp) == -1) { in leaky_subr_fill()
452 if (mdb_walk("kmem_cache", (mdb_walk_cb_t)leaky_scan_cache, in leaky_subr_run()
[all …]
H A Dmmd.c144 if (mdb_pwalk("pdesc_slab", (mdb_walk_cb_t)pdesc_slab_print, in multidata()
153 if (mdb_pwalk("pdesc", (mdb_walk_cb_t)pdesc_print, in multidata()
216 if (mdb_pwalk("pdesc", (mdb_walk_cb_t)pdesc_count, &data, in multidata_stats()
229 if (mdb_pwalk("pdesc", (mdb_walk_cb_t)pdesc_count, &data, in multidata_stats()
241 if (mdb_pwalk("pdesc", (mdb_walk_cb_t)pdesc_count, &data, in multidata_stats()
254 if (mdb_pwalk("pdesc", (mdb_walk_cb_t)pdesc_count, &data, in multidata_stats()
272 if (mdb_pwalk("pdesc", (mdb_walk_cb_t)pdesc_count, &data, in multidata_stats()
286 if (mdb_pwalk("pdesc", (mdb_walk_cb_t)pdesc_count, &data, in multidata_stats()
308 (mdb_walk_cb_t)pattr_count, &data, in multidata_stats()
405 (mdb_walk_cb_t)pattr_count, &attr_data, in pdesc_count()
[all …]
H A Dkmem.c531 mdb_walk_cb_t cb; in kmem_slabs()
590 cb = (mdb_walk_cb_t)kmem_first_partial_slab; in kmem_slabs()
593 cb = (mdb_walk_cb_t)kmem_first_slab; in kmem_slabs()
613 cb = (mdb_walk_cb_t)kmem_slablist_stat; in kmem_slabs()
951 (mdb_walk_cb_t)kmem_estimate_slab, &cache_est, addr); in kmem_estimate_allocated()
1636 if (mdb_walk("kmem_cache", (mdb_walk_cb_t)kmem_walk_all, wsp) == -1) \
1927 if (mdb_pwalk(abw->abw_walk, (mdb_walk_cb_t)allocdby_walk_bufctl, in allocdby_walk_cache()
1967 (mdb_walk_cb_t)allocdby_walk_cache, abw) == -1) { in allocdby_walk_init_common()
2052 if (mdb_pwalk(w, (mdb_walk_cb_t)allocdby_walk, NULL, addr) == -1) { in allocdby_common()
2310 (mdb_walk_cb_t)whatis_walk_seg, wi, addr) == -1) { in whatis_walk_vmem()
[all …]
H A Davl.h51 extern int avl_walk_mdb(uintptr_t, mdb_walk_cb_t, void *);
H A Dgenunix.c1750 mdb_walk_cb_t callback;
1871 if (mdb_pwalk("file", (mdb_walk_cb_t)whereopen_fwalk, &t, addr) == -1) { in whereopen_pwalk()
1891 if (mdb_walk("proc", (mdb_walk_cb_t)whereopen_pwalk, &target) == -1) { in whereopen()
1993 mdb_walk_cb_t cpu_avail = (mdb_walk_cb_t)kmastat_cpu_avail; in kmastat_cache()
1994 mdb_walk_cb_t cpu_alloc = (mdb_walk_cb_t)kmastat_cpu_alloc; in kmastat_cache()
1995 mdb_walk_cb_t slab_avail = (mdb_walk_cb_t)kmastat_slab_avail; in kmastat_cache()
2124 if (mdb_walk("kmem_cache", (mdb_walk_cb_t)kmastat_cache, &ka) == -1) { in kmastat()
2133 if (mdb_walk("vmem", (mdb_walk_cb_t)kmastat_vmem_totals, &ka) == -1) { in kmastat()
2156 if (mdb_walk("vmem", (mdb_walk_cb_t)kmastat_vmem, &ka.ka_shift) == -1) { in kmastat()
2236 mdb_walk_cb_t walk_vseg = (mdb_walk_cb_t)kgrep_walk_vseg; in kgrep_walk_vmem()
[all …]
H A Dsobj.c315 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 Dleaky_impl.h177 extern int leaky_subr_invoke_callback(const leak_bufctl_t *, mdb_walk_cb_t,
H A Dnetstack.c142 if (mdb_walk("netstack", (mdb_walk_cb_t)netstackid_lookup_cb, &addr) == in netstackid2netstack()
H A Dtypegraph.c1061 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 Dhotplug.c136 status = mdb_pwalk("devinfo", (mdb_walk_cb_t)hotplug_print, in hotplug()
H A Dtsd.c146 if (mdb_walk("thread", (mdb_walk_cb_t)tsdthr_match, (void *)addr) == -1) in tsdtot()
/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_modapi.h134 typedef int (*mdb_walk_cb_t)(uintptr_t, const void *, void *); typedef
137 mdb_walk_cb_t walk_callback; /* Callback to issue */
186 extern int mdb_pwalk(const char *, mdb_walk_cb_t, void *, uintptr_t);
187 extern int mdb_walk(const char *, mdb_walk_cb_t, void *);
H A Dmdb_wcb.h59 extern mdb_wcb_t *mdb_wcb_create(mdb_iwalker_t *, mdb_walk_cb_t,
H A Dmdb_modapi.c532 mdb_walk_cb_t ps_cb;
550 mdb_pwalk(const char *name, mdb_walk_cb_t func, void *private, uintptr_t addr) in mdb_pwalk()
574 mdb_walk(const char *name, mdb_walk_cb_t func, void *data) in mdb_walk()
619 wcb = mdb_wcb_create(iwp, (mdb_walk_cb_t)walk_dcmd, &dw, addr); in mdb_pwalk_dcmd()
668 wcb = mdb_wcb_create(iwp, (mdb_walk_cb_t)layered_walk_step, in mdb_layered_walk()
H A Dmdb_wcb.c63 mdb_wcb_create(mdb_iwalker_t *iwp, mdb_walk_cb_t cb, void *data, uintptr_t addr) in mdb_wcb_create()
/titanic_44/usr/src/cmd/mdb/common/modules/specfs/
H A Dspecfs.c196 if (mdb_walk("snode", (mdb_walk_cb_t)snode_cb, &sd) == -1) { in snode()
226 if (mdb_pwalk("snode", (mdb_walk_cb_t)snode_cb, &sd, 0) != 0) in major2snode()
245 if (mdb_pwalk("snode", (mdb_walk_cb_t)snode_cb, &sd, 0) != 0) in dev2snode()
/titanic_44/usr/src/cmd/mdb/sun4u/modules/unix/
H A Dunix.c805 mdb_walk_cb_t ttprint; in ttrace()
835 ttprint = (mdb_walk_cb_t)ttprint_long; in ttrace()
845 ttprint = (mdb_walk_cb_t)ttprint_short; in ttrace()
1095 mdb_walk_cb_t ttprint; in httrace()
1118 ttprint = (mdb_walk_cb_t)httprint_long; in httrace()
1123 ttprint = (mdb_walk_cb_t)httprint_short; in httrace()
1202 if (mdb_walk("ttrace", (mdb_walk_cb_t)xctrace_walk, NULL) == -1) { in xctrace()
1544 if (mdb_walk("ttrace", (mdb_walk_cb_t)whatis_walk_tt, w) == -1) in whatis_run_traptrace()
/titanic_44/usr/src/cmd/mdb/common/modules/sppp/
H A Dsppp.c197 } 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()
/titanic_44/usr/src/cmd/mdb/common/modules/libpython2.6/
H A Dlibpython26.c281 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()
/titanic_44/usr/src/cmd/mdb/common/modules/stmf_sbd/
H A Dstmf_sbd.c459 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()
/titanic_44/usr/src/cmd/mdb/sun4v/modules/errh/
H A Derrh.c228 wsp->walk_callback = (mdb_walk_cb_t)errh_prtaddr; in rq_walk_init()
265 wsp->walk_callback = (mdb_walk_cb_t)errh_prtaddr; in nrq_walk_init()
/titanic_44/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddtrace.c776 (mdb_walk_cb_t)dtracemdb_modctl, varg) == -1) { in dtracemdb_lookup_by_addr()
1537 if (mdb_pwalk("vmem_alloc", (mdb_walk_cb_t)dtrace_state_walk, in dtrace_state_init()
1636 (mdb_walk_cb_t)dtrace_state_file, data, addr) == -1) { in dtrace_state_proc()
1723 if (mdb_walk("proc", (mdb_walk_cb_t)dtrace_state_proc, &data) == -1) { in dtrace_state()
2186 (mdb_walk_cb_t)dtrace_aggstat_walk, &data, addr) == -1) { in dtrace_aggstat()
2205 (mdb_walk_cb_t)dtrace_aggstat_walk, &data, addr) == -1) { in dtrace_aggstat()
2217 (mdb_walk_cb_t)dtrace_aggstat_walk, &data, addr) == -1) { in dtrace_aggstat()
2336 (mdb_walk_cb_t)dtrace_dynstat_walk, &data, addr) == -1) { in dtrace_dynstat()
2355 (mdb_walk_cb_t)dtrace_dynstat_walk, &data, addr) == -1) { in dtrace_dynstat()
2648 (mdb_walk_cb_t)pid2state_file, ds, ds->dtsd_proc) == -1) { in pid2state_step()
[all …]

123