Lines Matching refs:symidx
239 ctf_lookup_symbol_name (ctf_file_t *fp, unsigned long symidx)
250 if (symidx >= fp->ctf_nsyms)
258 const Elf32_Sym *symp = (Elf32_Sym *) sp->cts_data + symidx;
262 gsp = (Elf64_Sym *) sp->cts_data + symidx;
274 ctf_lookup_by_symbol (ctf_file_t *fp, unsigned long symidx)
282 if (symidx >= fp->ctf_nsyms)
287 const Elf32_Sym *symp = (Elf32_Sym *) sp->cts_data + symidx;
293 const Elf64_Sym *symp = (Elf64_Sym *) sp->cts_data + symidx;
298 if (fp->ctf_sxlate[symidx] == -1u)
301 type = *(uint32_t *) ((uintptr_t) fp->ctf_buf + fp->ctf_sxlate[symidx]);
357 ctf_func_info (ctf_file_t *fp, unsigned long symidx, ctf_funcinfo_t *fip)
366 if (symidx >= fp->ctf_nsyms)
371 const Elf32_Sym *symp = (Elf32_Sym *) sp->cts_data + symidx;
377 const Elf64_Sym *symp = (Elf64_Sym *) sp->cts_data + symidx;
382 if (fp->ctf_sxlate[symidx] == -1u)
385 dp = (uint32_t *) ((uintptr_t) fp->ctf_buf + fp->ctf_sxlate[symidx]);
414 ctf_func_args (ctf_file_t * fp, unsigned long symidx, uint32_t argc,
420 if (ctf_func_info (fp, symidx, &f) < 0)
426 dp = (uint32_t *) ((uintptr_t) fp->ctf_buf + fp->ctf_sxlate[symidx]) + 2;