Searched refs:dlr (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/cmd/mdb/common/kmdb/kctl/ |
H A D | kctl_dmod.c | 118 kctl_dlr_free(kmdb_wr_load_t *dlr) in kctl_dlr_free() argument 120 if (dlr->dlr_node.wn_flags & WNFLAGS_NOFREE) in kctl_dlr_free() 123 kctl_strfree(dlr->dlr_fname); in kctl_dlr_free() 124 kmem_free(dlr, sizeof (kmdb_wr_load_t)); in kctl_dlr_free() 128 kctl_dmod_load(kmdb_wr_load_t *dlr) in kctl_dmod_load() argument 132 const char *modname = kctl_basename(dlr->dlr_fname); in kctl_dmod_load() 142 dlr->dlr_errno = EEXIST; in kctl_dmod_load() 154 if (!kctl_find_module(dlr->dlr_fname, modpath, sizeof (modpath))) { in kctl_dmod_load() 156 dlr->dlr_errno = ENOENT; in kctl_dmod_load() 192 dlr->dlr_errno = EMDB_NOMOD; in kctl_dmod_load() [all …]
|
H A D | kctl_wr.c | 61 kmdb_wr_load_t *dlr = (kmdb_wr_load_t *)wn; in kctl_wr_process_cb() local 63 if (WR_ISACK(dlr)) { in kctl_wr_process_cb() 65 dlr->dlr_fname); in kctl_wr_process_cb() 66 kctl_dmod_load_ack(dlr); in kctl_wr_process_cb() 70 dlr->dlr_fname); in kctl_wr_process_cb() 85 (void) kctl_dmod_load(dlr); /* dlr will have errno */ in kctl_wr_process_cb() 87 WR_ACK(dlr); in kctl_wr_process_cb() 88 kmdb_wr_debugger_notify(dlr); in kctl_wr_process_cb()
|
/titanic_50/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_module_load.c | 68 kmdb_wr_load_t *dlr; in mdb_module_load() local 98 dlr = mdb_zalloc(sizeof (kmdb_wr_load_t), UM_SLEEP); in mdb_module_load() 99 dlr->dlr_node.wn_task = WNTASK_DMOD_LOAD; in mdb_module_load() 100 dlr->dlr_fname = strdup(fname); in mdb_module_load() 102 kmdb_wr_driver_notify(dlr); in mdb_module_load() 121 kmdb_module_loaded(kmdb_wr_load_t *dlr) in kmdb_module_loaded() argument 123 struct modctl *modp = dlr->dlr_modctl; in kmdb_module_loaded() 124 const char *modname = strbasename(dlr->dlr_fname); in kmdb_module_loaded() 131 if (dlr->dlr_errno != 0) { in kmdb_module_loaded() 140 if (dlr->dlr_errno == EMDB_NOMOD) { in kmdb_module_loaded() [all …]
|
H A D | kmdb_dpi.c | 238 kmdb_wr_load_t *dlr = (kmdb_wr_load_t *)wn; in kmdb_dbgnotify_cb() local 242 if (kmdb_module_loaded(dlr) && res != NULL) { in kmdb_dbgnotify_cb() 244 strbasename(dlr->dlr_fname), NULL, 0, 0); in kmdb_dbgnotify_cb() 247 if (WR_ISACK(dlr)) { in kmdb_dbgnotify_cb() 248 kmdb_module_load_ack(dlr); in kmdb_dbgnotify_cb() 254 "as an ack\n", dlr->dlr_fname); in kmdb_dbgnotify_cb()
|
/titanic_50/usr/src/cmd/mdb/common/modules/mdb_ds/ |
H A D | mdb_ds.c | 322 kmdb_wr_load_t dlr; in cmd_wr() local 324 if (mdb_vread(&dlr, sizeof (dlr), addr) != sizeof (dlr)) { in cmd_wr() 330 (uintptr_t)dlr.dlr_fname) < 0) { in cmd_wr() 332 dlr.dlr_fname); in cmd_wr() 336 mdb_printf("%cload %3d %?p %s\n", dir, dlr.dlr_errno, in cmd_wr() 337 dlr.dlr_modctl, path); in cmd_wr()
|