Lines Matching refs:dmp

276 	dt_module_t *dmp;  in dt_type_pointer()  local
286 dmp = dtp->dt_cdefs; in dt_type_pointer()
288 dmp = dtp->dt_ddefs; in dt_type_pointer()
290 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) && in dt_type_pointer()
291 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) { in dt_type_pointer()
292 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_type_pointer()
296 ptr = ctf_add_pointer(dmp->dm_ctfp, CTF_ADD_ROOT, type); in dt_type_pointer()
298 if (ptr == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) { in dt_type_pointer()
299 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_type_pointer()
303 tip->dtt_object = dmp->dm_name; in dt_type_pointer()
304 tip->dtt_ctfp = dmp->dm_ctfp; in dt_type_pointer()
1443 dt_module_t *dmp; in dt_node_decl() local
1479 dmp = dtp->dt_cdefs; in dt_node_decl()
1481 dmp = dtp->dt_ddefs; in dt_node_decl()
1505 dmp->dm_name, dsp->ds_ident, &sym, &dts) == 0; in dt_node_decl()
1512 dmp->dm_name, dsp->ds_ident, in dt_node_decl()
1517 } else if (!exists && dt_module_extern(dtp, dmp, in dt_node_decl()
1524 dmp->dm_name, dsp->ds_ident, in dt_node_decl()
1537 if (ctf_lookup_by_name(dmp->dm_ctfp, in dt_node_decl()
1548 if (dtt.dtt_ctfp != dmp->dm_ctfp && in dt_node_decl()
1549 dtt.dtt_ctfp != ctf_parent_file(dmp->dm_ctfp)) { in dt_node_decl()
1551 dtt.dtt_type = ctf_add_type(dmp->dm_ctfp, in dt_node_decl()
1553 dtt.dtt_ctfp = dmp->dm_ctfp; in dt_node_decl()
1563 type = ctf_add_typedef(dmp->dm_ctfp, in dt_node_decl()
1566 if (type == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) { in dt_node_decl()
1568 dsp->ds_ident, ctf_errmsg(ctf_errno(dmp->dm_ctfp))); in dt_node_decl()