Lines Matching refs:dt_shnmap
95 dis_shnmap_t *dt_shnmap; /* section address map */ member
139 tgt->dt_shnmap[*index].dm_name = scn->ds_name; in tgt_scn_init()
140 tgt->dt_shnmap[*index].dm_start = scn->ds_shdr.sh_addr; in tgt_scn_init()
141 tgt->dt_shnmap[*index].dm_length = scn->ds_shdr.sh_size; in tgt_scn_init()
142 tgt->dt_shnmap[*index].dm_mapped = B_FALSE; in tgt_scn_init()
365 if (tgt->dt_shnmap[sym->se_shndx].dm_mapped) in construct_symtab()
367 tgt->dt_shnmap[sym->se_shndx].dm_start; in construct_symtab()
389 if (tgt->dt_shnmap == NULL) in create_addrmap()
394 if (tgt->dt_shnmap[i].dm_start > addr) in create_addrmap()
395 addr = tgt->dt_shnmap[i].dm_start + in create_addrmap()
396 tgt->dt_shnmap[i].dm_length; in create_addrmap()
405 if (tgt->dt_shnmap[i].dm_start != 0) in create_addrmap()
408 tgt->dt_shnmap[i].dm_start = addr; in create_addrmap()
409 tgt->dt_shnmap[i].dm_mapped = B_TRUE; in create_addrmap()
410 addr = P2ROUNDUP(addr + tgt->dt_shnmap[i].dm_length, 0x1000); in create_addrmap()
512 current->dt_shnmap = safe_malloc(sizeof (dis_shnmap_t) * in dis_tgt_create()
620 if ((addr >= tgt->dt_shnmap[i].dm_start) && in dis_find_section()
621 (addr < tgt->dt_shnmap[i].dm_start + in dis_find_section()
622 tgt->dt_shnmap[i].dm_length)) { in dis_find_section()
623 *offset = addr - tgt->dt_shnmap[i].dm_start; in dis_find_section()
624 return (tgt->dt_shnmap[i].dm_name); in dis_find_section()
789 sdata.ds_shdr.sh_addr = tgt->dt_shnmap[idx].dm_start; in dis_tgt_section_iter()
896 if (tgt->dt_shnmap[sym->se_shndx].dm_mapped) in dis_tgt_function_iter()
897 shdr.sh_addr = tgt->dt_shnmap[sym->se_shndx].dm_start; in dis_tgt_function_iter()