Searched refs:gs_shdr (Results 1 – 3 of 3) sorted by relevance
60 if (IOP_SEEK(gf->gf_io, shstr->gs_shdr.sh_offset, SEEK_SET) == -1) { in gelf_sect_init()65 shstr->gs_data = mdb_zalloc(shstr->gs_shdr.sh_size + 1, UM_SLEEP); in gelf_sect_init()67 if (IOP_READ(gf->gf_io, shstr->gs_data, shstr->gs_shdr.sh_size) != in gelf_sect_init()68 shstr->gs_shdr.sh_size) { in gelf_sect_init()70 mdb_free(shstr->gs_data, shstr->gs_shdr.sh_size); in gelf_sect_init()75 shp = &gsp->gs_shdr; in gelf_sect_init()78 if (shp->sh_name >= shstr->gs_shdr.sh_size) { in gelf_sect_init()109 shp = &gsp->gs_shdr; in gelf_sect_init()144 IOP_NAME(gf->gf_io), gsp->gs_name, (ulong_t)gsp->gs_shdr.sh_size); in mdb_gelf_sect_load()146 gsp->gs_data = mdb_alloc(gsp->gs_shdr.sh_size, UM_SLEEP); in mdb_gelf_sect_load()[all …]
51 GElf_Shdr gs_shdr; /* ELF section header */ member
279 for (pos = notes; pos < notes + sect->gs_shdr.sh_size; ) { in xkb_identify()1168 for (pos = notes; pos < notes + sect->gs_shdr.sh_size; ) { in xkb_open_elf()1244 if (sect->gs_shdr.sh_entsize < sizeof (vcpu_guest_context_t)) in xkb_open_elf()1247 xkb->xkb_nr_vcpus = sect->gs_shdr.sh_size / sect->gs_shdr.sh_entsize; in xkb_open_elf()1252 xkb->xkb_vcpu_data_sz = sect->gs_shdr.sh_size; in xkb_open_elf()1264 i * sect->gs_shdr.sh_entsize); in xkb_open_elf()1273 if (!PAGE_ALIGNED(sect->gs_shdr.sh_offset)) in xkb_open_elf()1276 if (sect->gs_shdr.sh_entsize != PAGE_SIZE) in xkb_open_elf()1279 xkb->xkb_pages_off = sect->gs_shdr.sh_offset; in xkb_open_elf()