Home
last modified time | relevance | path

Searched refs:ctf_flags (Results 1 – 24 of 24) sorted by relevance

/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-create.c168 fp->ctf_flags |= LCTF_DIRTY; in ctf_create()
199 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_update()
302 if ((fp->ctf_flags & LCTF_CHILD) && LCTF_TYPE_ISPARENT (fp, type)) in ctf_dtd_lookup()
314 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_dynamic_type()
317 if ((fp->ctf_flags & LCTF_CHILD) && LCTF_TYPE_ISPARENT (fp, id)) in ctf_dynamic_type()
367 if (!(fp->ctf_flags & LCTF_DIRTY)) in ctf_discard()
389 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_rollback()
436 fp->ctf_flags &= ~LCTF_DIRTY; in ctf_rollback()
454 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_add_generic()
480 type = LCTF_INDEX_TO_TYPE (fp, type, (fp->ctf_flags & LCTF_CHILD)); in ctf_add_generic()
[all …]
H A Dctf-link.c816 if (one_fp->ctf_flags & LCTF_CHILD) in ctf_link_deduplicating_open_inputs()
1367 fp->ctf_flags &= ~LCTF_LINKING; in ctf_link_empty_outputs()
1518 fp->ctf_flags |= LCTF_LINKING; in ctf_link()
1520 fp->ctf_flags &= ~LCTF_LINKING; in ctf_link()
1540 fp->ctf_flags &= ~LCTF_LINKING; in ctf_link()
1547 fp->ctf_flags &= ~LCTF_LINKING; in ctf_link()
1571 fp->ctf_flags |= LCTF_DIRTY; in ctf_link_intern_extern_string()
1594 fp->ctf_flags |= LCTF_DIRTY; in ctf_link_add_strtab()
1922 fp->ctf_flags |= LCTF_LINKING; in ctf_link_write()
1940 fp->ctf_flags &= ~LCTF_LINKING; in ctf_link_write()
[all …]
H A Dctf-lookup.c228 type = LCTF_INDEX_TO_TYPE (fp, ntype, (fp->ctf_flags & LCTF_CHILD) in ctf_lookup_by_name_internal()
342 if (fp->ctf_flags & LCTF_RDWR) in ctf_lookup_by_id()
693 if (fp->ctf_flags & LCTF_RDWR) in ctf_symbol_next()
912 if (!ctf_assert (fp, fp->ctf_flags & LCTF_RDWR)) in ctf_lookup_by_sym_or_name()
946 if (symname && fp->ctf_flags & LCTF_RDWR) in ctf_lookup_by_sym_or_name()
H A Dctf-types.c455 return LCTF_INDEX_TO_TYPE (fp, i->ctn_type++, fp->ctf_flags & LCTF_CHILD); in ctf_type_next()
496 if ((fp->ctf_flags & LCTF_CHILD) && (fp->ctf_parent == NULL)) in ctf_variable_next()
506 if (fp->ctf_flags & LCTF_RDWR) in ctf_variable_next()
517 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_variable_next()
627 if ((fp->ctf_flags & LCTF_CHILD) && LCTF_TYPE_ISPARENT (fp, type)) in ctf_get_dict()
649 if (fp->ctf_flags & LCTF_RDWR) in ctf_lookup_by_rawhash()
1164 return (LCTF_INDEX_TO_TYPE (fp, ntype, (fp->ctf_flags & LCTF_CHILD))); in ctf_type_pointer()
1173 return (LCTF_INDEX_TO_TYPE (fp, ntype, (fp->ctf_flags & LCTF_CHILD))); in ctf_type_pointer()
H A Dctf-serialize.c481 if (fp->ctf_flags & LCTF_LINKING) in ctf_symtypetab_sect_sizes()
972 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_serialize()
976 if (!(fp->ctf_flags & LCTF_DIRTY)) in ctf_serialize()
1035 if ((fp->ctf_flags & LCTF_CHILD) && (fp->ctf_parname != NULL)) in ctf_serialize()
1117 nfp->ctf_flags |= fp->ctf_flags & ~LCTF_DIRTY; in ctf_serialize()
H A Dctf-impl.h437 uint32_t ctf_flags; /* Libctf flags (see below). */ member
584 ((fp->ctf_flags & LCTF_RDWR) ? \
586 (fp, i, fp->ctf_flags & LCTF_CHILD))->dtd_data) : \
H A Dctf-open.c696 assert (!(fp->ctf_flags & LCTF_RDWR)); in init_types()
735 fp->ctf_flags |= LCTF_CHILD; in init_types()
1422 fp->ctf_flags |= LCTF_RDWR; in ctf_bufopen_internal()
1655 if (fp->ctf_flags & LCTF_RDWR) in ctf_bufopen_internal()
1767 if (fp->ctf_flags & LCTF_RDWR) in ctf_dict_close()
1994 fp->ctf_flags |= LCTF_CHILD; in ctf_import()
2032 fp->ctf_flags |= LCTF_CHILD; in ctf_import_unref()
H A Dctf-dedup.c2056 if ((fp->ctf_flags & LCTF_CHILD) && (LCTF_TYPE_ISPARENT (fp, type))) \ in ctf_dedup_rwalk_one_output_mapping()
2329 if (!(one_fp->ctf_flags & LCTF_CHILD) in sort_output_mapping()
2330 && (two_fp->ctf_flags & LCTF_CHILD)) in sort_output_mapping()
2332 else if ((one_fp->ctf_flags & LCTF_CHILD) in sort_output_mapping()
2333 && !(two_fp->ctf_flags & LCTF_CHILD)) in sort_output_mapping()
2431 || target->ctf_flags & LCTF_CHILD in ctf_dedup_maybe_synthesize_forward()
2518 if ((input->ctf_flags & LCTF_CHILD) && (LCTF_TYPE_ISPARENT (input, id))) in ctf_dedup_id_to_target()
2563 && (target->ctf_flags & LCTF_CHILD))) in ctf_dedup_id_to_target()
H A Dctf-archive.c766 if ((fp->ctf_flags & LCTF_CHILD) && fp->ctf_parname && !fp->ctf_parent) in ctf_arc_import_parent()
/netbsd-src/external/cddl/osnet/dist/common/ctf/
H A Dctf_create.c85 fp->ctf_flags |= LCTF_RDWR; in ctf_create()
198 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_ref_inc()
216 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_ref_dec()
255 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_update()
258 if (!(fp->ctf_flags & LCTF_DIRTY)) in ctf_update()
271 if (fp->ctf_flags & LCTF_CHILD) in ctf_update()
442 nfp->ctf_flags |= fp->ctf_flags & ~LCTF_DIRTY; in ctf_update()
586 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_discard()
589 if (!(fp->ctf_flags & LCTF_DIRTY)) in ctf_discard()
601 fp->ctf_flags &= ~LCTF_DIRTY; in ctf_discard()
[all …]
H A Dctf_lookup.c126 (fp->ctf_flags & LCTF_CHILD)); in ctf_lookup_by_name()
223 if ((fp->ctf_flags & LCTF_CHILD) && CTF_TYPE_ISPARENT(type) && in ctf_lookup_by_id()
H A Dctf_open.c311 fp->ctf_flags |= LCTF_CHILD; in init_types()
866 fp->ctf_flags |= LCTF_MMAP; in ctf_dup()
914 if (fp->ctf_flags & LCTF_MMAP) { in ctf_close()
1003 fp->ctf_flags |= LCTF_CHILD; in ctf_import()
H A Dctf_types.c151 int rc, child = (fp->ctf_flags & LCTF_CHILD); in ctf_type_iter()
513 return (CTF_INDEX_TO_TYPE(ntype, (fp->ctf_flags & LCTF_CHILD))); in ctf_type_pointer()
522 return (CTF_INDEX_TO_TYPE(ntype, (fp->ctf_flags & LCTF_CHILD))); in ctf_type_pointer()
H A Dctf_impl.h204 uint_t ctf_flags; /* libctf flags (see below) */ member
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-create.c168 fp->ctf_flags |= LCTF_DIRTY; in ctf_create()
199 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_update()
315 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_dynamic_type()
318 if ((fp->ctf_flags & LCTF_CHILD) && LCTF_TYPE_ISPARENT (fp, id)) in ctf_dynamic_type()
371 if (!(fp->ctf_flags & LCTF_DIRTY)) in ctf_discard()
393 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_rollback()
440 fp->ctf_flags &= ~LCTF_DIRTY; in ctf_rollback()
458 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_add_generic()
484 type = LCTF_INDEX_TO_TYPE (fp, type, (fp->ctf_flags & LCTF_CHILD)); in ctf_add_generic()
496 fp->ctf_flags |= LCTF_DIRTY; in ctf_add_generic()
[all …]
H A Dctf-link.c802 if (one_fp->ctf_flags & LCTF_CHILD) in ctf_link_deduplicating_open_inputs()
1353 fp->ctf_flags &= ~LCTF_LINKING; in ctf_link_empty_outputs()
1509 fp->ctf_flags |= LCTF_LINKING; in ctf_link()
1521 fp->ctf_flags &= ~LCTF_LINKING; in ctf_link()
1528 fp->ctf_flags &= ~LCTF_LINKING; in ctf_link()
1537 fp->ctf_flags &= ~LCTF_LINKING; in ctf_link()
1558 fp->ctf_flags |= LCTF_DIRTY; in ctf_link_intern_extern_string()
1581 fp->ctf_flags |= LCTF_DIRTY; in ctf_link_add_strtab()
1886 fp->ctf_flags |= LCTF_LINKING; in ctf_link_write()
1904 fp->ctf_flags &= ~LCTF_LINKING; in ctf_link_write()
[all …]
H A Dctf-lookup.c228 type = LCTF_INDEX_TO_TYPE (fp, ntype, (fp->ctf_flags & LCTF_CHILD) in ctf_lookup_by_name_internal()
345 if (fp->ctf_flags & LCTF_RDWR) in ctf_lookup_by_id()
681 if (fp->ctf_flags & LCTF_RDWR) in ctf_symbol_next()
900 if (!ctf_assert (fp, fp->ctf_flags & LCTF_RDWR)) in ctf_lookup_by_sym_or_name()
934 if (symname && fp->ctf_flags & LCTF_RDWR) in ctf_lookup_by_sym_or_name()
H A Dctf-types.c454 return LCTF_INDEX_TO_TYPE (fp, i->ctn_type++, fp->ctf_flags & LCTF_CHILD); in ctf_type_next()
495 if ((fp->ctf_flags & LCTF_CHILD) && (fp->ctf_parent == NULL)) in ctf_variable_next()
505 if (fp->ctf_flags & LCTF_RDWR) in ctf_variable_next()
516 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_variable_next()
619 if ((fp->ctf_flags & LCTF_CHILD) && LCTF_TYPE_ISPARENT (fp, type)) in ctf_get_dict()
641 if (fp->ctf_flags & LCTF_RDWR) in ctf_lookup_by_rawhash()
1155 return (LCTF_INDEX_TO_TYPE (fp, ntype, (fp->ctf_flags & LCTF_CHILD))); in ctf_type_pointer()
1164 return (LCTF_INDEX_TO_TYPE (fp, ntype, (fp->ctf_flags & LCTF_CHILD))); in ctf_type_pointer()
H A Dctf-serialize.c481 if (fp->ctf_flags & LCTF_LINKING) in ctf_symtypetab_sect_sizes()
972 if (!(fp->ctf_flags & LCTF_RDWR)) in ctf_serialize()
976 if (!(fp->ctf_flags & LCTF_DIRTY)) in ctf_serialize()
1035 if ((fp->ctf_flags & LCTF_CHILD) && (fp->ctf_parname != NULL)) in ctf_serialize()
1117 nfp->ctf_flags |= fp->ctf_flags & ~LCTF_DIRTY; in ctf_serialize()
H A Dctf-impl.h437 uint32_t ctf_flags; /* Libctf flags (see below). */ member
584 ((fp->ctf_flags & LCTF_RDWR) ? \
586 (fp, i, fp->ctf_flags & LCTF_CHILD))->dtd_data) : \
H A Dctf-open.c696 assert (!(fp->ctf_flags & LCTF_RDWR)); in init_types()
735 fp->ctf_flags |= LCTF_CHILD; in init_types()
1421 fp->ctf_flags |= LCTF_RDWR; in ctf_bufopen_internal()
1654 if (fp->ctf_flags & LCTF_RDWR) in ctf_bufopen_internal()
1766 if (fp->ctf_flags & LCTF_RDWR) in ctf_dict_close()
1993 fp->ctf_flags |= LCTF_CHILD; in ctf_import()
2031 fp->ctf_flags |= LCTF_CHILD; in ctf_import_unref()
H A Dctf-dedup.c2057 if ((fp->ctf_flags & LCTF_CHILD) && (LCTF_TYPE_ISPARENT (fp, type))) \ in ctf_dedup_rwalk_one_output_mapping()
2326 if (!(one_fp->ctf_flags & LCTF_CHILD) in sort_output_mapping()
2327 && (two_fp->ctf_flags & LCTF_CHILD)) in sort_output_mapping()
2329 else if ((one_fp->ctf_flags & LCTF_CHILD) in sort_output_mapping()
2330 && !(two_fp->ctf_flags & LCTF_CHILD)) in sort_output_mapping()
2428 || target->ctf_flags & LCTF_CHILD in ctf_dedup_maybe_synthesize_forward()
2521 if ((input->ctf_flags & LCTF_CHILD) && (LCTF_TYPE_ISPARENT (input, id))) in ctf_dedup_id_to_target()
2566 && (target->ctf_flags & LCTF_CHILD))) in ctf_dedup_id_to_target()
H A Dctf-archive.c764 if ((fp->ctf_flags & LCTF_CHILD) && fp->ctf_parname && !fp->ctf_parent) in ctf_arc_import_parent()
/netbsd-src/external/cddl/osnet/dist/lib/libctf/common/
H A Dctf_lib.c461 fp->ctf_flags |= LCTF_MMAP; in ctf_fdopen()