Home
last modified time | relevance | path

Searched refs:gf_phdrs (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c101 gf->gf_phdrs = mdb_zalloc(sizeof (GElf_Phdr) * npbit, UM_SLEEP); in gelf_sect_init()
105 gpp = gf->gf_phdrs; in gelf_sect_init()
380 gf->gf_phdrs = mdb_zalloc(sizeof (GElf_Phdr) * gf->gf_phnum, UM_SLEEP); in gelf_phdrs_init()
383 gpp = gf->gf_phdrs; in gelf_phdrs_init()
411 qsort(gf->gf_phdrs, gf->gf_phnum, sizeof (GElf_Phdr), in gelf_phdrs_init()
418 for (gpp = gf->gf_phdrs, i = 0; i < gf->gf_phnum; i++, gpp++) { in gelf_phdrs_init()
535 dyn_addr = gf->gf_dynp->p_vaddr - gf->gf_phdrs->p_vaddr; in gelf_dyns_init()
839 mdb_free(gf->gf_phdrs, gf->gf_phnum * sizeof (GElf_Phdr)); in mdb_gelf_destroy()
1287 base = (off64_t)gf->gf_phdrs->p_vaddr; in mdb_gelf_symtab_create_dynamic()
1873 const GElf_Phdr *gpp = gf->gf_phdrs; in gelf_phdr_lookup()
H A Dmdb_gelf.h56 GElf_Phdr *gf_phdrs; /* Array of program headers */ member
H A Dmdb_target.c1946 if (text == NULL && (gf->gf_phdrs[i].p_flags & PF_X)) in mdb_tgt_elf_export()
1947 text = &gf->gf_phdrs[i]; in mdb_tgt_elf_export()
1948 if (data == NULL && (gf->gf_phdrs[i].p_flags & PF_W)) in mdb_tgt_elf_export()
1949 data = &gf->gf_phdrs[i]; in mdb_tgt_elf_export()
H A Dmdb_kproc.c262 GElf_Phdr *gpp = kpf->kpf_file->gf_phdrs; in kp_find_data()