Lines Matching refs:stp
65 dt_stmt_t *stp, *next; in dt_program_destroy() local
68 for (stp = dt_list_next(&pgp->dp_stmts); stp != NULL; stp = next) { in dt_program_destroy()
69 next = dt_list_next(stp); in dt_program_destroy()
70 dtrace_stmt_destroy(dtp, stp->ds_desc); in dt_program_destroy()
71 dt_free(dtp, stp); in dt_program_destroy()
87 dt_stmt_t *stp; in dtrace_program_info() local
104 for (stp = dt_list_next(&pgp->dp_stmts); stp; stp = dt_list_next(stp)) { in dtrace_program_info()
105 dtrace_ecbdesc_t *edp = stp->ds_desc->dtsd_ecbdesc; in dtrace_program_info()
112 dt_attr_min(stp->ds_desc->dtsd_descattr, pip->dpi_descattr); in dtrace_program_info()
115 dt_attr_min(stp->ds_desc->dtsd_stmtattr, pip->dpi_stmtattr); in dtrace_program_info()
278 dt_stmt_t *stp = dt_alloc(dtp, sizeof (dt_stmt_t)); in dtrace_stmt_add() local
280 if (stp == NULL) in dtrace_stmt_add()
283 dt_list_append(&pgp->dp_stmts, stp); in dtrace_stmt_add()
284 stp->ds_desc = sdp; in dtrace_stmt_add()
293 dt_stmt_t *stp, *next; in dtrace_stmt_iter() local
296 for (stp = dt_list_next(&pgp->dp_stmts); stp != NULL; stp = next) { in dtrace_stmt_iter()
297 next = dt_list_next(stp); in dtrace_stmt_iter()
298 if ((status = func(dtp, pgp, stp->ds_desc, data)) != 0) in dtrace_stmt_iter()