Searched refs:sh_entsize (Results 1 - 25 of 83) sorted by relevance

1234

/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dshdr.c42 if (shdr->sh_entsize == 0) {
44 EC_OFF(shdr->sh_offset), EC_XWORD(shdr->sh_entsize));
46 Xword nelts = shdr->sh_size / shdr->sh_entsize;
51 EC_OFF(shdr->sh_offset), EC_XWORD(shdr->sh_entsize),
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Dsyms.c56 symn = shdr->sh_size / shdr->sh_entsize;
92 num = (Word)(shdr->sh_size / shdr->sh_entsize);
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A DsymintOpen.c259 nsyms_pri = tshd_p->sh_size / tshd_p->sh_entsize;
273 nsyms_pri = tshd_p->sh_size / tshd_p->sh_entsize;
281 nsyms_aux = tshd_p->sh_size / tshd_p->sh_entsize;
H A Drdelf.c239 nsyms_pri = shdr.sh_size / shdr.sh_entsize;
251 nsyms_pri = shdr.sh_size / shdr.sh_entsize;
258 nsyms_aux = shdr.sh_size / shdr.sh_entsize;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Di386_elf.h71 Elf32_Size sh_entsize; /* Size of each entry in section. */ member in struct:__anon2090
/illumos-gate/usr/src/cmd/mdb/tools/findfp/common/
H A Dfindsym.c53 nent = shdr.sh_size / shdr.sh_entsize;
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c182 (mp->symtbl+(stndx * mp->symhdr->sh_entsize));
208 (mp->symtbl+(stndx * mp->symhdr->sh_entsize));
309 nreloc = rshp->sh_size / rshp->sh_entsize;
330 nreloc, rshp->sh_entsize, shp->sh_addr) < 0) {
/illumos-gate/usr/src/uts/intel/ia32/krtld/
H A Dkobj_reloc.c178 (mp->symtbl+(stndx * mp->symhdr->sh_entsize));
203 (mp->symtbl+(stndx * mp->symhdr->sh_entsize));
303 nreloc = rshp->sh_size / rshp->sh_entsize;
324 nreloc, rshp->sh_entsize, shp->sh_addr) < 0) {
/illumos-gate/usr/src/lib/libtnfctl/
H A Delf.c238 if (dyn_shdr->sh_entsize == 0) { /* no dynamic section */
241 *ret = (int) (dyn_shdr->sh_size / dyn_shdr->sh_entsize);
H A Dtraverse.c213 nrels = rel_shdr->sh_size / rel_shdr->sh_entsize;
297 nsyms = shdr->sh_size / shdr->sh_entsize;
/illumos-gate/usr/src/cmd/boot/symdef/
H A Dsymdef.c99 symcnt = shdr.sh_size / shdr.sh_entsize;
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c231 (mp->symtbl+(stndx * mp->symhdr->sh_entsize));
259 (mp->symtbl+(stndx * mp->symhdr->sh_entsize));
367 nreloc = rshp->sh_size / rshp->sh_entsize;
386 nreloc, rshp->sh_entsize, shp->sh_addr) < 0) {
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dgroups.c185 if (gshdr->sh_entsize == 0) {
188 EC_XWORD(gshdr->sh_entsize));
201 (gshdr->sh_info >= (Word)(sshdr->sh_size / sshdr->sh_entsize)) ||
H A Dsections.c433 Word sh_entsize; member in struct:sec_info
453 #define SET_SEC_INFO(d_type, d_align, sh_flags, sh_entsize) \
456 sh_entsize}; \
459 #define SET_SEC_INFO_WORD_ALIGN(d_type, sh_flags, sh_entsize) \
462 sh_entsize}; \
632 size = entcnt * sec_info->sh_entsize;
653 shdr->sh_entsize = sec_info->sh_entsize;
1302 size = cnt * (size_t)shdr->sh_entsize;
1339 shdr->sh_entsize
[all...]
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c151 dst->sh_entsize = src->sh_entsize;
378 ctfsect.cts_entsize = shp->sh_entsize;
386 symsect.cts_entsize = shp->sh_entsize;
393 strsect.cts_entsize = lhp->sh_entsize;
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dshdr.c50 SHDR_CMD_T_SH_ENTSIZE = 3, /* shdr:sh_entsize */
276 EC_XWORD(shdr->sh_entsize));
475 Xword sh_entsize; local
477 sh_entsize = elfedit_atoui(argstate.argv[1], NULL);
478 if (shdr->sh_entsize == sh_entsize) {
483 EC_XWORD(shdr->sh_entsize));
489 EC_XWORD(shdr->sh_entsize),
490 EC_XWORD(sh_entsize));
492 shdr->sh_entsize
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c502 sp->sh_entsize = 0;
524 sp->sh_entsize = sizeof (Sym);
551 sp->sh_entsize = sizeof (Sym);
577 sp->sh_entsize = 0;
601 sp->sh_entsize = sizeof (Dyn);
702 sp->sh_entsize = M_PLT_ENTSIZE;
/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/
H A Dsetdynflag.c114 nent = shdr.sh_size / shdr.sh_entsize;
/illumos-gate/usr/src/cmd/sgs/libelf/misc/
H A Dnlist.c92 count = symdata->d_size / s_buf.sh_entsize;
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dmaps.c316 shdr.sh_size / shdr.sh_entsize;
324 shdr.sh_size / shdr.sh_entsize;
332 shdr.sh_size / shdr.sh_entsize;
341 mp->mi_pltentsz = shdr.sh_entsize;
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c217 Word cnt = symsec->sec_shdr->sh_size / symsec->sec_shdr->sh_entsize;
383 cache->sec_shdr->sh_entsize;
421 *num = cache->sec_shdr->sh_size / cache->sec_shdr->sh_entsize;
463 cache->sec_shdr->sh_entsize;
609 *num = symsec->sec_shdr->sh_size / symsec->sec_shdr->sh_entsize;
675 *num = xshndxsec->sec_shdr->sh_size / xshndxsec->sec_shdr->sh_entsize;
736 *num = versymsec->sec_shdr->sh_size / versymsec->sec_shdr->sh_entsize;
779 (strsec->sec_shdr->sh_entsize <= 1) &&
868 Word numdyn = dynsec->sec_shdr->sh_size / dynsec->sec_shdr->sh_entsize;
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c336 if ((shdr->sh_entsize == 0) || (shdr->sh_size == 0)) {
356 *symnum = (shdr->sh_size / shdr->sh_entsize);
411 if ((shdr->sh_entsize == 0) || (shdr->sh_size == 0)) {
420 symn = (Word)(shdr->sh_size / shdr->sh_entsize);
1000 if ((shdr->sh_entsize == 0) || (shdr->sh_size == 0)) {
1010 state->symn = (Word)(shdr->sh_size / shdr->sh_entsize);
1054 if ((shdr->sh_entsize) &&
1056 ((symn = (uint_t)(shdr->sh_size / shdr->sh_entsize)) == 0))
1334 if ((cshdr->sh_entsize == 0) || (cshdr->sh_size == 0)) {
1370 capinfonum = (Word)(cishdr->sh_size / cishdr->sh_entsize);
[all...]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgetdata.c178 size_t sz = sh->sh_entsize;
188 Elf64_Xword sz = sh->sh_entsize;
/illumos-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c86 size_t symsize = symhdr->sh_entsize;
175 shp->sh_entsize = sizeof (Sym);
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dreadelf.c485 nsyms_pri = shdr.sh_size / shdr.sh_entsize;
497 nsyms_pri = shdr.sh_size / shdr.sh_entsize;
504 nsyms_aux = shdr.sh_size / shdr.sh_entsize;

Completed in 102 milliseconds

1234