Lines Matching refs:dnp

46 pfcheck_addr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
48 return (dt_node_is_pointer(dnp) || dt_node_is_integer(dnp));
53 pfcheck_kaddr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
55 return (dt_node_is_pointer(dnp) || dt_node_is_integer(dnp) ||
56 dt_node_is_symaddr(dnp));
61 pfcheck_uaddr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
66 if (dt_node_is_usymaddr(dnp))
72 return (dt_node_is_pointer(dnp) || dt_node_is_integer(dnp));
77 pfcheck_stack(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
79 return (dt_node_is_stack(dnp));
84 pfcheck_time(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
86 return (dt_node_is_integer(dnp) &&
87 dt_node_type_size(dnp) == sizeof (uint64_t));
92 pfcheck_str(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
100 if (dt_node_is_string(dnp))
103 ctfp = dnp->dn_ctfp;
104 base = ctf_type_resolve(ctfp, dnp->dn_type);
114 pfcheck_wstr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
116 ctf_file_t *ctfp = dnp->dn_ctfp;
117 ctf_id_t base = ctf_type_resolve(ctfp, dnp->dn_type);
131 pfcheck_csi(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
133 return (dt_node_is_integer(dnp) &&
134 dt_node_type_size(dnp) <= sizeof (int));
139 pfcheck_fp(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
141 return (dt_node_is_float(dnp));
146 pfcheck_xint(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
148 return (dt_node_is_integer(dnp));
153 pfcheck_dint(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
155 if (dnp->dn_flags & DT_NF_SIGNED)
160 return (dt_node_is_integer(dnp));
165 pfcheck_xshort(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
167 ctf_file_t *ctfp = dnp->dn_ctfp;
168 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type);
178 pfcheck_xlong(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
180 ctf_file_t *ctfp = dnp->dn_ctfp;
181 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type);
191 pfcheck_xlonglong(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
193 ctf_file_t *ctfp = dnp->dn_ctfp;
194 ctf_id_t type = dnp->dn_type;
222 pfcheck_type(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
224 return (ctf_type_compat(dnp->dn_ctfp, ctf_type_resolve(dnp->dn_ctfp,
225 dnp->dn_type), pfd->pfd_conv->pfc_dctfp, pfd->pfd_conv->pfc_dtype));
1017 dt_ident_t *idp, int foff, dtrace_actkind_t kind, dt_node_t *dnp)
1073 if (dnp == NULL) {
1081 if (dt_node_is_integer(dnp) == 0) {
1089 dt_node_type_name(dnp, n, sizeof (n)));
1092 dnp = dnp->dn_list;
1111 } else if (dnp == NULL) {
1119 vnp = dnp;
1120 dnp = dnp->dn_list;
1158 if ((flags & DT_PRINTF_EXACTLEN) && dnp != NULL) {