/titanic_44/usr/src/uts/common/os/ |
H A D | ksyms_snapshot.c | 86 size_t symsize = symhdr->sh_entsize; in ksyms_walk_one() local 87 size_t nsyms = symhdr->sh_size / symsize; in ksyms_walk_one() 92 Sym *sym = (Sym *)(symhdr->sh_addr + i * symsize); in ksyms_walk_one()
|
/titanic_44/usr/src/cmd/dis/ |
H A D | dis_main.c | 132 size_t symsize; in dis_data() local 204 symbol = dis_tgt_lookup(tgt, addr, &symoffset, 1, &symsize, in dis_data() 208 symsize = symoffset; in dis_data() 212 getsymname(addr, symbol, symsize, symbuf, in dis_data()
|
/titanic_44/usr/src/cmd/lockstat/ |
H A D | lockstat.c | 511 size_t symsize; in coalesce_symbol() local 513 if (addr_to_sym(*addrp, &symoff, &symsize) != NULL && symoff < symsize) in coalesce_symbol() 1599 size_t symsize; in format_symbol() local 1601 symname = addr_to_sym(addr, &symoff, &symsize); in format_symbol() 1604 (void) sprintf(buf, "%s[%ld]", symname, (long)symsize); in format_symbol() 1609 else if (symoff <= symsize || (symoff < 256 && addr != symoff)) in format_symbol()
|
/titanic_44/usr/src/uts/common/krtld/ |
H A D | kobj.c | 942 mp->symsize = mp->symhdr->sh_size + mp->strhdr->sh_size + sizeof (int) + in load_linker() 1508 size_t symsize = mp->symhdr->sh_entsize; in kobj_export_ksyms() local 1548 mp->symsize = (2 * sizeof (Shdr)) + (nsyms * symsize) + in kobj_export_ksyms() 1552 mp->symspace = kobj_alloc(mp->symsize, KM_WAIT); in kobj_export_ksyms() 1554 mp->symspace = vmem_alloc(ksyms_arena, mp->symsize, in kobj_export_ksyms() 1557 bzero(mp->symspace, mp->symsize); in kobj_export_ksyms() 1566 mp->buckets = (symid_t *)(mp->symtbl + (nsyms * symsize)); in kobj_export_ksyms() 1578 mp->symhdr->sh_size = nsyms * symsize; in kobj_export_ksyms() 1582 mp->symhdr->sh_entsize = symsize; in kobj_export_ksyms() 1599 sp = (Sym *)(mp->symtbl + symsize * nsyms); in kobj_export_ksyms() [all …]
|
/titanic_44/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 1029 size_t symsize, nsym, isym, istr, len; in process_obj() local 1068 symsize = sizeof (Elf64_Sym); in process_obj() 1077 symsize = sizeof (Elf32_Sym); in process_obj() 1171 isym = data_sym->d_size / symsize; in process_obj() 1272 nsym * symsize)) == NULL) { in process_obj() 1291 data_sym->d_size += nsym * symsize; in process_obj() 1294 shdr_sym.sh_size += nsym * symsize; in process_obj()
|
/titanic_44/usr/src/uts/intel/dtrace/ |
H A D | fbt.c | 158 size_t symsize; in fbt_provide_module() local 194 symsize = symhdr->sh_entsize; in fbt_provide_module() 206 Sym *sym = (Sym *)(symhdr->sh_addr + i * symsize); in fbt_provide_module()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | kobj.h | 64 size_t symsize; member
|
/titanic_44/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 957 mp->symsize = mp->symhdr->sh_size + in init_xen_module() 959 mp->symspace = kmem_zalloc(mp->symsize, KM_SLEEP); in init_xen_module() 996 kmem_free(mp->symspace, mp->symsize); in init_xen_module()
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_kvm.c | 210 if (kmod.symsize == 0) in kt_load_modules() 211 kmod.symsize = symhdr.sh_size + strhdr.sh_size; in kt_load_modules() 226 if (KT_BAD_BUF(kmod.symtbl, kmod.symspace, kmod.symsize) || in kt_load_modules() 227 KT_BAD_BUF(kmod.strings, kmod.symspace, kmod.symsize)) { in kt_load_modules() 239 km->km_datasz = kmod.symsize; in kt_load_modules()
|
/titanic_44/usr/src/uts/sparc/dtrace/ |
H A D | fbt.c | 1005 size_t symsize; in fbt_provide_module() local 1051 symsize = symhdr->sh_entsize; in fbt_provide_module() 1092 Sym *sym = (Sym *)(symhdr->sh_addr + i * symsize); in fbt_provide_module()
|
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kmem.c | 2529 (uintptr_t)mod.symspace, mod.symsize, "symtab"); in whatis_walk_modctl()
|