Lines Matching refs:kind

512 dt_node_xalloc(dtrace_hdl_t *dtp, int kind)  in dt_node_xalloc()  argument
522 dnp->dn_kind = (uchar_t)kind; in dt_node_xalloc()
542 dt_node_alloc(int kind) in dt_node_alloc() argument
544 dt_node_t *dnp = dt_node_xalloc(yypcb->pcb_hdl, kind); in dt_node_alloc()
559 uchar_t kind = dnp->dn_kind; in dt_node_free() local
563 switch (kind) { in dt_node_free()
680 uint_t kind = ctf_type_kind(fp, base); in dt_node_type_assign_member() local
686 if (kind == CTF_K_INTEGER && ctf_type_encoding(fp, base, &e) == 0) { in dt_node_type_assign_member()
694 if (kind == CTF_K_FLOAT && ctf_type_encoding(fp, base, &e) == 0) { in dt_node_type_assign_member()
699 if (kind == CTF_K_STRUCT || kind == CTF_K_UNION || in dt_node_type_assign_member()
700 kind == CTF_K_FORWARD || in dt_node_type_assign_member()
701 kind == CTF_K_ARRAY || kind == CTF_K_FUNCTION) in dt_node_type_assign_member()
850 uint_t kind; in dt_node_is_integer() local
855 kind = ctf_type_kind(fp, type); in dt_node_is_integer()
857 if (kind == CTF_K_INTEGER && in dt_node_is_integer()
861 return (kind == CTF_K_INTEGER || kind == CTF_K_ENUM); in dt_node_is_integer()
870 uint_t kind; in dt_node_is_float() local
875 kind = ctf_type_kind(fp, type); in dt_node_is_float()
877 return (kind == CTF_K_FLOAT && in dt_node_is_float()
889 uint_t kind; in dt_node_is_scalar() local
894 kind = ctf_type_kind(fp, type); in dt_node_is_scalar()
896 if (kind == CTF_K_INTEGER && in dt_node_is_scalar()
900 return (kind == CTF_K_INTEGER || kind == CTF_K_ENUM || in dt_node_is_scalar()
901 kind == CTF_K_POINTER); in dt_node_is_scalar()
910 uint_t kind; in dt_node_is_arith() local
915 kind = ctf_type_kind(fp, type); in dt_node_is_arith()
917 if (kind == CTF_K_INTEGER) in dt_node_is_arith()
920 return (kind == CTF_K_ENUM); in dt_node_is_arith()
929 uint_t kind; in dt_node_is_vfptr() local
938 kind = ctf_type_kind(fp, type); in dt_node_is_vfptr()
940 return (kind == CTF_K_FUNCTION || (kind == CTF_K_INTEGER && in dt_node_is_vfptr()
992 uint_t kind; in dt_node_is_strcompat() local
997 kind = ctf_type_kind(fp, base); in dt_node_is_strcompat()
999 if (kind == CTF_K_POINTER && in dt_node_is_strcompat()
1005 if (kind == CTF_K_ARRAY && ctf_array_info(fp, base, &r) == 0 && in dt_node_is_strcompat()
1017 uint_t kind; in dt_node_is_pointer() local
1024 kind = ctf_type_kind(fp, ctf_type_resolve(fp, dnp->dn_type)); in dt_node_is_pointer()
1025 return (kind == CTF_K_POINTER || kind == CTF_K_ARRAY); in dt_node_is_pointer()
1564 uint_t id, kind; in dt_node_decl() local
1696 kind = ctf_type_kind(dtt.dtt_ctfp, type); in dt_node_decl()
1698 switch (kind) { in dt_node_decl()
1813 uint_t kind; in dt_node_offsetof() local
1825 kind = ctf_type_kind(dtt.dtt_ctfp, type); in dt_node_offsetof()
1827 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) { in dt_node_offsetof()
2462 uint_t kind; in dt_node_xlator() local
2491 kind = ctf_type_kind(dst.dtt_ctfp, in dt_node_xlator()
2494 if (kind == CTF_K_FORWARD) { in dt_node_xlator()
2499 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) { in dt_node_xlator()
2934 uint_t kind; in dt_cook_op1() local
2980 kind = ctf_type_kind(cp->dn_ctfp, type); in dt_cook_op1()
2982 if (kind == CTF_K_ARRAY) { in dt_cook_op1()
2988 } else if (kind == CTF_K_POINTER) { in dt_cook_op1()
2998 kind = ctf_type_kind(cp->dn_ctfp, base); in dt_cook_op1()
3000 if (kind == CTF_K_INTEGER && ctf_type_encoding(cp->dn_ctfp, in dt_cook_op1()
3006 if (kind == CTF_K_FUNCTION) { in dt_cook_op1()
3011 if (kind != CTF_K_ARRAY || dt_node_is_string(dnp)) in dt_cook_op1()
3027 (kind == CTF_K_POINTER || (dnp->dn_flags & DT_NF_REF))) in dt_cook_op1()
3189 int kind, val, uref; in dt_cook_op2() local
3332 kind = ctf_type_kind(lp->dn_ctfp, in dt_cook_op2()
3335 if (kind == CTF_K_ENUM && rp->dn_kind == DT_NODE_IDENT && in dt_cook_op2()
3597 kind = ctf_type_kind(lp->dn_ctfp, in dt_cook_op2()
3600 if (kind == CTF_K_ARRAY || kind == CTF_K_FUNCTION) { in dt_cook_op2()
3726 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3729 if (kind != CTF_K_POINTER) { in dt_cook_op2()
3735 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3742 while (kind == CTF_K_FORWARD) { in dt_cook_op2()
3750 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3759 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) { in dt_cook_op2()
3780 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3786 if (op == DT_TOK_PTR && (kind != CTF_K_ARRAY || in dt_cook_op2()
3791 (kind != CTF_K_ARRAY || dt_node_is_string(dnp))) in dt_cook_op2()
3797 if (uref && (kind == CTF_K_POINTER || in dt_cook_op2()
4338 dt_node_provider_cmp_argv(dt_provider_t *pvp, dt_node_t *pnp, const char *kind, in dt_node_provider_cmp_argv() argument
4351 pvp->pv_desc.dtvd_name, prp->pr_ident->di_name, kind, in dt_node_provider_cmp_argv()
4365 pvp->pv_desc.dtvd_name, prp->pr_ident->di_name, kind, i + 1, in dt_node_provider_cmp_argv()