Lines Matching defs:sp
1600 get_class_stats(struct hfsc_classstats *sp, struct hfsc_class *cl)
1602 sp->class_id = cl->cl_id;
1603 sp->class_handle = cl->cl_handle;
1606 sp->rsc.m1 = sm2m(cl->cl_rsc->sm1);
1607 sp->rsc.d = dx2d(cl->cl_rsc->dx);
1608 sp->rsc.m2 = sm2m(cl->cl_rsc->sm2);
1610 sp->rsc.m1 = 0;
1611 sp->rsc.d = 0;
1612 sp->rsc.m2 = 0;
1615 sp->fsc.m1 = sm2m(cl->cl_fsc->sm1);
1616 sp->fsc.d = dx2d(cl->cl_fsc->dx);
1617 sp->fsc.m2 = sm2m(cl->cl_fsc->sm2);
1619 sp->fsc.m1 = 0;
1620 sp->fsc.d = 0;
1621 sp->fsc.m2 = 0;
1624 sp->usc.m1 = sm2m(cl->cl_usc->sm1);
1625 sp->usc.d = dx2d(cl->cl_usc->dx);
1626 sp->usc.m2 = sm2m(cl->cl_usc->sm2);
1628 sp->usc.m1 = 0;
1629 sp->usc.d = 0;
1630 sp->usc.m2 = 0;
1633 sp->total = cl->cl_total;
1634 sp->cumul = cl->cl_cumul;
1636 sp->d = cl->cl_d;
1637 sp->e = cl->cl_e;
1638 sp->vt = cl->cl_vt;
1639 sp->f = cl->cl_f;
1641 sp->initvt = cl->cl_initvt;
1642 sp->vtperiod = cl->cl_vtperiod;
1643 sp->parentperiod = cl->cl_parentperiod;
1644 sp->nactive = cl->cl_nactive;
1645 sp->vtoff = cl->cl_vtoff;
1646 sp->cvtmax = cl->cl_cvtmax;
1647 sp->myf = cl->cl_myf;
1648 sp->cfmin = cl->cl_cfmin;
1649 sp->cvtmin = cl->cl_cvtmin;
1650 sp->myfadj = cl->cl_myfadj;
1651 sp->vtadj = cl->cl_vtadj;
1653 sp->cur_time = read_machclk();
1654 sp->machclk_freq = machclk_freq;
1656 sp->qlength = qlen(cl->cl_q);
1657 sp->qlimit = qlimit(cl->cl_q);
1658 sp->xmit_cnt = cl->cl_stats.xmit_cnt;
1659 sp->drop_cnt = cl->cl_stats.drop_cnt;
1660 sp->period = cl->cl_stats.period;
1662 sp->qtype = qtype(cl->cl_q);
1665 red_getstats(cl->cl_red, &sp->red[0]);
1669 rio_getstats((rio_t *)cl->cl_red, &sp->red[0]);
1673 codel_getstats(cl->cl_codel, &sp->codel);