Home
last modified time | relevance | path

Searched refs:dt_node_t (Results 1 – 19 of 19) sorted by relevance

/titanic_44/usr/src/lib/libdtrace/common/
H A Ddt_parser.h118 } dt_node_t; typedef
188 extern int dt_node_is_integer(const dt_node_t *);
189 extern int dt_node_is_float(const dt_node_t *);
190 extern int dt_node_is_scalar(const dt_node_t *);
191 extern int dt_node_is_arith(const dt_node_t *);
192 extern int dt_node_is_vfptr(const dt_node_t *);
193 extern int dt_node_is_dynamic(const dt_node_t *);
194 extern int dt_node_is_stack(const dt_node_t *);
195 extern int dt_node_is_symaddr(const dt_node_t *);
196 extern int dt_node_is_usymaddr(const dt_node_t *);
[all …]
H A Ddt_sugar.c59 dt_node_t *dtsp_pdescs; /* probe descriptions */
62 dt_node_t *dtsp_clause_list; /* list of clauses */
65 static void dt_sugar_visit_stmts(dt_sugar_parse_t *, dt_node_t *, int);
77 static dt_node_t *
88 dt_sugar_append_clause(dt_sugar_parse_t *dp, dt_node_t *clause) in dt_sugar_append_clause()
97 dt_sugar_prepend_clause(dt_sugar_parse_t *dp, dt_node_t *clause) in dt_sugar_prepend_clause()
108 static dt_node_t *
141 static dt_node_t *
143 dt_node_t *pred, int condid, int newcond) in dt_sugar_new_condition_impl()
145 dt_node_t *value, *body, *newpred; in dt_sugar_new_condition_impl()
[all …]
H A Ddt_provider.h45 dt_node_t *pv_nodes; /* parse node allocation list */
82 dt_node_t *pr_nargs; /* native argument list */
83 dt_node_t **pr_nargv; /* native argument vector */
85 dt_node_t *pr_xargs; /* translated argument list */
86 dt_node_t **pr_xargv; /* translated argument vector */
100 dt_node_t *, uint_t, dt_node_t *, uint_t);
112 extern dt_node_t *dt_probe_tag(dt_probe_t *, uint_t, dt_node_t *);
H A Ddt_parser.c117 dt_node_t *yypragma; /* lex token list for control lines */
331 dt_type_promote(dt_node_t *lp, dt_node_t *rp, ctf_file_t **ofp, ctf_id_t *otype) in dt_type_promote()
402 dt_node_promote(dt_node_t *lp, dt_node_t *rp, dt_node_t *dnp) in dt_node_promote()
410 dt_node_name(const dt_node_t *dnp, char *buf, size_t len) in dt_node_name()
510 dt_node_t *
513 dt_node_t *dnp = dt_alloc(dtp, sizeof (dt_node_t)); in dt_node_xalloc()
539 static dt_node_t *
542 dt_node_t *dnp = dt_node_xalloc(yypcb->pcb_hdl, kind); in dt_node_alloc()
555 dt_node_free(dt_node_t *dnp) in dt_node_free()
658 dt_node_attr_assign(dt_node_t *dnp, dtrace_attribute_t attr) in dt_node_attr_assign()
[all …]
H A Ddt_pragma.c77 dt_pragma_attributes(const char *prname, dt_node_t *dnp) in dt_pragma_attributes()
160 dt_pragma_binding(const char *prname, dt_node_t *dnp) in dt_pragma_binding()
233 dt_pragma_depends(const char *prname, dt_node_t *cnp) in dt_pragma_depends()
236 dt_node_t *nnp = cnp ? cnp->dn_list : NULL; in dt_pragma_depends()
313 dt_pragma_error(const char *prname, dt_node_t *dnp) in dt_pragma_error()
315 dt_node_t *enp; in dt_pragma_error()
341 dt_pragma_ident(const char *prname, dt_node_t *dnp) in dt_pragma_ident()
347 dt_pragma_option(const char *prname, dt_node_t *dnp) in dt_pragma_option()
393 dt_pragma_line(const char *prname, dt_node_t *dnp) in dt_pragma_line()
395 dt_node_t *fnp = dnp ? dnp->dn_list : NULL; in dt_pragma_line()
[all …]
H A Ddt_pcb.h59 dt_node_t *pcb_list; /* list of allocated parse tree nodes */
60 dt_node_t *pcb_hold; /* parse tree nodes on hold until end of defn */
61 dt_node_t *pcb_root; /* root of current parse tree */
77 dt_node_t *pcb_dret; /* node containing return type for assembler */
H A Ddt_cc.c181 dt_stmt_append(dtrace_stmtdesc_t *sdp, const dt_node_t *dnp) in dt_stmt_append()
321 dt_action_clear(dtrace_hdl_t *dtp, dt_node_t *dnp, dtrace_stmtdesc_t *sdp) in dt_action_clear()
325 dt_node_t *anp; in dt_action_clear()
363 dt_action_normalize(dtrace_hdl_t *dtp, dt_node_t *dnp, dtrace_stmtdesc_t *sdp) in dt_action_normalize()
367 dt_node_t *anp, *normal; in dt_action_normalize()
426 dt_action_trunc(dtrace_hdl_t *dtp, dt_node_t *dnp, dtrace_stmtdesc_t *sdp) in dt_action_trunc()
430 dt_node_t *anp, *trunc; in dt_action_trunc()
492 dt_action_printa(dtrace_hdl_t *dtp, dt_node_t *dnp, dtrace_stmtdesc_t *sdp) in dt_action_printa()
497 dt_node_t *anp, *proto = NULL; in dt_action_printa()
578 dt_action_printflike(dtrace_hdl_t *dtp, dt_node_t *dnp, dtrace_stmtdesc_t *sdp, in dt_action_printflike()
[all …]
H A Ddt_ident.c51 dt_idcook_sign(dt_node_t *dnp, dt_ident_t *idp, in dt_idcook_sign()
52 int argc, dt_node_t *args, const char *prefix, const char *suffix) in dt_idcook_sign()
109 dt_idcook_assc(dt_node_t *dnp, dt_ident_t *idp, int argc, dt_node_t *args) in dt_idcook_assc()
126 sizeof (dt_node_t))) == NULL) { in dt_idcook_assc()
173 dt_idcook_func(dt_node_t *dnp, dt_ident_t *idp, int argc, dt_node_t *args) in dt_idcook_func()
221 sizeof (dt_node_t))) == NULL) { in dt_idcook_func()
312 dt_idcook_args(dt_node_t *dnp, dt_ident_t *idp, int argc, dt_node_t *ap) in dt_idcook_args()
317 dt_node_t tag, *nnp, *xnp; in dt_idcook_args()
431 dt_idcook_regs(dt_node_t *dnp, dt_ident_t *idp, int argc, dt_node_t *ap) in dt_idcook_regs()
468 dt_idcook_type(dt_node_t *dnp, dt_ident_t *idp, int argc, dt_node_t *args) in dt_idcook_type()
[all …]
H A Ddt_xlator.c52 dt_node_t *enp, *mnp; in dt_xlator_create_member()
99 const char *name, dt_node_t *members, dt_node_t *nodes) in dt_xlator_create()
104 dt_node_t *dnp; in dt_xlator_create()
258 dt_xlator_lookup(dtrace_hdl_t *dtp, dt_node_t *src, dt_node_t *dst, int flags) in dt_xlator_lookup()
271 dt_node_t xn = { 0 }; in dt_xlator_lookup()
369 dt_node_t *
372 dt_node_t *dnp; in dt_xlator_member()
H A Ddt_cg.c47 static void dt_cg_node(dt_node_t *, dt_irlist_t *, dt_regset_t *);
145 dt_cg_load(dt_node_t *dnp, ctf_file_t *ctfp, ctf_id_t type) in dt_cg_load()
188 dt_cg_ptrsize(dt_node_t *dnp, dt_irlist_t *dlp, dt_regset_t *drp, in dt_cg_ptrsize()
240 dt_cg_field_get(dt_node_t *dnp, dt_irlist_t *dlp, dt_regset_t *drp, in dt_cg_field_get()
324 dt_cg_field_set(dt_node_t *src, dt_irlist_t *dlp, in dt_cg_field_set()
325 dt_regset_t *drp, dt_node_t *dst) in dt_cg_field_set()
405 dt_cg_store(dt_node_t *src, dt_irlist_t *dlp, dt_regset_t *drp, dt_node_t *dst) in dt_cg_store()
467 dt_cg_typecast(const dt_node_t *src, const dt_node_t *dst, in dt_cg_typecast()
541 dt_cg_arglist(dt_ident_t *idp, dt_node_t *args, in dt_cg_arglist()
545 dt_node_t *dnp; in dt_cg_arglist()
[all …]
H A Ddt_provider.c176 dt_probe_argmap(dt_node_t *xnp, dt_node_t *nnp) in dt_probe_argmap()
191 static dt_node_t *
194 dt_node_t *args = NULL, *pnp = NULL, *dnp; in dt_probe_alloc_args()
238 dt_node_t *xargs, *nargs; in dt_probe_discover()
410 dt_node_t *nargs, uint_t nargc, dt_node_t *xargs, uint_t xargc) in dt_probe_create()
443 prp->pr_nargv = dt_alloc(dtp, sizeof (dt_node_t *) * nargc); in dt_probe_create()
446 prp->pr_xargv = dt_alloc(dtp, sizeof (dt_node_t *) * xargc); in dt_probe_create()
624 dt_node_t *
625 dt_probe_tag(dt_probe_t *prp, uint_t argn, dt_node_t *dnp) in dt_probe_tag()
653 bzero(dnp, sizeof (dt_node_t)); in dt_probe_tag()
H A Ddt_printf.c48 pfcheck_addr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp) in pfcheck_addr()
55 pfcheck_kaddr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp) in pfcheck_kaddr()
63 pfcheck_uaddr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp) in pfcheck_uaddr()
79 pfcheck_stack(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp) in pfcheck_stack()
86 pfcheck_time(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp) in pfcheck_time()
94 pfcheck_str(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp) in pfcheck_str()
116 pfcheck_wstr(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp) in pfcheck_wstr()
133 pfcheck_csi(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp) in pfcheck_csi()
141 pfcheck_fp(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp) in pfcheck_fp()
148 pfcheck_xint(dt_pfargv_t *pfv, dt_pfargd_t *pfd, dt_node_t *dnp) in pfcheck_xint()
[all …]
H A Ddt_decl.c305 dt_decl_protoform(dt_node_t *fnp, dt_node_t *flist) in dt_decl_protoform()
307 dt_node_t *dnp; in dt_decl_protoform()
327 dt_decl_prototype(dt_node_t *plist, in dt_decl_prototype()
328 dt_node_t *flist, const char *kind, uint_t flags) in dt_decl_prototype()
333 dt_node_t *dnp; in dt_decl_prototype()
385 dt_decl_array(dt_node_t *dnp) in dt_decl_array()
446 dt_decl_func(dt_decl_t *pdp, dt_node_t *dnp) in dt_decl_func()
521 dt_decl_member(dt_node_t *dnp) in dt_decl_member()
710 dt_decl_enumerator(char *s, dt_node_t *dnp) in dt_decl_enumerator()
H A Ddt_as.c97 dt_node_t dn; in dt_copyvar()
153 uint_t i, uint_t xi, dt_node_t *dnp) in dt_as_xlate()
388 dp->dtdo_xlmtab = dt_zalloc(dtp, sizeof (dt_node_t *) * xlrefs); in dt_as()
405 dt_node_t **xlp = dp->dtdo_xlmtab; in dt_as()
H A Ddt_impl.h613 extern void dt_pragma(dt_node_t *);
615 extern void dt_cg(dt_pcb_t *, dt_node_t *);
662 extern dt_node_t *yypragma; /* lex token list for control lines */
H A Ddt_dof.c249 dt_node_t **pnp; in dof_add_difo()
262 dt_node_t *dnp = *pnp++; in dof_add_difo()
341 dt_node_t *dnp; in dof_add_translator()
403 dt_node_t *dnp; in dof_add_probe()
H A Ddt_grammar.y43 dt_node_t *l_node;
229 | DT_CTX_DTYPE type_name { $$ = (dt_node_t *)$2; }
H A Ddt_dis.c514 dt_node_t *dnp = dp->dtdo_xlmtab[i]; in dt_dis()
H A Ddt_program.c404 dt_node_t *dnp; in dt_header_decl()