Home
last modified time | relevance | path

Searched refs:ctf_typemax (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/external/cddl/osnet/dist/common/ctf/
H A Dctf_open.c230 for (tp = tbuf; tp < tend; fp->ctf_typemax++) { in init_types()
334 fp->ctf_txlate = ctf_alloc(sizeof (uint_t) * (fp->ctf_typemax + 1)); in init_types()
335 fp->ctf_ptrtab = ctf_alloc(sizeof (ushort_t) * (fp->ctf_typemax + 1)); in init_types()
343 bzero(fp->ctf_txlate, sizeof (uint_t) * (fp->ctf_typemax + 1)); in init_types()
344 bzero(fp->ctf_ptrtab, sizeof (ushort_t) * (fp->ctf_typemax + 1)); in init_types()
486 CTF_TYPE_TO_INDEX(tp->ctt_type) <= fp->ctf_typemax) in init_types()
509 ctf_dprintf("%lu total types processed\n", fp->ctf_typemax); in init_types()
524 for (id = 1; id <= fp->ctf_typemax; id++) { in init_types()
531 CTF_TYPE_TO_INDEX(tp->ctt_type) <= fp->ctf_typemax) in init_types()
949 sizeof (uint_t) * (fp->ctf_typemax + 1)); in ctf_close()
[all …]
H A Dctf_impl.h198 ulong_t ctf_typemax; /* maximum valid type ID number */ member
H A Dctf_lookup.c230 if (type > 0 && type <= fp->ctf_typemax) { in ctf_lookup_by_id()
H A Dctf_types.c150 ctf_id_t id, max = fp->ctf_typemax; in ctf_type_iter()
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-lookup.c50 for (i = fp->ctf_pptrtab_typemax; i <= fp->ctf_typemax; i++) in refresh_pptrtab()
67 if (idx <= pfp->ctf_typemax) in refresh_pptrtab()
78 fp->ctf_pptrtab_typemax = fp->ctf_typemax; in refresh_pptrtab()
306 if (fp->ctf_pptrtab_typemax < fp->ctf_typemax) in ctf_lookup_by_name_internal()
361 if (idx > 0 && (unsigned long) idx <= fp->ctf_typemax) in ctf_lookup_by_id()
H A Dctf-create.c54 else if ((fp->ctf_typemax + 2) > fp->ctf_ptrtab_len) in ctf_grow_ptrtab()
202 fp->ctf_dtoldid = fp->ctf_typemax; in ctf_update()
323 if ((unsigned long) idx <= fp->ctf_typemax) in ctf_dynamic_type()
381 snapid.dtd_id = fp->ctf_typemax; in ctf_snapshot()
436 fp->ctf_typemax = id.dtd_id; in ctf_rollback()
461 if (LCTF_INDEX_TO_TYPE (fp, fp->ctf_typemax, 1) >= CTF_MAX_TYPE) in ctf_add_generic()
464 if (LCTF_INDEX_TO_TYPE (fp, fp->ctf_typemax, 1) == (CTF_MAX_PTYPE - 1)) in ctf_add_generic()
483 type = ++fp->ctf_typemax; in ctf_add_generic()
597 && ref_idx < fp->ctf_typemax) in ctf_add_reftype()
H A Dctf-open.c711 for (tp = tbuf; tp < tend; fp->ctf_typemax++) in init_types()
772 fp->ctf_txlate = malloc (sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types()
773 fp->ctf_ptrtab_len = fp->ctf_typemax + 1; in init_types()
782 memset (fp->ctf_txlate, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types()
783 memset (fp->ctf_ptrtab, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types()
922 && LCTF_TYPE_TO_INDEX (fp, tp->ctt_type) <= fp->ctf_typemax) in init_types()
948 ctf_dprintf ("%lu total types processed\n", fp->ctf_typemax); in init_types()
H A Dctf-serialize.c1135 nfp->ctf_typemax = fp->ctf_typemax; in ctf_serialize()
H A Dctf-impl.h426 unsigned long ctf_typemax; /* Maximum valid type ID number. */ member
H A DChangeLog-20201127 <ctf_dtnextid>: Remove, redundant to ctf_typemax.
1188 No longer check ctf_dtnextid: check ctf_typemax instead.
1189 (ctf_snapshot): No longer use ctf_dtnextid: use ctf_typemax instead.
1194 ctf_dtd_insert. Use ctf_typemax, not ctf_dtnextid. Migrate away
H A Dctf-types.c442 while (i->ctn_type <= fp->ctf_typemax) in ctf_type_next()
H A DChangeLog271 * ctf-serialize.c (ctf_serialize): Preserve ctf_typemax across
/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-lookup.c50 for (i = fp->ctf_pptrtab_typemax; i <= fp->ctf_typemax; i++) in refresh_pptrtab()
67 if (idx <= pfp->ctf_typemax) in refresh_pptrtab()
78 fp->ctf_pptrtab_typemax = fp->ctf_typemax; in refresh_pptrtab()
303 if (fp->ctf_pptrtab_typemax < fp->ctf_typemax) in ctf_lookup_by_name_internal()
358 if (idx > 0 && (unsigned long) idx <= fp->ctf_typemax) in ctf_lookup_by_id()
H A Dctf-create.c54 else if ((fp->ctf_typemax + 2) > fp->ctf_ptrtab_len) in ctf_grow_ptrtab()
202 fp->ctf_dtoldid = fp->ctf_typemax; in ctf_update()
322 if ((unsigned long) idx <= fp->ctf_typemax) in ctf_dynamic_type()
377 snapid.dtd_id = fp->ctf_typemax; in ctf_snapshot()
432 fp->ctf_typemax = id.dtd_id; in ctf_rollback()
457 if (LCTF_INDEX_TO_TYPE (fp, fp->ctf_typemax, 1) >= CTF_MAX_TYPE) in ctf_add_generic()
460 if (LCTF_INDEX_TO_TYPE (fp, fp->ctf_typemax, 1) == (CTF_MAX_PTYPE - 1)) in ctf_add_generic()
479 type = ++fp->ctf_typemax; in ctf_add_generic()
593 && ref_idx < fp->ctf_typemax) in ctf_add_reftype()
H A Dctf-open.c711 for (tp = tbuf; tp < tend; fp->ctf_typemax++) in init_types()
772 fp->ctf_txlate = malloc (sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types()
773 fp->ctf_ptrtab_len = fp->ctf_typemax + 1; in init_types()
782 memset (fp->ctf_txlate, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types()
783 memset (fp->ctf_ptrtab, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types()
922 && LCTF_TYPE_TO_INDEX (fp, tp->ctt_type) <= fp->ctf_typemax) in init_types()
948 ctf_dprintf ("%lu total types processed\n", fp->ctf_typemax); in init_types()
H A Dctf-serialize.c1135 nfp->ctf_typemax = fp->ctf_typemax; in ctf_serialize()
H A Dctf-impl.h426 unsigned long ctf_typemax; /* Maximum valid type ID number. */ member
H A DChangeLog-20201127 <ctf_dtnextid>: Remove, redundant to ctf_typemax.
1188 No longer check ctf_dtnextid: check ctf_typemax instead.
1189 (ctf_snapshot): No longer use ctf_dtnextid: use ctf_typemax instead.
1194 ctf_dtd_insert. Use ctf_typemax, not ctf_dtnextid. Migrate away
H A Dctf-types.c443 while (i->ctn_type <= fp->ctf_typemax) in ctf_type_next()
H A DChangeLog292 * ctf-serialize.c (ctf_serialize): Preserve ctf_typemax across
/netbsd-src/external/cddl/osnet/dev/fbt/
H A Dfbt.c582 int ctf_typemax = 0; in fbt_typoff_init() local
600 for (tp = tbuf; tp < tend; ctf_typemax++) { in fbt_typoff_init()
676 ctf_typemax++; in fbt_typoff_init()
677 mc->typlen = ctf_typemax; in fbt_typoff_init()
679 xp = malloc(sizeof(uint32_t) * ctf_typemax, M_FBT, M_ZERO | M_WAITOK); in fbt_typoff_init()
/netbsd-src/external/gpl3/gdb/dist/libctf/
H A DChangeLog-20201127 <ctf_dtnextid>: Remove, redundant to ctf_typemax.
1188 No longer check ctf_dtnextid: check ctf_typemax instead.
1189 (ctf_snapshot): No longer use ctf_dtnextid: use ctf_typemax instead.
1194 ctf_dtd_insert. Use ctf_typemax, not ctf_dtnextid. Migrate away