Searched defs:symp (Results 1 - 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dsymbindrep.c90 la_symbind64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcook, argument
94 la_symbind32(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcook,
99 const char *sym_name = (const char *)symp->st_name;
105 return (symp->st_value);
H A Dbindings.c360 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcooke, argument
365 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcooke,
369 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcooke,
374 la_i86_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcooke,
383 const char *sym_name = (const char *)symp->st_name;
392 return (symp->st_value);
515 return (symp->st_value);
H A Dperfcnt.c171 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, argument
176 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie,
180 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie,
185 la_i86_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcooke,
192 return (symp->st_value);
201 la_pltexit64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, argument
205 la_pltexit(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie,
213 const char *sym_name = (const char *)symp->st_name;
H A Dtruss.c185 la_symbind64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcook, argument
189 la_symbind32(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcook,
194 const char *sym_name = (const char *)symp->st_name;
220 return (symp->st_value);
226 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, argument
231 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie,
235 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie,
240 la_i86_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie,
248 const char *sym_name = (const char *)symp->st_name;
271 return (symp
278 la_pltexit64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, uintptr_t *defcookie, uintptr_t retval, const char *sym_name) argument
[all...]
H A Dwho.c282 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, argument
287 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie,
291 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie,
296 la_i86_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcooke,
302 const char *sym_name = (const char *)symp->st_name;
322 return (symp->st_value);
/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_synd.c227 mcamd_cksynd_decode(struct mcamd_hdl *hdl, uint32_t synd, uint_t *symp, argument
241 *symp = i;
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_pservice.c157 const char *name, psaddr_t *symp)
163 return (ps_ops.ps_pglobal_lookup(P, object, name, symp));
166 *symp = (psaddr_t)sym.st_value;
182 const char *name, ps_sym_t *symp)
189 return (ps_ops.ps_pglobal_sym(P, object, name, symp));
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;
195 symp->st_info = ELF32_ST_INFO(
197 symp
156 ps_pglobal_lookup(struct ps_prochandle *P, const char *object, const char *name, psaddr_t *symp) argument
181 ps_pglobal_sym(struct ps_prochandle *P, const char *object, const char *name, ps_sym_t *symp) argument
[all...]
/illumos-gate/usr/src/lib/libdtrace/sparc/
H A Ddt_isadep.c54 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp)
57 ftp->ftps_pc = (uintptr_t)symp->st_value;
58 ftp->ftps_size = (size_t)symp->st_size;
73 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret)
80 if ((text = malloc(symp->st_size + 4)) == NULL) {
85 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) {
95 text[symp->st_size / 4] = 0;
98 ftp->ftps_pc = symp
53 dt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) argument
72 dt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) argument
278 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) argument
301 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) argument
[all...]
/illumos-gate/usr/src/common/ctf/
H A Dctf_lookup.c191 const Elf32_Sym *symp = (Elf32_Sym *)sp->cts_data + symidx; local
192 if (ELF32_ST_TYPE(symp->st_info) != STT_OBJECT)
195 const Elf64_Sym *symp = (Elf64_Sym *)sp->cts_data + symidx; local
196 if (ELF64_ST_TYPE(symp->st_info) != STT_OBJECT)
254 const Elf32_Sym *symp = (Elf32_Sym *)sp->cts_data + symidx; local
255 if (ELF32_ST_TYPE(symp->st_info) != STT_FUNC)
258 const Elf64_Sym *symp = (Elf64_Sym *)sp->cts_data + symidx; local
259 if (ELF64_ST_TYPE(symp->st_info) != STT_FUNC)
H A Dctf_open.c114 const uchar_t *symp = sp->cts_data; local
132 for (; xp < xend; xp++, symp += sp->cts_entsize) {
134 gsp = sym_to_gelf((Elf32_Sym *)(uintptr_t)symp, &sym);
136 gsp = (Elf64_Sym *)(uintptr_t)symp;
802 ctf_sect_t *ctp, *symp, *strp; local
836 symp = &symsect;
838 symp = NULL;
857 fp = ctf_bufopen(ctp, symp, strp, &err);
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dsyms.c55 sym_tbl_t *symp; local
60 symp = &(mp->mi_symtab);
62 symp = &(mp->mi_dynsym);
66 strs = symp->st_strs;
68 for (i = 0; i < (int)symp->st_symn; i++) {
71 if (symtab_getsym(symp, i, &sym) == NULL) {
126 sym_tbl_t *symp; local
139 symp = &(mp->mi_symtab);
141 symp = &(mp->mi_dynsym);
149 for (i = 0; i < (int)symp
208 addr_to_sym(struct ps_prochandle *ph, ulong_t addr, GElf_Sym *symp, char **str) argument
220 str_to_sym(struct ps_prochandle *ph, const char *name, GElf_Sym *symp) argument
[all...]
H A Dps.c279 const char *sym_name, ps_sym_t *symp)
291 *symp = gsym;
293 gelf_sym_to_elf32(&gsym, (Elf32_Sym *)symp);
278 ps_pglobal_sym(struct ps_prochandle *ph, const char *object_name, const char *sym_name, ps_sym_t *symp) argument
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c180 Sym * symp; local
181 symp = (Sym *)
188 (const char *)mp->strings + symp->st_name);
/illumos-gate/usr/src/uts/intel/ia32/krtld/
H A Dkobj_reloc.c176 Sym * symp; local
177 symp = (Sym *)
183 (const char *)mp->strings + symp->st_name);
/illumos-gate/usr/src/lib/libdtrace/i386/
H A Ddt_isadep.c62 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp)
65 ftp->ftps_pc = (uintptr_t)symp->st_value;
66 ftp->ftps_size = (size_t)symp->st_size;
81 uint8_t *text, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp)
94 size = dt_instr_size(&text[i], dtp, pid, symp->st_value + i,
125 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret)
137 if ((text = calloc(1, symp->st_size + 4)) == NULL) {
142 if (Pread(P, text, symp->st_size, symp->st_value) != symp
61 dt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) argument
80 dt_pid_has_jump_table(struct ps_prochandle *P, dtrace_hdl_t *dtp, uint8_t *text, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) argument
124 dt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) argument
268 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) argument
350 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) argument
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPservice.c358 const char *sym_name, ps_sym_t *symp)
364 symp->st_name = (Elf32_Word)sym.st_name;
365 symp->st_value = (Elf32_Addr)sym.st_value;
366 symp->st_size = (Elf32_Word)sym.st_size;
367 symp->st_info = ELF32_ST_INFO(
369 symp->st_other = sym.st_other;
370 symp->st_shndx = sym.st_shndx;
375 if (Plookup_by_name(P, object_name, sym_name, symp) == 0)
357 ps_pglobal_sym(struct ps_prochandle *P, const char *object_name, const char *sym_name, ps_sym_t *symp) argument
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c69 Elf32_Sym *symp = &(((Elf32_Sym *)data->d_buf)[i]); local
71 return (fp->file_dynsym.sym_strs + symp->st_name);
/illumos-gate/usr/src/lib/libproc/sparc/
H A DPisadep.c74 Elf32_Sym *symp = &(((Elf32_Sym *)data->d_buf)[i]); local
76 return (fp->file_dynsym.sym_strs + symp->st_name);
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_module.c90 size_t nbytes, GElf_Sym *symp, mdb_syminfo_t *sip)
106 buf, nbytes, symp, &sip->sym_id) != 0 ||
107 symp->st_value == 0)
120 if (sym_kmc == NULL || mdb_gelf_sym_closer(symp, &sym, addr)) {
122 sym = *symp;
130 *symp = sym;
139 name = mdb_gelf_sym_name(sym_kmc->kmc_symtab, symp);
153 kmdb_module_lookup_by_name(const char *obj, const char *name, GElf_Sym *symp, argument
162 symp, &sip->sym_id) == 0) {
89 kmdb_module_lookup_by_addr(uintptr_t addr, uint_t flags, char *buf, size_t nbytes, GElf_Sym *symp, mdb_syminfo_t *sip) argument
/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c229 Sym *symp; local
230 symp = (Sym *)
237 (const char *)mp->strings + symp->st_name);
/illumos-gate/usr/src/cmd/lockstat/
H A Dsym.c143 Sym *symtab, *symp, *lastsym; local
173 for (symp = symtab; symp < lastsym; symp++)
174 if ((uint_t)ELF32_ST_TYPE(symp->st_info) <= STT_FUNC &&
175 symp->st_size != 0)
176 add_symbol(symp->st_name + strtab,
177 (uintptr_t)symp->st_value, (size_t)symp->st_size);
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c71 Elf64_Sym *symp = &(((Elf64_Sym *)data->d_buf)[i]); local
73 return (fp->file_dynsym.sym_strs + symp->st_name);
83 Elf32_Sym *symp = &(((Elf32_Sym *)data->d_buf)[i]); local
85 return (fp->file_dynsym.sym_strs + symp->st_name);
/illumos-gate/usr/src/lib/libproc/sparcv9/
H A DPisadep.c89 Elf64_Sym *symp = &(((Elf64_Sym *)data->d_buf)[i]); local
91 return (fp->file_dynsym.sym_strs + symp->st_name);
106 Elf32_Sym *symp = &(((Elf32_Sym *)data->d_buf)[i]); local
108 return (fp->file_dynsym.sym_strs + symp->st_name);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dhcpv6.c909 dhcp_symbol_t *symp; local
912 symp = inittab_getbycode(
915 if (symp != NULL) {
916 str = inittab_decode(symp, data, olen, B_TRUE);
929 free(symp);
1011 dhcp_symbol_t *symp; local
1028 symp = inittab_getbycode(
1031 if (symp != NULL) {
1032 str = inittab_decode(symp, data, olen, B_TRUE);
1039 free(symp);
[all...]
/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c621 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, argument
626 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie,
630 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie,
635 la_i86_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie,
647 return (symp->st_value);
667 return (plt_cg_interp(symndx, (caddr_t)from, (caddr_t)symp->st_value));

Completed in 105 milliseconds

12