Searched defs:shdrs (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/mdb/common/modules/krtld/ |
H A D | krtld.c | 231 Shdr *shdrs; local 249 shdrs = mdb_alloc(nbytes, UM_SLEEP | UM_GC); 250 mdb_vread(shdrs, nbytes, (uintptr_t)mod.shdrs); 253 dump_shdr(&shdrs[i], i); 368 { "modhdrs", ":", "given modctl, dump module ehdr and shdrs", modhdrs },
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kobj.h | 59 char *shdrs; member in struct:module
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 1108 caddr_t shdrs = NULL; local 1140 if ((shdrs = (caddr_t)kmem_alloc(size, 0)) == NULL) { 1148 xread(fd, shdrs, size) != size) { 1153 AUX(*avp, AT_SUN_LDSHDR, shdrs); 1162 sp = (Elf32_Shdr *)(shdrs + (i*ehdr->e_shentsize)); 1240 if (shdrs) 1241 kmem_free(shdrs, size); 1261 caddr_t shdrs = NULL; local 1296 if ((shdrs = (caddr_t)kmem_alloc(size, 0)) == NULL) { 1304 xread(fd, shdrs, siz [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 232 caddr_t shdrs, shp; local 245 warn("failed to seek %s to shdrs", IOP_NAME(gf->gf_io)); 250 shdrs = mdb_alloc(nbytes, UM_SLEEP); 252 if (IOP_READ(gf->gf_io, shdrs, nbytes) != nbytes) { 254 mdb_free(shdrs, nbytes); 261 shp = shdrs; 267 mdb_free(shdrs, nbytes);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 2116 GElf_Shdr *shp, *shdrs = NULL; local 2136 if ((shdrs = malloc(efp->e_hdr.e_shnum * sizeof (GElf_Shdr))) == NULL) { 2146 free(shdrs); 2161 core_shdr_to_gelf(p, &shdrs[i]); 2163 (void) memcpy(&shdrs[i], p, sizeof (GElf_Shdr)); 2173 shp = &shdrs[efp->e_hdr.e_shstrndx]; 2196 shp = &shdrs[i]; 2238 if (shdrs[shp->sh_link].sh_type == SHT_DYNSYM) 2243 shp, &shdrs[shp->sh_link]); 2248 free(shdrs); [all...] |
Completed in 2141 milliseconds