Lines Matching refs:rec
1194 dt_normalize(dtrace_hdl_t *dtp, caddr_t base, dtrace_recdesc_t *rec)
1203 addr = base + rec->dtrd_offset;
1205 if (rec->dtrd_size != sizeof (dtrace_aggvarid_t))
1210 rec++;
1212 if (rec->dtrd_action != DTRACEACT_LIBACT)
1215 if (rec->dtrd_arg != DT_ACT_NORMALIZE)
1218 addr = base + rec->dtrd_offset;
1220 switch (rec->dtrd_size) {
1301 dt_trunc(dtrace_hdl_t *dtp, caddr_t base, dtrace_recdesc_t *rec)
1313 addr = base + rec->dtrd_offset;
1315 if (rec->dtrd_size != sizeof (dtrace_aggvarid_t))
1320 rec++;
1322 if (rec->dtrd_action != DTRACEACT_LIBACT)
1325 if (rec->dtrd_arg != DT_ACT_TRUNC)
1328 addr = base + rec->dtrd_offset;
1330 switch (rec->dtrd_size) {
1366 dt_print_datum(dtrace_hdl_t *dtp, FILE *fp, dtrace_recdesc_t *rec,
1370 dtrace_actkind_t act = rec->dtrd_action;
1375 rec->dtrd_arg, rec->dtrd_size / rec->dtrd_arg));
1379 return (dt_print_ustack(dtp, fp, NULL, addr, rec->dtrd_arg));
1447 dtrace_recdesc_t *rec;
1458 rec = &agg->dtagd_rec[i];
1459 act = rec->dtrd_action;
1460 addr = aggdata->dtada_data + rec->dtrd_offset;
1461 size = rec->dtrd_size;
1468 if (dt_print_datum(dtp, fp, rec, addr, size, 1) < 0)
1471 if (dt_buffered_flush(dtp, NULL, rec, aggdata,
1483 rec = &agg->dtagd_rec[aggact];
1484 act = rec->dtrd_action;
1485 addr = aggdata->dtada_data + rec->dtrd_offset;
1486 size = rec->dtrd_size;
1491 if (dt_print_datum(dtp, fp, rec, addr, size, normal) < 0)
1494 if (dt_buffered_flush(dtp, NULL, rec, aggdata,
1649 dtrace_recdesc_t *rec = &epd->dtepd_rec[i];
1650 dtrace_actkind_t act = rec->dtrd_action;
1653 rec->dtrd_offset;
1657 uint64_t arg = rec->dtrd_arg;
1690 buf->dtbd_data + offs, rec) != 0)
1743 buf->dtbd_data + offs, rec) != 0)
1754 rval = (*rfunc)(&data, rec, arg);
1766 int depth = rec->dtrd_arg;
1769 rec->dtrd_size / depth) < 0)
1777 addr, rec->dtrd_arg) < 0)
1814 rec->dtrd_format)) == NULL)
1833 rec, epd->dtepd_nrecs - i,
1868 if (nrec->dtrd_uarg != rec->dtrd_uarg)
1913 switch (rec->dtrd_size) {
1936 rec->dtrd_size, 33, quiet);
1944 if (dt_buffered_flush(dtp, &data, rec, NULL, 0) < 0)
2010 const dtrace_recdesc_t *rec, void *arg)
2014 return (begin->dtbgn_recfunc(data, rec, begin->dtbgn_arg));