Searched refs:cbqp (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/bsd/net/pktsched/ |
H A D | pktsched_cbq.c | 132 cbq_state_t *cbqp; local 135 cbqp = (how == M_WAITOK) ? zalloc(cbq_zone) : zalloc_noblock(cbq_zone); 136 if (cbqp == NULL) 139 bzero(cbqp, cbq_size); 140 CALLOUT_INIT(&cbqp->cbq_callout); 141 cbqp->cbq_qlen = 0; 142 cbqp->ifnp.ifq_ = &ifp->if_snd; /* keep the ifclassq */ 144 cbqp->cbq_flags |= CBQSF_ALTQ; 148 if_name(ifp), cbq_style(cbqp)); 151 return (cbqp); 155 cbq_destroy(cbq_state_t *cbqp) argument 168 cbq_destroy_locked(cbq_state_t *cbqp) argument 191 cbq_add_queue(cbq_state_t *cbqp, u_int32_t qlimit, u_int32_t priority, u_int32_t minburst, u_int32_t maxburst, u_int32_t pktsize, u_int32_t maxpktsize, u_int32_t ns_per_byte, u_int32_t maxidle, int minidle, u_int32_t offtime, u_int32_t flags, u_int32_t parent_qid, u_int32_t qid, struct rm_class **clp) argument 330 cbq_remove_queue(cbq_state_t *cbqp, u_int32_t qid) argument 370 cbq_class_destroy(cbq_state_t *cbqp, struct rm_class *cl) argument 402 cbq_clh_to_clp(cbq_state_t *cbqp, u_int32_t chandle) argument 425 cbq_style(cbq_state_t *cbqp) argument 431 cbq_clear_interface(cbq_state_t *cbqp) argument 462 cbq_get_class_stats(cbq_state_t *cbqp, u_int32_t qid, class_stats_t *statsp) argument 510 cbq_enqueue(cbq_state_t *cbqp, struct rm_class *cl, struct mbuf *m, struct pf_mtag *t) argument 574 cbq_dequeue(cbq_state_t *cbqp, cqdq_op_t op) argument 616 cbq_purge(cbq_state_t *cbqp) argument 637 cbq_event(cbq_state_t *cbqp, cqev_t ev) argument 667 cbq_state_t *cbqp = ifq->ifcq_disc; local 688 cbq_state_t *cbqp = ifq->ifcq_disc; local [all...] |
/darwin-on-arm/xnu/bsd/net/altq/ |
H A D | altq_cbq.c | 108 cbq_state_t *cbqp; local 118 cbqp = cbq_alloc(ifp, M_WAITOK, TRUE); 119 if (cbqp == NULL) 123 a->altq_disc = cbqp; 131 cbq_state_t *cbqp; local 135 if ((cbqp = a->altq_disc) == NULL) 139 return (cbq_destroy(cbqp)); 146 cbq_state_t *cbqp; local 151 if ((cbqp = a->altq_disc) == NULL) 154 IFCQ_LOCK(cbqp 167 cbq_state_t *cbqp; local 186 cbq_state_t *cbqp; local 217 cbq_state_t *cbqp = (cbq_state_t *)altq->altq_disc; local [all...] |
Completed in 18 milliseconds