| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/ |
| netstack.c | 37 GElf_Sym sym; local 40 if (mdb_lookup_by_name("netstack_head", &sym) == -1) { 44 addr = (uintptr_t)sym.st_value;
|
| irm.c | 59 GElf_Sym sym; local 61 if (mdb_lookup_by_name("irm_pools_list", &sym) == -1) { 66 wsp->walk_addr = (uintptr_t)sym.st_value;
|
| contract.c | 40 GElf_Sym sym; local 41 if (mdb_lookup_by_name("contract_avl", &sym)) { 45 wsp->walk_addr = sym.st_value;
|
| zone.c | 89 GElf_Sym sym; local 92 if (mdb_lookup_by_name("zone_active", &sym) == -1) { 96 wsp->walk_addr = (uintptr_t)sym.st_value;
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/sockfs/ |
| sockfs.c | 41 GElf_Sym sym; local 43 if (mdb_lookup_by_name(symname, &sym)) { 49 sym.st_value) != 0) {
|
| /onnv/onnv-gate/usr/src/cmd/mdb/tools/findfp/common/ |
| findsym.c | 56 GElf_Sym sym; local 58 if (gelf_getsym(symtab, i, &sym) == NULL) 61 if ((GELF_ST_TYPE(sym.st_info) != STT_FUNC && 62 GELF_ST_TYPE(sym.st_info) != STT_OBJECT) || 63 sym.st_shndx == SHN_UNDEF) 66 if (addr - sym.st_value < sym.st_size) { 69 sym.st_name)) == NULL) 70 elfdie("failed to get name for sym %d", i); 71 *offp = addr - sym.st_value [all...] |
| /onnv/onnv-gate/usr/src/cmd/boot/symdef/ |
| symdef.c | 67 GElf_Sym sym; local 103 &sym, &shndx) != NULL) && 105 sym.st_name)) == 0)) {
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/kmdb/ |
| kmdb_dl.c | 102 GElf_Sym sym; local 105 if (mdb_gelf_symtab_lookup_by_name(kmc->kmc_symtab, name, &sym, 109 return ((void *)(uintptr_t)sym.st_value);
|
| kmdb_module.c | 93 GElf_Sym sym; local 120 if (sym_kmc == NULL || mdb_gelf_sym_closer(symp, &sym, addr)) { 122 sym = *symp; 130 *symp = sym; 222 kmdb_module_symtab_func(void *data, const GElf_Sym *sym, const char *name, 227 if (mdb_tgt_sym_match(sym, arg->sym_type)) { 230 return (arg->sym_cb(arg->sym_data, sym, name, &arg->sym_info,
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/mdb/ |
| mdb_pservice.c | 160 GElf_Sym sym; local 165 if (mdb_tgt_lookup_by_name(t, object, name, &sym, NULL) == 0) { 166 *symp = (psaddr_t)sym.st_value; 186 GElf_Sym sym; local 191 if (mdb_tgt_lookup_by_name(t, object, name, &sym, NULL) == 0) { 192 symp->st_name = (Elf32_Word)sym.st_name; 193 symp->st_value = (Elf32_Addr)sym.st_value; 194 symp->st_size = (Elf32_Word)sym.st_size; 196 GELF_ST_BIND(sym.st_info), GELF_ST_TYPE(sym.st_info)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/libumem/ |
| misc.c | 61 GElf_Sym sym; local 64 if (mdb_lookup_by_obj(UMEM_OBJNAME, "umem_alloc", &sym) == 0) 66 else if (mdb_lookup_by_obj(MDB_OBJ_EXEC, "umem_alloc", &sym) == 0) 81 umem_lookup_by_name(const char *name, GElf_Sym *sym) 84 UMEM_OBJNAME), name, sym)); 91 GElf_Sym sym; local 93 if (umem_lookup_by_name(name, &sym)) 96 if (mdb_vread(buf, sym.st_size, (uintptr_t)sym.st_value) 97 == sym.st_size [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/logindmux/ |
| logindmux.c | 104 GElf_Sym sym; local 106 if (mdb_lookup_by_obj("logindmux", "logdmuxuwinit", &sym) == 0) 107 mdb_qops_install(&logdmux_uqops, (uintptr_t)sym.st_value); 108 if (mdb_lookup_by_obj("logindmux", "logdmuxlwinit", &sym) == 0) 109 mdb_qops_install(&logdmux_lqops, (uintptr_t)sym.st_value); 117 GElf_Sym sym; local 119 if (mdb_lookup_by_obj("logindmux", "logdmuxuwinit", &sym) == 0) 120 mdb_qops_remove(&logdmux_uqops, (uintptr_t)sym.st_value); 121 if (mdb_lookup_by_obj("logindmux", "logdmuxlwinit", &sym) == 0) 122 mdb_qops_remove(&logdmux_lqops, (uintptr_t)sym.st_value) [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/i86pc/modules/uppc/ |
| uppc.c | 174 GElf_Sym sym; local 176 if (mdb_lookup_by_name("gld_intr", &sym) != -1) 177 if (GELF_ST_TYPE(sym.st_info) == STT_FUNC) 178 gld_intr_addr = (uintptr_t)sym.st_value;
|
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| nss_deffinder.c | 69 void *sym; local 78 if ((sym = dlsym(dlhandle, name)) == 0) { 82 res = (nss_backend_constr_t)sym;
|
| /onnv/onnv-gate/usr/src/lib/libpp/common/ |
| ppmisc.c | 37 register struct ppsymbol* sym; local 39 if (!(sym = ppsymget(pp.symtab, name)) && (ref <= REF_NORMAL && pp.macref || ref == REF_CREATE || ref == REF_DELETE && (pp.mode & (INIT|READONLY)))) 43 sym = ppsymset(pp.symtab, NiL); 45 if (sym && ref <= REF_NORMAL) 47 if (pp.macref) (*pp.macref)(sym, error_info.file, error_info.line, ref == REF_NORMAL && (pp.state & CONDITIONAL) ? REF_IF : ref, 0L); 48 if (!sym->macro) sym = 0; 53 if (ref == REF_IF && sym && (sym->flags & SYM_PREDEFINED) && *name != '_' && !(pp.mode & (HOSTED|INACTIVE))) 62 return(sym); 74 register struct ppsymbol* sym; local [all...] |
| ppbuiltin.c | 52 struct ppsymbol* sym; local 119 if ((c = pplex()) != T_ID || !(sym = ppsymref(pp.symtab, pp.token)) || !sym->macro || sym->macro->arity != 1 || (c = pplex()) != ',') 139 STRCOPY(pp.token, sym->name, a); 246 p = (sym = pprefmac(a, REF_NORMAL)) ? sym->macro->value : "";
|
| /onnv/onnv-gate/usr/src/cmd/sgs/libelf/misc/ |
| nlist.c | 68 GElf_Sym sym; /* buffer storing one symbol information */ local 97 (void) gelf_getsym(symdata, (int)ii, &sym); 98 name = elf_strptr(elfdes, strtab, (size_t)sym.st_name); 104 p->n_value = (long)sym.st_value; 105 p->n_type = GELF_ST_TYPE(sym.st_info); 106 p->n_scnum = sym.st_shndx;
|
| /onnv/onnv-gate/usr/src/cmd/sgs/librtld_db/rdb_demo/common/ |
| syms.c | 72 GElf_Sym sym; local 74 if (symtab_getsym(symp, i, &sym) == 0) { 79 if (sym.st_name == 0) 81 if ((sym.st_shndx == SHN_UNDEF) || 82 (strcmp(strs + sym.st_name, symname) != 0)) 84 *symptr = sym; 132 GElf_Sym sym; local 157 if (symtab_getsym(symp, i, &sym) == 0) { 161 if ((sym.st_name == 0) || (sym.st_shndx == SHN_UNDEF) [all...] |
| dis.c | 73 GElf_Sym sym; local 77 if (addr_to_sym(ph, address, &sym, &str) == RET_OK) { 117 val = sym.st_value; 123 val = sym.st_value;
|
| /onnv/onnv-gate/usr/src/cmd/sgs/rtld/common/ |
| move.c | 54 elf_move_bad(Lm_list *lml, Rt_map *lmp, Sym *sym, ulong_t num, Addr addr) 66 if (ELF_ST_BIND(sym->st_info) != STB_LOCAL) 67 name = (const char *)(STRTAB(lmp) + sym->st_name); 102 Sym *sym; local 104 if ((sym = (Sym *)SYMTAB(lmp) + ELF_M_SYM(mv->m_info)) == 0) 108 addr = sym->st_value; 119 elf_move_bad(lml, lmp, sym, num, taddr) [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/crypto/dso/ |
| dso_dl.c | 185 void *sym; local 203 if (shl_findsym(&ptr, symname, TYPE_UNDEFINED, &sym) < 0) 210 return(sym); 216 void *sym; local 234 if (shl_findsym(&ptr, symname, TYPE_UNDEFINED, &sym) < 0) 241 return((DSO_FUNC_TYPE)sym);
|
| /onnv/onnv-gate/usr/src/lib/krb5/ss/ |
| utils.c | 21 char *sym; local 22 sym = gensym("ssu"); 24 fputs(sym, output_file); 31 fputs(sym, output_file);
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/hook/ |
| hook.c | 46 GElf_Sym sym; local 90 MDB_SYM_EXACT, buf, sizeof (buf), &sym) == -1)
|
| /onnv/onnv-gate/usr/src/cmd/mdb/i86pc/modules/pcplusmp/ |
| apic.c | 229 GElf_Sym sym; local 231 if (mdb_lookup_by_name("gld_intr", &sym) != -1) 232 if (GELF_ST_TYPE(sym.st_info) == STT_FUNC) 233 gld_intr_addr = (uintptr_t)sym.st_value;
|
| /onnv/onnv-gate/usr/src/cmd/sgs/librtld_db/common/ |
| rtld_db.c | 311 ps_sym_t sym; local 317 if (ps_pglobal_sym(rap->rd_psp, PS_OBJ_LDSO, bname, &sym) != PS_OK) { 323 rap->rd_tbinder = *beaddr = sym.st_value + sym.st_size - M_BIND_ADJ;
|