Lines Matching refs:dx
922 cl->cl_eligible.dx = 0; in init_ed()
1393 u_int64_t dx; in d2dx() local
1395 dx = ((u_int64_t)d * machclk_freq) / 1000; in d2dx()
1396 return (dx); in d2dx()
1409 dx2d(u_int64_t dx) in dx2d() argument
1413 d = dx * 1000 / machclk_freq; in dx2d()
1422 isc->dx = d2dx(sc->d); in sc2isc()
1423 isc->dy = seg_x2y(isc->dx, isc->sm1); in sc2isc()
1440 rtsc->dx = isc->dx; in rtsc_init()
1460 x = rtsc->x + rtsc->dx; in rtsc_y2x()
1465 x = rtsc->x + rtsc->dx in rtsc_y2x()
1478 else if (x <= rtsc->x + rtsc->dx) in rtsc_x2y()
1484 + seg_x2y(x - rtsc->x - rtsc->dx, rtsc->sm2); in rtsc_x2y()
1496 u_int64_t y1, y2, dx, dy; in rtsc_min() local
1521 y2 = rtsc_x2y(rtsc, x + isc->dx); in rtsc_min()
1526 rtsc->dx = isc->dx; in rtsc_min()
1537 dx = ((y1 - y) << SM_SHIFT) / (isc->sm1 - isc->sm2); in rtsc_min()
1542 if (rtsc->x + rtsc->dx > x) in rtsc_min()
1543 dx += rtsc->x + rtsc->dx - x; in rtsc_min()
1544 dy = seg_x2y(dx, isc->sm1); in rtsc_min()
1548 rtsc->dx = dx; in rtsc_min()
1563 sp->rsc.d = dx2d(cl->cl_rsc->dx); in get_class_stats_v0()
1572 sp->fsc.d = dx2d(cl->cl_fsc->dx); in get_class_stats_v0()
1581 sp->usc.d = dx2d(cl->cl_usc->dx); in get_class_stats_v0()
1643 sp->rsc.d = dx2d(cl->cl_rsc->dx); in get_class_stats_v1()
1652 sp->fsc.d = dx2d(cl->cl_fsc->dx); in get_class_stats_v1()
1661 sp->usc.d = dx2d(cl->cl_usc->dx); in get_class_stats_v1()