Lines Matching refs:ntps
2059 uint32_t ntps;
2106 ntps = dhpb->dthpb_noffs + dhpb->dthpb_nenoffs;
2107 ASSERT(ntps > 0);
2109 atomic_add_32(&fasttrap_total, ntps);
2112 atomic_add_32(&fasttrap_total, -ntps);
2118 pp = kmem_zalloc(offsetof(fasttrap_probe_t, ftp_tps[ntps]), KM_SLEEP);
2121 if (ntps < FASTTRAP_PROBE_T_ZONE_MAX_TRACEPOINTS) {
2122 pp = zalloc(fasttrap_probe_t_zones[ntps]);
2123 bzero(pp, offsetof(fasttrap_probe_t, ftp_tps[ntps]));
2125 pp = kmem_zalloc(offsetof(fasttrap_probe_t, ftp_tps[ntps]), KM_SLEEP);
2131 pp->ftp_ntps = ntps;
2180 for (j = 0; i < ntps; i++, j++) {