/titanic_41/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 147 Elf32_Shdr *strhdr; /* section table entry for strtab */ in _elf_nlist() local 212 strhdr = (Elf32_Shdr *)secdata->d_buf; in _elf_nlist() 213 strhdr = strhdr + symhdr->sh_link; in _elf_nlist() 215 if (strhdr->sh_type != SHT_STRTAB) { in _elf_nlist() 225 if ((strdata = elf_read(fd, strhdr->sh_offset, strhdr->sh_size, in _elf_nlist() 226 strhdr->sh_size, ELF_T_BYTE)) == 0) { in _elf_nlist() 237 ((char *)strdata->d_buf)[strhdr->sh_size-1] = '\0'; in _elf_nlist() 244 if (sym->st_name > strhdr->sh_size) { in _elf_nlist()
|
/titanic_41/usr/src/tools/chk4ubin/ |
H A D | chk4ubin.c | 132 GElf_Shdr strhdr; in chk4ubin() local 166 gelf_getshdr(strscn, &strhdr); in chk4ubin() 167 strtab_size = strhdr.sh_size; in chk4ubin()
|
/titanic_41/usr/src/cmd/backup/restore/ |
H A D | symtab.c | 490 struct strhdr { struct 491 struct strhdr *next; argument 494 #define STRTBLINCR ((size_t)sizeof (struct strhdr)) 497 static struct strhdr strtblhdr[allocsize(MAXCOMPLEXLEN) / STRTBLINCR]; 507 struct strhdr *np; 548 struct strhdr *tp, *np; 554 np = (struct strhdr *)name;
|
/titanic_41/usr/src/uts/common/krtld/ |
H A D | kobj_kdi.c | 185 mp1->symhdr != mp2->symhdr || mp1->strhdr != mp2->strhdr || in kobj_kdi_mod_haschanged()
|
H A D | kobj.c | 736 mp->strhdr = NULL; in load_exec() 746 mp->strhdr = kobj_zalloc(sizeof (Shdr), KM_WAIT); in load_exec() 749 mp->strhdr->sh_type = SHT_STRTAB; in load_exec() 766 mp->strhdr->sh_addr = dyn->d_un.d_ptr; in load_exec() 769 mp->strhdr->sh_size = dyn->d_un.d_val; in load_exec() 937 mp->strhdr = (Shdr *) in load_linker() 939 mp->strings = (char *)mp->strhdr->sh_addr; in load_linker() 942 mp->symsize = mp->symhdr->sh_size + mp->strhdr->sh_size + sizeof (int) + in load_linker() 1564 mp->strhdr = (Shdr *)(mp->symhdr + 1); in kobj_export_ksyms() 1565 mp->symtbl = (char *)(mp->strhdr + 1); in kobj_export_ksyms() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_module_load.c | 154 mp->strhdr == NULL || mp->symtbl == NULL || mp->strings == NULL) { in kmdb_module_loaded() 177 mp->symtbl, mp->strhdr, mp->strings, in kmdb_module_loaded() 376 &kmc->kmc_ehdr, mp->symhdr, mp->symtbl, mp->strhdr, in kmdb_module_sync()
|
H A D | kmdb_ctf_open.c | 90 mp->symhdr, mp->strings, mp->strhdr, errp)) == NULL) in mdb_ctf_open()
|
H A D | kmdb_kvm.c | 719 if (mod->symhdr != NULL && mod->strhdr != NULL && mod->symtbl != NULL && in kmt_mod_create() 724 mod->symhdr, mod->symtbl, mod->strhdr, mod->strings, in kmt_mod_create() 733 (uintptr_t)mod->strhdr) != sizeof (Shdr)) in kmt_mod_create()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | ksyms_snapshot.c | 85 Shdr *strhdr = symhdr + symhdr->sh_link; in ksyms_walk_one() local 88 char *strings = (char *)strhdr->sh_addr; in ksyms_walk_one()
|
/titanic_41/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 952 mp->strhdr = (Shdr *) in init_xen_module() 958 mp->nsyms * sizeof (symid_t) + mp->strhdr->sh_size; in init_xen_module() 966 mp->strhdr->sh_size, mp->strhdr->sh_offset) < 0)) in init_xen_module()
|
/titanic_41/usr/src/uts/common/ctf/ |
H A D | ctf_mod.c | 153 strsect.cts_size = mp->strhdr->sh_size; in ctf_modopen()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | kobj.h | 60 Shdr *symhdr, *strhdr; member
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_kvm.c | 123 Shdr symhdr, strhdr; in kt_load_modules() local 178 kmod.strhdr == NULL) { in kt_load_modules() 194 if (mdb_tgt_vread(t, &strhdr, sizeof (Shdr), in kt_load_modules() 195 (uintptr_t)kmod.strhdr) == -1) { in kt_load_modules() 211 kmod.symsize = symhdr.sh_size + strhdr.sh_size; in kt_load_modules() 244 km->km_strtab_hdr = strhdr; in kt_load_modules()
|
H A D | mdb_ctf.c | 1656 Shdr *symhdr, const void *str_va, Shdr *strhdr, int *errp) in mdb_ctf_bufopen() argument 1677 strtab.cts_type = strhdr->sh_type; in mdb_ctf_bufopen() 1678 strtab.cts_flags = strhdr->sh_flags; in mdb_ctf_bufopen() 1680 strtab.cts_size = strhdr->sh_size; in mdb_ctf_bufopen() 1681 strtab.cts_entsize = strhdr->sh_entsize; in mdb_ctf_bufopen() 1682 strtab.cts_offset = strhdr->sh_offset; in mdb_ctf_bufopen()
|
/titanic_41/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 315 size = mp->strhdr->sh_size; in sect_size()
|
/titanic_41/usr/src/cmd/mdb/intel/modules/mdb_kb/ |
H A D | mdb_kb.c | 827 if (!xkb_read_word(xkb, (uintptr_t)module->strhdr + in xkb_read_module()
|