Lines Matching refs:ctf_buf
254 fp->ctf_objtidx_names = (uint32_t *) (fp->ctf_buf + hp->cth_objtidxoff); in init_symtab()
256 fp->ctf_funcidx_names = (uint32_t *) (fp->ctf_buf + hp->cth_funcidxoff); in init_symtab()
350 fp->ctf_buf = base + (fp->ctf_buf - fp->ctf_base); in ctf_set_base()
352 fp->ctf_vars = (ctf_varent_t *) ((const char *) fp->ctf_buf + in ctf_set_base()
356 fp->ctf_str[CTF_STRTAB_0].cts_strs = (const char *) fp->ctf_buf in ctf_set_base()
438 tbuf = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_typeoff); in upgrade_types_v1()
439 tend = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_stroff); in upgrade_types_v1()
483 memcpy (ctf_base, fp->ctf_buf, cth->cth_typeoff); in upgrade_types_v1()
485 fp->ctf_buf + cth->cth_stroff, cth->cth_strlen); in upgrade_types_v1()
494 fp->ctf_buf = ctf_base; in upgrade_types_v1()
498 t2buf = (ctf_type_t *) (fp->ctf_buf + cth->cth_typeoff); in upgrade_types_v1()
641 assert ((size_t) t2p - (size_t) fp->ctf_buf == cth->cth_stroff); in upgrade_types_v1()
705 tbuf = (ctf_type_t *) (fp->ctf_buf + cth->cth_typeoff); in init_types()
706 tend = (ctf_type_t *) (fp->ctf_buf + cth->cth_stroff); in init_types()
944 *xp = (uint32_t) ((uintptr_t) tp - (uintptr_t) fp->ctf_buf); in init_types()
1529 fp->ctf_buf = fp->ctf_base; in ctf_bufopen_internal()
1570 fp->ctf_buf = fp->ctf_base; in ctf_bufopen_internal()
1579 fp->ctf_buf = fp->ctf_base + hdrsz; in ctf_bufopen_internal()
1641 (err = ctf_flip (fp, hp, fp->ctf_buf, 0)) != 0) in ctf_bufopen_internal()