Lines Matching refs:ifq
244 struct ifclassq *ifq = hif->hif_ifq;
247 IFCQ_LOCK(ifq);
249 IFCQ_UNLOCK(ifq);
374 struct ifclassq *ifq;
433 ifq = hif->hif_ifq;
436 if (qlimit == 0 || qlimit > IFCQ_MAXLEN(ifq)) {
437 qlimit = IFCQ_MAXLEN(ifq);
762 struct ifclassq *ifq = hif->hif_ifq;
766 IFCQ_LOCK_ASSERT_HELD(ifq);
778 IFCQ_CONVERT_LOCK(ifq);
798 IFCQ_DROP_ADD(ifq, 1, len);
810 IFCQ_INC_LEN(ifq);
829 struct ifclassq *ifq = hif->hif_ifq;
836 IFCQ_LOCK_ASSERT_HELD(ifq);
899 IFCQ_DEC_LEN(ifq);
900 IFCQ_XMIT_ADD(ifq, 1, len);
929 struct ifclassq *ifq = cl->cl_hif->hif_ifq;
931 IFCQ_LOCK_ASSERT_HELD(ifq);
953 IFCQ_CONVERT_LOCK(ifq);
973 IFCQ_CONVERT_LOCK(ifq);
1026 struct ifclassq *ifq = hif->hif_ifq;
1029 IFCQ_LOCK_ASSERT_HELD(ifq);
1037 IFCQ_CONVERT_LOCK(ifq);
1063 IFCQ_DROP_ADD(ifq, cnt, len);
1068 VERIFY(((signed)IFCQ_LEN(ifq) - cnt) >= 0);
1069 IFCQ_LEN(ifq) -= cnt;
2022 hfsc_setup_ifclassq(struct ifclassq *ifq, u_int32_t flags)
2024 #pragma unused(ifq, flags)
2029 hfsc_teardown_ifclassq(struct ifclassq *ifq)
2031 struct hfsc_if *hif = ifq->ifcq_disc;
2034 IFCQ_LOCK_ASSERT_HELD(ifq);
2035 VERIFY(hif != NULL && ifq->ifcq_type == PKTSCHEDT_HFSC);
2039 ifq->ifcq_disc = NULL;
2041 ifq->ifcq_disc_slots[i].qid = 0;
2042 ifq->ifcq_disc_slots[i].cl = NULL;
2045 return (ifclassq_detach(ifq));
2049 hfsc_getqstats_ifclassq(struct ifclassq *ifq, u_int32_t slot,
2052 struct hfsc_if *hif = ifq->ifcq_disc;
2054 IFCQ_LOCK_ASSERT_HELD(ifq);
2055 VERIFY(ifq->ifcq_type == PKTSCHEDT_HFSC);
2060 return (hfsc_get_class_stats(hif, ifq->ifcq_disc_slots[slot].qid,