Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c102 gf->gf_phnum = npbit; in gelf_sect_init()
361 IOP_NAME(gf->gf_io), gf->gf_phnum); in gelf_phdrs_init()
363 if (gf->gf_phnum == 0) in gelf_phdrs_init()
371 nbytes = phdr_size * gf->gf_phnum; in gelf_phdrs_init()
380 gf->gf_phdrs = mdb_zalloc(sizeof (GElf_Phdr) * gf->gf_phnum, UM_SLEEP); in gelf_phdrs_init()
389 for (i = 0; i < gf->gf_phnum; i++, php += phdr_size, gpp++) { 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()
605 gf->gf_phnum = gf->gf_ehdr.e_phnum; in gelf32_init()
608 gf->gf_shstrndx == SHN_XINDEX || gf->gf_phnum == PN_XNUM) { in gelf32_init()
[all …]
H A Dmdb_gelf.h65 size_t gf_phnum; /* Number of program headers */ member