Lines Matching refs:kind
511 dt_node_xalloc(dtrace_hdl_t *dtp, int kind) in dt_node_xalloc() argument
520 dnp->dn_kind = (uchar_t)kind; in dt_node_xalloc()
540 dt_node_alloc(int kind) in dt_node_alloc() argument
542 dt_node_t *dnp = dt_node_xalloc(yypcb->pcb_hdl, kind); in dt_node_alloc()
557 uchar_t kind = dnp->dn_kind; in dt_node_free() local
561 switch (kind) { in dt_node_free()
678 uint_t kind = ctf_type_kind(fp, base); in dt_node_type_assign() local
684 if (kind == CTF_K_INTEGER && ctf_type_encoding(fp, base, &e) == 0) { in dt_node_type_assign()
694 if (kind == CTF_K_FLOAT && ctf_type_encoding(fp, base, &e) == 0) { in dt_node_type_assign()
699 if (kind == CTF_K_STRUCT || kind == CTF_K_UNION || in dt_node_type_assign()
700 kind == CTF_K_FORWARD || in dt_node_type_assign()
701 kind == CTF_K_ARRAY || kind == CTF_K_FUNCTION) in dt_node_type_assign()
840 uint_t kind; in dt_node_is_integer() local
845 kind = ctf_type_kind(fp, type); in dt_node_is_integer()
847 if (kind == CTF_K_INTEGER && in dt_node_is_integer()
851 return (kind == CTF_K_INTEGER || kind == CTF_K_ENUM); in dt_node_is_integer()
860 uint_t kind; in dt_node_is_float() local
865 kind = ctf_type_kind(fp, type); in dt_node_is_float()
867 return (kind == CTF_K_FLOAT && in dt_node_is_float()
879 uint_t kind; in dt_node_is_scalar() local
884 kind = ctf_type_kind(fp, type); in dt_node_is_scalar()
886 if (kind == CTF_K_INTEGER && in dt_node_is_scalar()
890 return (kind == CTF_K_INTEGER || kind == CTF_K_ENUM || in dt_node_is_scalar()
891 kind == CTF_K_POINTER); in dt_node_is_scalar()
900 uint_t kind; in dt_node_is_arith() local
905 kind = ctf_type_kind(fp, type); in dt_node_is_arith()
907 if (kind == CTF_K_INTEGER) in dt_node_is_arith()
910 return (kind == CTF_K_ENUM); in dt_node_is_arith()
919 uint_t kind; in dt_node_is_vfptr() local
928 kind = ctf_type_kind(fp, type); in dt_node_is_vfptr()
930 return (kind == CTF_K_FUNCTION || (kind == CTF_K_INTEGER && in dt_node_is_vfptr()
982 uint_t kind; in dt_node_is_strcompat() local
987 kind = ctf_type_kind(fp, base); in dt_node_is_strcompat()
989 if (kind == CTF_K_POINTER && in dt_node_is_strcompat()
995 if (kind == CTF_K_ARRAY && ctf_array_info(fp, base, &r) == 0 && in dt_node_is_strcompat()
1007 uint_t kind; in dt_node_is_pointer() local
1014 kind = ctf_type_kind(fp, ctf_type_resolve(fp, dnp->dn_type)); in dt_node_is_pointer()
1015 return (kind == CTF_K_POINTER || kind == CTF_K_ARRAY); in dt_node_is_pointer()
1552 uint_t id, kind; in dt_node_decl() local
1684 kind = ctf_type_kind(dtt.dtt_ctfp, type); in dt_node_decl()
1686 switch (kind) { in dt_node_decl()
1801 uint_t kind; in dt_node_offsetof() local
1813 kind = ctf_type_kind(dtt.dtt_ctfp, type); in dt_node_offsetof()
1815 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) { in dt_node_offsetof()
2450 uint_t kind; in dt_node_xlator() local
2479 kind = ctf_type_kind(dst.dtt_ctfp, in dt_node_xlator()
2482 if (kind == CTF_K_FORWARD) { in dt_node_xlator()
2487 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) { in dt_node_xlator()
2922 uint_t kind; in dt_cook_op1() local
2968 kind = ctf_type_kind(cp->dn_ctfp, type); in dt_cook_op1()
2970 if (kind == CTF_K_ARRAY) { in dt_cook_op1()
2976 } else if (kind == CTF_K_POINTER) { in dt_cook_op1()
2986 kind = ctf_type_kind(cp->dn_ctfp, base); in dt_cook_op1()
2988 if (kind == CTF_K_INTEGER && ctf_type_encoding(cp->dn_ctfp, in dt_cook_op1()
2994 if (kind == CTF_K_FUNCTION) { in dt_cook_op1()
2999 if (kind != CTF_K_ARRAY || dt_node_is_string(dnp)) in dt_cook_op1()
3015 (kind == CTF_K_POINTER || (dnp->dn_flags & DT_NF_REF))) in dt_cook_op1()
3177 int kind, val, uref; in dt_cook_op2() local
3320 kind = ctf_type_kind(lp->dn_ctfp, in dt_cook_op2()
3323 if (kind == CTF_K_ENUM && rp->dn_kind == DT_NODE_IDENT && in dt_cook_op2()
3585 kind = ctf_type_kind(lp->dn_ctfp, in dt_cook_op2()
3588 if (kind == CTF_K_ARRAY || kind == CTF_K_FUNCTION) { in dt_cook_op2()
3714 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3717 if (kind != CTF_K_POINTER) { in dt_cook_op2()
3723 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3730 while (kind == CTF_K_FORWARD) { in dt_cook_op2()
3738 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3747 if (kind != CTF_K_STRUCT && kind != CTF_K_UNION) { in dt_cook_op2()
3768 kind = ctf_type_kind(ctfp, type); in dt_cook_op2()
3773 if (op == DT_TOK_PTR && (kind != CTF_K_ARRAY || in dt_cook_op2()
3778 (kind != CTF_K_ARRAY || dt_node_is_string(dnp))) in dt_cook_op2()
3784 if (uref && (kind == CTF_K_POINTER || in dt_cook_op2()
4325 dt_node_provider_cmp_argv(dt_provider_t *pvp, dt_node_t *pnp, const char *kind, in dt_node_provider_cmp_argv() argument
4338 pvp->pv_desc.dtvd_name, prp->pr_ident->di_name, kind, in dt_node_provider_cmp_argv()
4352 pvp->pv_desc.dtvd_name, prp->pr_ident->di_name, kind, i + 1, in dt_node_provider_cmp_argv()