Home
last modified time | relevance | path

Searched refs:mwd (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmodhash.c278 mod_walk_data_t *mwd = private; in modent_format() local
282 if (msd->msd_position > mwd->mwd_maxposn) { in modent_format()
283 mwd->mwd_maxposn = msd->msd_position; in modent_format()
284 mwd->mwd_maxidx = msd->msd_hash_index; in modent_format()
285 mwd->mwd_maxaddr = msd->msd_first_addr; in modent_format()
289 if (mwd->mwd_idxtoprint != (uintptr_t)-1) { in modent_format()
291 if (mwd->mwd_idxtoprint == msd->msd_hash_index) in modent_format()
292 mwd->mwd_addr = msd->msd_first_addr; in modent_format()
298 if (mwd->mwd_opt_k_set && in modent_format()
299 (uintptr_t)msd->msd_mhe.mhe_key != mwd->mwd_opt_k) in modent_format()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/krtld/
H A Dkrtld.c43 struct modctl_walk_data *mwd = mdb_alloc( in modctl_walk_init() local
46 mwd->mwd_head = (wsp->walk_addr == 0 ? module_head : wsp->walk_addr); in modctl_walk_init()
47 wsp->walk_data = mwd; in modctl_walk_init()
56 struct modctl_walk_data *mwd = wsp->walk_data; in modctl_walk_step() local
59 if (wsp->walk_addr == mwd->mwd_head) in modctl_walk_step()
63 wsp->walk_addr = mwd->mwd_head; in modctl_walk_step()
65 if (mdb_vread(&mwd->mwd_modctl, sizeof (struct modctl), in modctl_walk_step()
71 status = wsp->walk_callback(wsp->walk_addr, &mwd->mwd_modctl, in modctl_walk_step()
74 wsp->walk_addr = (uintptr_t)mwd->mwd_modctl.mod_next; in modctl_walk_step()