Searched refs:fce (Results 1 – 4 of 4) sorted by relevance
| /xnu-11215.1.10/bsd/net/ |
| H A D | flowadv.c | 135 flowadv_free_entry(struct flowadv_fcentry *fce) in flowadv_free_entry() argument 137 kfree_type(struct flowadv_fcentry, fce); in flowadv_free_entry() 160 flowadv_add_entry(struct flowadv_fcentry *fce) in flowadv_add_entry() argument 163 STAILQ_INSERT_HEAD(&fadv_list, fce, fce_link); in flowadv_add_entry() 188 struct flowadv_fcentry *fce; in flowadv_thread_cont() local 191 fce = STAILQ_FIRST(&fadv_list); in flowadv_thread_cont() 192 STAILQ_REMOVE(&fadv_list, fce, in flowadv_thread_cont() 194 STAILQ_NEXT(fce, fce_link) = NULL; in flowadv_thread_cont() 198 if (fce->fce_event_type == FCE_EVENT_TYPE_CONGESTION_EXPERIENCED) { in flowadv_thread_cont() 199 switch (fce->fce_flowsrc_type) { in flowadv_thread_cont() [all …]
|
| /xnu-11215.1.10/bsd/net/pktsched/ |
| H A D | pktsched.c | 548 struct flowadv_fcentry *fce = NULL; in pktsched_alloc_fcentry() local 554 fce = flowadv_alloc_entry(how); in pktsched_alloc_fcentry() 555 if (fce == NULL) { in pktsched_alloc_fcentry() 560 sizeof(fce->fce_flowid)); in pktsched_alloc_fcentry() 562 fce->fce_flowsrc_type = m->m_pkthdr.pkt_flowsrc; in pktsched_alloc_fcentry() 563 fce->fce_flowid = m->m_pkthdr.pkt_flowid; in pktsched_alloc_fcentry() 566 sizeof(fce->fce_flowsrc_token)); in pktsched_alloc_fcentry() 568 sizeof(fce->fce_flowsrc_fidx)); in pktsched_alloc_fcentry() 570 if (fce->fce_flowsrc_type == FLOWSRC_CHANNEL) { in pktsched_alloc_fcentry() 571 fce->fce_flowsrc_fidx = m->m_pkthdr.pkt_mpriv_fidx; in pktsched_alloc_fcentry() [all …]
|
| H A D | pktsched_fq_codel.c | 2027 struct flowadv_fcentry *fce; in fq_if_add_fcentry() local 2036 STAILQ_FOREACH(fce, &fqs->fqs_fclist, fce_link) { in fq_if_add_fcentry() 2037 if ((uint8_t)fce->fce_flowsrc_type == flowsrc && in fq_if_add_fcentry() 2038 fce->fce_flowid == fq->fq_flowhash) { in fq_if_add_fcentry() 2044 fce = pktsched_alloc_fcentry(pkt, fqs->fqs_ifq->ifcq_ifp, M_WAITOK); in fq_if_add_fcentry() 2045 if (fce != NULL) { in fq_if_add_fcentry() 2047 STAILQ_INSERT_TAIL(&fqs->fqs_fclist, fce, fce_link); in fq_if_add_fcentry() 2052 fq->fq_sc_index, fce->fce_flowsrc_type, fq->fq_flowhash, in fq_if_add_fcentry() 2058 return (fce != NULL) ? TRUE : FALSE; in fq_if_add_fcentry() 2062 fq_if_remove_fcentry(fq_if_t *fqs, struct flowadv_fcentry *fce) in fq_if_remove_fcentry() argument [all …]
|
| /xnu-11215.1.10/bsd/skywalk/channel/ |
| H A D | channel_kern.c | 453 kern_channel_flowadv_clear(struct flowadv_fcentry *fce) in kern_channel_flowadv_clear() argument 455 const flowadv_token_t ch_token = fce->fce_flowsrc_token; in kern_channel_flowadv_clear() 456 const flowadv_token_t flow_token = fce->fce_flowid; in kern_channel_flowadv_clear() 457 const flowadv_idx_t flow_fidx = fce->fce_flowsrc_fidx; in kern_channel_flowadv_clear() 458 struct ifnet *ifp = fce->fce_ifp; in kern_channel_flowadv_clear() 512 kern_channel_flowadv_report_ce_event(struct flowadv_fcentry *fce, in kern_channel_flowadv_report_ce_event() argument 515 const flowadv_token_t ch_token = fce->fce_flowsrc_token; in kern_channel_flowadv_report_ce_event() 516 const flowadv_token_t flow_token = fce->fce_flowid; in kern_channel_flowadv_report_ce_event() 517 const flowadv_idx_t flow_fidx = fce->fce_flowsrc_fidx; in kern_channel_flowadv_report_ce_event() 518 struct ifnet *ifp = fce->fce_ifp; in kern_channel_flowadv_report_ce_event()
|