Lines Matching defs:dnp
48 pfcheck_addr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
50 return (dt_node_is_pointer(dnp) || dt_node_is_integer(dnp));
55 pfcheck_kaddr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
57 return (dt_node_is_pointer(dnp) || dt_node_is_integer(dnp) ||
58 dt_node_is_symaddr(dnp));
63 pfcheck_uaddr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
68 if (dt_node_is_usymaddr(dnp))
74 return (dt_node_is_pointer(dnp) || dt_node_is_integer(dnp));
79 pfcheck_stack(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
81 return (dt_node_is_stack(dnp));
86 pfcheck_time(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
88 return (dt_node_is_integer(dnp) &&
89 dt_node_type_size(dnp) == sizeof (uint64_t));
94 pfcheck_str(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
102 if (dt_node_is_string(dnp))
105 ctfp = dnp->dn_ctfp;
106 base = ctf_type_resolve(ctfp, dnp->dn_type);
116 pfcheck_wstr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
118 ctf_file_t *ctfp = dnp->dn_ctfp;
119 ctf_id_t base = ctf_type_resolve(ctfp, dnp->dn_type);
133 pfcheck_csi(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
135 return (dt_node_is_integer(dnp) &&
136 dt_node_type_size(dnp) <= sizeof (int));
141 pfcheck_fp(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
143 return (dt_node_is_float(dnp));
148 pfcheck_xint(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
150 return (dt_node_is_integer(dnp));
155 pfcheck_dint(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
157 if (dnp->dn_flags & DT_NF_SIGNED)
162 return (dt_node_is_integer(dnp));
167 pfcheck_xshort(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
169 ctf_file_t *ctfp = dnp->dn_ctfp;
170 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type);
180 pfcheck_xlong(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
182 ctf_file_t *ctfp = dnp->dn_ctfp;
183 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type);
193 pfcheck_xlonglong(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
195 ctf_file_t *ctfp = dnp->dn_ctfp;
196 ctf_id_t type = dnp->dn_type;
224 pfcheck_type(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp)
226 return (ctf_type_compat(dnp->dn_ctfp, ctf_type_resolve(dnp->dn_ctfp,
227 dnp->dn_type), pfd->pfd_conv->pfc_dctfp, pfd->pfd_conv->pfc_dtype));
1019 dt_ident_t *idp, int foff, dtrace_actkind_t kind, dt_node_t *dnp)
1075 if (dnp == NULL) {
1083 if (dt_node_is_integer(dnp) == 0) {
1091 dt_node_type_name(dnp, n, sizeof (n)));
1094 dnp = dnp->dn_list;
1113 } else if (dnp == NULL) {
1121 vnp = dnp;
1122 dnp = dnp->dn_list;
1160 if ((flags & DT_PRINTF_EXACTLEN) && dnp != NULL) {