Searched refs:ntps (Results 1 - 1 of 1) sorted by relevance

/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dfasttrap.c2059 uint32_t ntps; local
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_SLEE
[all...]

Completed in 20 milliseconds