Home
last modified time | relevance | path

Searched refs:strhdr (Results 1 – 17 of 17) sorted by relevance

/titanic_50/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c147 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_50/usr/src/cmd/ctfmerge/
H A Dctfmerge.c177 GElf_Shdr strhdr; in ctfmerge_elfopen() local
187 gelf_getshdr(strscn, &strhdr) == NULL) in ctfmerge_elfopen()
193 strhdr.sh_name); in ctfmerge_elfopen()
194 strsect.cts_type = strhdr.sh_type; in ctfmerge_elfopen()
195 strsect.cts_flags = strhdr.sh_flags; in ctfmerge_elfopen()
196 strsect.cts_size = strhdr.sh_size; in ctfmerge_elfopen()
197 strsect.cts_entsize = strhdr.sh_entsize; in ctfmerge_elfopen()
198 strsect.cts_offset = (off64_t)strhdr.sh_offset; in ctfmerge_elfopen()
/titanic_50/usr/src/tools/chk4ubin/
H A Dchk4ubin.c132 GElf_Shdr strhdr; in chk4ubin() local
166 gelf_getshdr(strscn, &strhdr); in chk4ubin()
167 strtab_size = strhdr.sh_size; in chk4ubin()
/titanic_50/usr/src/cmd/backup/restore/
H A Dsymtab.c490 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_50/usr/src/uts/common/krtld/
H A Dkobj_kdi.c185 mp1->symhdr != mp2->symhdr || mp1->strhdr != mp2->strhdr || in kobj_kdi_mod_haschanged()
H A Dkobj.c736 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_50/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_module_load.c154 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 Dkmdb_ctf_open.c89 mp->symhdr, mp->strings, mp->strhdr, errp)) == NULL) in mdb_ctf_open()
H A Dkmdb_kvm.c719 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_50/usr/src/uts/common/os/
H A Dksyms_snapshot.c85 Shdr *strhdr = symhdr + symhdr->sh_link; in ksyms_walk_one() local
88 char *strings = (char *)strhdr->sh_addr; in ksyms_walk_one()
/titanic_50/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c952 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_50/usr/src/uts/common/ctf/
H A Dctf_mod.c160 strsect.cts_size = mp->strhdr->sh_size; in ctf_modopen()
/titanic_50/usr/src/uts/common/sys/
H A Dkobj.h60 Shdr *symhdr, *strhdr; member
/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_kvm.c123 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 Dmdb_ctf.c1658 Shdr *symhdr, const void *str_va, Shdr *strhdr, int *errp) in mdb_ctf_bufopen() argument
1679 strtab.cts_type = strhdr->sh_type; in mdb_ctf_bufopen()
1680 strtab.cts_flags = strhdr->sh_flags; in mdb_ctf_bufopen()
1682 strtab.cts_size = strhdr->sh_size; in mdb_ctf_bufopen()
1683 strtab.cts_entsize = strhdr->sh_entsize; in mdb_ctf_bufopen()
1684 strtab.cts_offset = strhdr->sh_offset; in mdb_ctf_bufopen()
/titanic_50/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c315 size = mp->strhdr->sh_size; in sect_size()
/titanic_50/usr/src/cmd/mdb/intel/modules/mdb_kb/
H A Dmdb_kb.c827 if (!xkb_read_word(xkb, (uintptr_t)module->strhdr + in xkb_read_module()