/netbsd-src/external/gpl3/binutils/dist/libctf/ |
H A D | ctf-create.c | 168 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 D | ctf-link.c | 816 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 D | ctf-lookup.c | 228 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 D | ctf-types.c | 455 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 D | ctf-serialize.c | 481 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 D | ctf-impl.h | 437 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 D | ctf-open.c | 696 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 D | ctf-dedup.c | 2056 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 D | ctf-archive.c | 766 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 D | ctf_create.c | 85 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 D | ctf_lookup.c | 126 (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 D | ctf_open.c | 311 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 D | ctf_types.c | 151 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 D | ctf_impl.h | 204 uint_t ctf_flags; /* libctf flags (see below) */ member
|
/netbsd-src/external/gpl3/binutils.old/dist/libctf/ |
H A D | ctf-create.c | 168 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 D | ctf-link.c | 802 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 D | ctf-lookup.c | 228 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 D | ctf-types.c | 454 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 D | ctf-serialize.c | 481 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 D | ctf-impl.h | 437 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 D | ctf-open.c | 696 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 D | ctf-dedup.c | 2057 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 D | ctf-archive.c | 764 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 D | ctf_lib.c | 461 fp->ctf_flags |= LCTF_MMAP; in ctf_fdopen()
|