/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | sharefs.c | 57 sh->sh_size = i; 60 sh->sh_size += j; 64 sh->sh_size += j; 68 sh->sh_size += j; 72 sh->sh_size += j;
|
/illumos-gate/usr/src/uts/common/sharefs/ |
H A D | share.h | 48 size_t sh_size; member in struct:share 59 size32_t sh_size; member in struct:share32
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | getshnum.c | 71 *shnum = shdr0.sh_size;
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 498 sp->sh_size = sizeof (shstr); 505 off += roundup(sp->sh_size, SH_ADDRALIGN); 519 sp->sh_size = ldynsym_size; 522 sp->sh_info = sp->sh_size / sizeof (Sym); 526 if (Pread(P, &elfdata[off], sp->sh_size, 527 sp->sh_addr) != sp->sh_size) { 532 off += sp->sh_size; 547 sp->sh_size = dynsym_size; 553 if (Pread(P, &elfdata[off], sp->sh_size, 554 sp->sh_addr) != sp->sh_size) { [all...] |
H A D | Pcore.c | 1418 size = base + symtab->sh_size + strtab->sh_size; 1435 b->shdr[1].sh_size = symtab->sh_size; 1443 if (pread64(P->asfd, &b->data[off], b->shdr[1].sh_size, 1444 symtab->sh_offset) != b->shdr[1].sh_size) { 1450 off += b->shdr[1].sh_size; 1453 b->shdr[2].sh_size = strtab->sh_size; 1459 if (pread64(P->asfd, &b->data[off], b->shdr[2].sh_size, [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 165 if (i == h.e_shnum || sh[i].sh_size == 0 || 169 sh[sh[i].sh_link].sh_size == 0) 176 size = (int) (sh[i].sh_size + sh[sh[i].sh_link].sh_size); 192 read(fd, stbuf, sh[i].sh_size) != sh[i].sh_size || 195 read(fd, stbuf + sh[i].sh_size, sh[sh[i].sh_link].sh_size) != 196 sh[sh[i].sh_link].sh_size) 201 nsyms = (int) (sh[i].sh_size / s [all...] |
/illumos-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | syms.c | 56 symn = shdr->sh_size / shdr->sh_entsize; 92 num = (Word)(shdr->sh_size / shdr->sh_entsize);
|
/illumos-gate/usr/src/uts/common/fs/sharefs/ |
H A D | sharetab.c | 64 sh->sh_size += shl.shl_##field; /* Debug counting */ 161 ASSERT(sharetab_size >= s->sh_size); 162 sharetab_size -= s->sh_size; 238 sh->sh_size = shl->shl_path + shl->shl_res + 241 sh->sh_size = strlen(sh->sh_path) + 250 sh->sh_size += 5; 274 ASSERT(sharetab_size >= s->sh_size); 275 sharetab_size -= s->sh_size; 276 sharetab_size += sh->sh_size; 304 sharetab_size += sh->sh_size; [all...] |
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 187 (ulong_t)shdr->sh_size, 189 next_addr + shdr->sh_size); 191 shdr->sh_size);
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 147 dst->sh_size = src->sh_size; 291 shnum = x32.sh_size; 301 shnum = x64.sh_size; 343 strs_mapsz = sp[shstrndx].sh_size + 368 if (shp->sh_name >= sp[shstrndx].sh_size || 369 lhp->sh_name >= sp[shstrndx].sh_size) 377 ctfsect.cts_size = shp->sh_size; 385 symsect.cts_size = shp->sh_size; 392 strsect.cts_size = lhp->sh_size; [all...] |
/illumos-gate/usr/src/cmd/file/ |
H A D | elf_read.c | 217 EI_Ehdr_shnum = EI_Shdr.sh_size; 439 if ((strtab = malloc(shdr->sh_size)) == NULL) 442 if (pread64(EI->elffd, strtab, shdr->sh_size, shdr->sh_offset) 443 != shdr->sh_size) 446 strtab_sz = shdr->sh_size; 464 if (shdr->sh_size == 0 || shdr->sh_entsize == 0) { 469 capn = (shdr->sh_size / shdr->sh_entsize);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | load_elf_obj.c | 219 if (shdr[i].sh_size == 0) 226 lastaddr += shdr[i].sh_size; 239 lastaddr += shdr[i].sh_size; 250 lastaddr += shdr[ef->symtabindex].sh_size; 261 lastaddr += shdr[symstrindex].sh_size; 273 lastaddr += shdr[ef->shstrindex].sh_size; 282 lastaddr += shdr[i].sh_size; 318 cshdr->sh_size, (off_t)cshdr->sh_offset) != 0) { 444 *stopp = shdr[i].sh_addr + shdr[i].sh_size; 483 shdr[shdr[i].sh_info].sh_size) [all...] |
H A D | load_elf.c | 523 chunk = shdr[ehdr->e_shstrndx].sh_size; 533 size = shdr[i].sh_size; 554 (shdr[i].sh_offset + shdr[i].sh_size <= 557 shdr[i].sh_size = 0; 561 if (shdr[i].sh_offset == 0 || shdr[i].sh_size == 0) 592 size = shdr[i].sh_size; 598 (uintmax_t)shdr[i].sh_size, (uintmax_t)shdr[i].sh_offset, 599 (uintmax_t)lastaddr, (uintmax_t)(lastaddr + shdr[i].sh_size)); 612 result = archsw.arch_readin(ef->fd, lastaddr, shdr[i].sh_size); 613 if (result < 0 || (size_t)result != shdr[i].sh_size) { [all...] |
/illumos-gate/usr/src/cmd/sgs/size/common/ |
H A D | process.c | 161 first += shdr.sh_size; 166 second += shdr.sh_size; 170 third += shdr.sh_size; 175 size += shdr.sh_size; 179 (void) printf(prusect[numbase], shdr.sh_size);
|
/illumos-gate/usr/src/cmd/sgs/prof/common/ |
H A D | symintOpen.c | 259 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;
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | output.c | 349 nent = shdr.sh_size / shdr.sh_entsize; 570 ddata->d_buf = xmalloc(ddata->d_size + shdr.sh_size + 572 bcopy(sdata->d_buf, ddata->d_buf, shdr.sh_size); 573 strcpy((caddr_t)ddata->d_buf + shdr.sh_size, 575 ctfnameoff = (off_t)shdr.sh_size; 576 shdr.sh_size += seclen + 1; 584 int nsym = shdr.sh_size / shdr.sh_entsize; 588 ddata->d_buf = xmalloc(shdr.sh_size); 589 bcopy(sdata->d_buf, ddata->d_buf, shdr.sh_size); 615 new_offset += shdr.sh_size; [all...] |
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | shdr.c | 40 dbg_print(lml, MSG_ORIG(MSG_SHD_SIZE), EC_XWORD(shdr->sh_size), 46 Xword nelts = shdr->sh_size / shdr->sh_entsize;
|
/illumos-gate/usr/src/uts/common/ctf/ |
H A D | ctf_mod.c | 141 symsect.cts_size = mp->symhdr->sh_size; 153 strsect.cts_size = mp->strhdr->sh_size;
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | i386_elf.h | 67 Elf32_Size sh_size; /* Size in bytes. */ member in struct:__anon2090
|
/illumos-gate/usr/src/cmd/mdb/tools/findfp/common/ |
H A D | findsym.c | 53 nent = shdr.sh_size / shdr.sh_entsize;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ksyms_snapshot.c | 87 size_t nsyms = symhdr->sh_size / symsize; 171 shp->sh_size = kw.kw_size[KW_LOCALS] + kw.kw_size[KW_GLOBALS]; 182 shp->sh_size = kw.kw_size[KW_STRINGS]; 189 shp->sh_size = sizeof (ksyms_shstrtab);
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 878 namesize = shp->sh_size; 879 names = kmem_zalloc(shp->sh_size, KM_SLEEP); 880 if (kobj_read_file(file, names, shp->sh_size, shp->sh_offset) < 0) 903 if ((shp->sh_size != 0) && 921 mp->data_size += ALIGN(shp->sh_size, 8); 928 mp->text_size += ALIGN(shp->sh_size, 8); 955 mp->nsyms = mp->symhdr->sh_size / mp->symhdr->sh_entsize; 958 mp->symsize = mp->symhdr->sh_size + 959 mp->nsyms * sizeof (symid_t) + mp->strhdr->sh_size; 962 mp->strings = (char *)(mp->symtbl + mp->symhdr->sh_size); [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 64 dt_write(dtp, fd, (data), elf_file.shdr[(index)].sh_size) != \ 65 elf_file.shdr[(index)].sh_size) 507 shp->sh_size = sizeof (DTRACE_SHSTRTAB32); 509 off = P2ROUNDUP(shp->sh_offset + shp->sh_size, 8); 516 shp->sh_size = dof->dofh_filesz; 518 off = shp->sh_offset + shp->sh_size; 525 shp->sh_size = de.de_strlen; 527 off = P2ROUNDUP(shp->sh_offset + shp->sh_size, 4); 537 shp->sh_size = de.de_nsym * sizeof (Elf32_Sym); 539 off = P2ROUNDUP(shp->sh_offset + shp->sh_size, [all...] |
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 201 (size_t)symhdr->sh_size, 202 (size_t)((symhdr->sh_size / symhdr->sh_entsize) * 225 if ((strdata = elf_read(fd, strhdr->sh_offset, strhdr->sh_size, 226 strhdr->sh_size, ELF_T_BYTE)) == 0) { 237 ((char *)strdata->d_buf)[strhdr->sh_size-1] = '\0'; 244 if (sym->st_name > strhdr->sh_size) {
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | ldentry.c | 95 EC_XWORD(osp->os_shdr->sh_size)); 125 EC_XWORD(isp->is_shdr->sh_size),
|