Lines Matching defs:symidx
179 ctf_lookup_by_symbol(ctf_file_t *fp, ulong_t symidx)
187 if (symidx >= fp->ctf_nsyms)
191 const Elf32_Sym *symp = (Elf32_Sym *)sp->cts_data + symidx;
195 const Elf64_Sym *symp = (Elf64_Sym *)sp->cts_data + symidx;
200 if (fp->ctf_sxlate[symidx] == -1u)
203 type = *(ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]);
241 ctf_func_info(ctf_file_t *fp, ulong_t symidx, ctf_funcinfo_t *fip)
250 if (symidx >= fp->ctf_nsyms)
254 const Elf32_Sym *symp = (Elf32_Sym *)sp->cts_data + symidx;
258 const Elf64_Sym *symp = (Elf64_Sym *)sp->cts_data + symidx;
263 if (fp->ctf_sxlate[symidx] == -1u)
266 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]);
295 ctf_func_args(ctf_file_t *fp, ulong_t symidx, uint_t argc, ctf_id_t *argv)
300 if (ctf_func_info(fp, symidx, &f) == CTF_ERR)
307 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]) + 2;