Lines Matching refs:symidx
182 ctf_lookup_by_symbol(ctf_file_t *fp, ulong_t symidx)
190 if (symidx >= fp->ctf_nsyms)
194 const Elf32_Sym *symp = (Elf32_Sym *)sp->cts_data + symidx;
198 const Elf64_Sym *symp = (Elf64_Sym *)sp->cts_data + symidx;
203 if (fp->ctf_sxlate[symidx] == -1u)
206 type = *(ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]);
244 ctf_func_info(ctf_file_t *fp, ulong_t symidx, ctf_funcinfo_t *fip)
253 if (symidx >= fp->ctf_nsyms)
257 const Elf32_Sym *symp = (Elf32_Sym *)sp->cts_data + symidx;
261 const Elf64_Sym *symp = (Elf64_Sym *)sp->cts_data + symidx;
266 if (fp->ctf_sxlate[symidx] == -1u)
269 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]);
298 ctf_func_args(ctf_file_t *fp, ulong_t symidx, uint_t argc, ctf_id_t *argv)
303 if (ctf_func_info(fp, symidx, &f) == CTF_ERR)
310 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]) + 2;