Home
last modified time | relevance | path

Searched refs:aggdesc (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/cddl/dev/dtrace/
H A Ddtrace_ioctl.c112 dtrace_aggdesc_t aggdesc; in dtrace_ioctl() local
124 if (copyin((void *) *paggdesc, &aggdesc, sizeof (aggdesc)) != 0) in dtrace_ioctl()
129 if ((agg = dtrace_aggid2agg(state, aggdesc.dtagd_id)) == NULL) { in dtrace_ioctl()
134 aggdesc.dtagd_epid = agg->dtag_ecb->dte_epid; in dtrace_ioctl()
136 nrecs = aggdesc.dtagd_nrecs; in dtrace_ioctl()
137 aggdesc.dtagd_nrecs = 0; in dtrace_ioctl()
141 aggdesc.dtagd_size = lrec->dtrd_offset + lrec->dtrd_size - offs; in dtrace_ioctl()
160 aggdesc.dtagd_nrecs++; in dtrace_ioctl()
173 (aggdesc.dtagd_nrecs * sizeof (dtrace_recdesc_t)); in dtrace_ioctl()
178 bcopy(&aggdesc, (void *)dest, sizeof (aggdesc)); in dtrace_ioctl()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_aggregate.c1148 dtrace_aggdesc_t *aggdesc; local
1159 aggdesc = h->dtahe_data.dtada_desc;
1160 rec = &aggdesc->dtagd_rec[aggdesc->dtagd_nrecs - 1];
1880 dtrace_aggdesc_t *aggdesc = aggdata->dtada_desc; local
1906 rec = &aggdesc->dtagd_rec[0];
1910 rec = &aggdesc->dtagd_rec[aggdesc->dtagd_nrecs - 1];
1946 aggdesc->dtagd_rec[0].dtrd_uarg;
2154 dtrace_aggdesc_t *aggdesc; local
2159 aggdesc = h->dtahe_data.dtada_desc;
2160 rec = &aggdesc->dtagd_rec[aggdesc->dtagd_nrecs - 1];
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c995 const dtrace_aggdesc_t *aggdesc = agg->dtada_desc; in process_aggregate() local
1014 if (aggdesc->dtagd_varid > DTRACE_AGGVARIDNONE + 1) { in process_aggregate()
1019 rec = &aggdesc->dtagd_rec[aggdesc->dtagd_nrecs - 1]; in process_aggregate()
1021 if (aggdesc->dtagd_varid != DTRACE_AGGVARIDNONE + 2) in process_aggregate()
1038 lsrec_fill(lsrec, &aggdesc->dtagd_rec[1], in process_aggregate()
1039 aggdesc->dtagd_nrecs - 1, data); in process_aggregate()
1041 rec = &aggdesc->dtagd_rec[aggdesc->dtagd_nrecs - 1]; in process_aggregate()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c17573 dtrace_aggdesc_t aggdesc; local
17583 if (copyin((void *)arg, &aggdesc, sizeof (aggdesc)) != 0)
17588 if ((agg = dtrace_aggid2agg(state, aggdesc.dtagd_id)) == NULL) {
17593 aggdesc.dtagd_epid = agg->dtag_ecb->dte_epid;
17595 nrecs = aggdesc.dtagd_nrecs;
17596 aggdesc.dtagd_nrecs = 0;
17600 aggdesc.dtagd_size = lrec->dtrd_offset + lrec->dtrd_size - offs;
17619 aggdesc.dtagd_nrecs++;
17632 (aggdesc.dtagd_nrecs * sizeof (dtrace_recdesc_t));
17637 bcopy(&aggdesc, (void *)dest, sizeof (aggdesc));