Home
last modified time | relevance | path

Searched refs:CTF_K_STRUCT (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/test/util-tests/tests/ctf/
H A Dcheck-sou.c302 { "struct foo", CTF_K_STRUCT, 16, check_member_foo },
303 { "struct node", CTF_K_STRUCT, 16, check_member_node },
304 { "struct nlist", CTF_K_STRUCT, 32, check_member_nlist },
305 { "struct forward", CTF_K_STRUCT, 24, check_member_forward },
307 { "struct foo", CTF_K_STRUCT, 12, check_member_foo },
308 { "struct node", CTF_K_STRUCT, 8, check_member_node },
309 { "struct nlist", CTF_K_STRUCT, 16, check_member_nlist },
310 { "struct forward", CTF_K_STRUCT, 12, check_member_forward },
312 { "struct round_up", CTF_K_STRUCT, 12, check_member_round_up },
313 { "struct fixed_up", CTF_K_STRUCT, 7, check_member_fixed_up },
[all …]
H A Dcheck-merge-forward.c56 { "struct foo_list", CTF_K_STRUCT, 24, check_member_foo_list },
57 { "struct foo", CTF_K_STRUCT, 24, check_member_foo },
59 { "struct foo_list", CTF_K_STRUCT, 12, check_member_foo_list },
60 { "struct foo", CTF_K_STRUCT, 16, check_member_foo },
H A Dcheck-qualifiers.c47 { "struct const_struct", CTF_K_STRUCT },
55 { "struct const_struct", CTF_K_STRUCT },
69 { "struct volatile_struct", CTF_K_STRUCT },
77 { "struct volatile_struct", CTF_K_STRUCT },
H A Dcheck-forward.c48 { "struct forward", CTF_K_STRUCT, 32, check_member_forward },
50 { "struct forward", CTF_K_STRUCT, 16, check_member_forward },
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c491 if ((kind = mdb_ctf_type_kind(type)) != CTF_K_STRUCT && in typegraph_offiter()
552 if (kind == CTF_K_STRUCT || kind != CTF_K_UNION || in typegraph_union()
637 if ((kind = mdb_ctf_type_kind(type)) != CTF_K_STRUCT) in typegraph_hasfam()
646 if ((kind = mdb_ctf_type_kind(last)) == CTF_K_STRUCT) in typegraph_hasfam()
727 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) { in typegraph_type_offset()
741 case CTF_K_STRUCT: in typegraph_type_offset()
888 if (rkind == CTF_K_STRUCT || rkind == CTF_K_UNION) { in typegraph_couldbe()
1684 if (e->tge_destoffs == 0 && kind == CTF_K_STRUCT) in typegraph_pass1_node()
1692 if (kind != CTF_K_STRUCT) in typegraph_pass1_node()
1807 if (kind == CTF_K_POINTER || kind == CTF_K_STRUCT) { in typegraph_pass2_node()
[all …]
/illumos-gate/usr/src/common/ctf/
H A Dctf_types.c92 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) in ctf_member_iter()
381 case CTF_K_STRUCT: in ctf_type_qlname()
390 case CTF_K_STRUCT: in ctf_type_qlname()
531 case CTF_K_STRUCT: in ctf_type_size()
578 case CTF_K_STRUCT: in ctf_type_align()
588 if (LCTF_INFO_KIND(fp, tp->ctt_info) == CTF_K_STRUCT) in ctf_type_align()
797 case CTF_K_STRUCT: in ctf_type_compat()
829 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) in ctf_member_info()
991 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) in ctf_type_rvisit()
1304 case CTF_K_STRUCT: in ctf_kind_name()
H A Dctf_create.c372 case CTF_K_STRUCT: in ctf_update()
573 case CTF_K_STRUCT: in ctf_update()
758 case CTF_K_STRUCT: in ctf_dtd_delete()
1212 dtd->dtd_data.ctt_info = CTF_TYPE_INFO(CTF_K_STRUCT, flag, 0); in ctf_add_struct()
1314 case CTF_K_STRUCT: in ctf_add_forward()
1465 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) in ctf_add_member()
1535 if (kind == CTF_K_STRUCT && vlen != 0) { in ctf_add_member()
1730 case CTF_K_STRUCT: in ctf_add_type()
1762 kind != CTF_K_STRUCT && kind != CTF_K_UNION))) in ctf_add_type()
1865 case CTF_K_STRUCT: in ctf_add_type()
[all …]
H A Dctf_open.c249 case CTF_K_STRUCT: in init_types()
280 pop[CTF_K_STRUCT]++; in init_types()
317 if ((err = ctf_hash_create(&fp->ctf_structs, pop[CTF_K_STRUCT])) != 0) in init_types()
398 case CTF_K_STRUCT: in init_types()
454 case CTF_K_STRUCT: in init_types()
/illumos-gate/usr/src/tools/ctf/stabs/common/
H A Dforth.c205 if (lkind != CTF_K_STRUCT && lkind != CTF_K_UNION) { in fth_section_init()
242 case CTF_K_STRUCT: in fth_section_init()
H A Dfth_struct.c397 case CTF_K_STRUCT: in fth_print_member()
/illumos-gate/usr/src/cmd/ctfconvert/
H A Dctfconvert.c171 if (ctf_type_kind(fp, cpuid) != CTF_K_STRUCT) in ctfconvert_fixup_genunix()
207 CTF_K_STRUCT); in ctfconvert_fixup_genunix()
220 if (kind != CTF_K_STRUCT && kind != CTF_K_FORWARD) in ctfconvert_fixup_genunix()
/illumos-gate/usr/src/cmd/ctfdump/
H A Dctfdump.c381 g_stats.cs_ntypes[CTF_K_STRUCT]); in ctfdump_stats()
404 if (g_stats.cs_ntypes[CTF_K_STRUCT] != 0) { in ctfdump_stats()
407 (float)g_stats.cs_ntypes[CTF_K_STRUCT]); in ctfdump_stats()
410 (float)g_stats.cs_ntypes[CTF_K_STRUCT]); in ctfdump_stats()
593 case CTF_K_STRUCT: in ctfdump_types_cb()
604 if (kind == CTF_K_STRUCT) { in ctfdump_types_cb()
780 case CTF_K_STRUCT: in ctfsrc_type()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_typedef.c317 pr->pr_kind = CTF_K_STRUCT; in typedef_parse()
438 if (pr->pr_kind != CTF_K_STRUCT) { in typedef_validate()
479 if (pr->pr_kind == CTF_K_STRUCT) { in typedef_add()
H A Dmdb_print.c94 #define COMPOSITE_MASK ((1 << CTF_K_STRUCT) | \
98 #define SOU_MASK ((1 << CTF_K_STRUCT) | (1 << CTF_K_UNION))
1873 case CTF_K_STRUCT: in pipe_print()
2014 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) { in parse_member()
2190 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) in cmd_print_tab_common()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_decl.c496 kind == CTF_K_STRUCT ? "struct" : "union", in dt_decl_sou()
503 if (kind == CTF_K_STRUCT) in dt_decl_sou()
568 if (kind == CTF_K_FORWARD || ((kind == CTF_K_STRUCT || in dt_decl_member()
596 if (pkind != CTF_K_STRUCT || kind != CTF_K_ARRAY) in dt_decl_member()
1032 case CTF_K_STRUCT: in dt_decl_type()
1066 case CTF_K_STRUCT: in dt_decl_type()
H A Ddt_xlator.c197 assert(kind == CTF_K_STRUCT || kind == CTF_K_UNION); in dt_xlator_create()
288 if (dst_kind != CTF_K_UNION && dst_kind != CTF_K_STRUCT) in dt_xlator_lookup()
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dapptrace.c621 if ((kind == CTF_K_STRUCT || kind == CTF_K_UNION) && in la_sparcv9_pltenter()
651 if (kind == CTF_K_STRUCT || kind == CTF_K_UNION) in la_sparcv9_pltenter()
677 if (kind == CTF_K_STRUCT) in la_sparcv9_pltenter()
H A Dapptraceutil.c77 if (ctf_type_kind(ctfp, rtype) == CTF_K_STRUCT) { in print_value()
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c124 if (((rettype == CTF_K_STRUCT) || (rettype == CTF_K_UNION)) && in check_sym()
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dmdb_amd64util.c296 if ((return_type == CTF_K_STRUCT || in mdb_amd64_kvm_stack_iter()
315 if (((t == CTF_K_STRUCT) || in mdb_amd64_kvm_stack_iter()
/illumos-gate/usr/src/uts/common/sys/
H A Dctf.h263 #define CTF_K_STRUCT 6 /* variant data is list of ctf_member_t's */ macro
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c421 if (((rettype == CTF_K_STRUCT) || (rettype == CTF_K_UNION)) && in read_args()
438 if (((t == CTF_K_STRUCT) || (t == CTF_K_UNION)) && in read_args()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_merge.c486 if (kind == CTF_K_STRUCT) in ctf_merge_add_sou()
577 kind = CTF_K_STRUCT; in ctf_merge_add_type()
582 case CTF_K_STRUCT: in ctf_merge_add_type()
633 case CTF_K_STRUCT: in ctf_merge_fixup_type()
H A Dctf_diff.c607 return (okind != CTF_K_UNION && okind != CTF_K_STRUCT); in ctf_diff_forward()
609 return (ikind != CTF_K_UNION && ikind != CTF_K_STRUCT); in ctf_diff_forward()
669 case CTF_K_STRUCT: in ctf_diff_type()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dgen_struct_layout.c919 case CTF_K_STRUCT: in get_field_info()
991 case CTF_K_STRUCT: in gfi_iter()

12