Searched refs:fce (Results 1 – 4 of 4) sorted by relevance
| /xnu-11215.81.4/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.81.4/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 | 2042 struct flowadv_fcentry *fce; in fq_if_add_fcentry() local 2051 STAILQ_FOREACH(fce, &fqs->fqs_fclist, fce_link) { in fq_if_add_fcentry() 2052 if ((uint8_t)fce->fce_flowsrc_type == flowsrc && in fq_if_add_fcentry() 2053 fce->fce_flowid == fq->fq_flowhash) { in fq_if_add_fcentry() 2059 fce = pktsched_alloc_fcentry(pkt, fqs->fqs_ifq->ifcq_ifp, M_WAITOK); in fq_if_add_fcentry() 2060 if (fce != NULL) { in fq_if_add_fcentry() 2062 STAILQ_INSERT_TAIL(&fqs->fqs_fclist, fce, fce_link); in fq_if_add_fcentry() 2067 fq->fq_sc_index, fce->fce_flowsrc_type, fq->fq_flowhash, in fq_if_add_fcentry() 2074 if (fce != NULL && fce->fce_flowsrc_type == FLOWSRC_CHANNEL) { in fq_if_add_fcentry() 2075 kern_channel_flowadv_set(fce); in fq_if_add_fcentry() [all …]
|
| /xnu-11215.81.4/bsd/skywalk/channel/ |
| H A D | channel_kern.c | 459 _kern_channel_flowadv_signal(struct flowadv_fcentry *fce, flow_adv_type_t type) in _kern_channel_flowadv_signal() argument 461 const flowadv_token_t ch_token = fce->fce_flowsrc_token; in _kern_channel_flowadv_signal() 462 const flowadv_token_t flow_token = fce->fce_flowid; in _kern_channel_flowadv_signal() 463 const flowadv_idx_t flow_fidx = fce->fce_flowsrc_fidx; in _kern_channel_flowadv_signal() 464 struct ifnet *ifp = fce->fce_ifp; in _kern_channel_flowadv_signal() 532 kern_channel_flowadv_clear(struct flowadv_fcentry *fce) in kern_channel_flowadv_clear() argument 534 _kern_channel_flowadv_signal(fce, FLOW_ADV_SIGNAL_RESUME); in kern_channel_flowadv_clear() 538 kern_channel_flowadv_set(struct flowadv_fcentry *fce) in kern_channel_flowadv_set() argument 540 _kern_channel_flowadv_signal(fce, FLOW_ADV_SIGNAL_SUSPEND); in kern_channel_flowadv_set() 544 kern_channel_flowadv_report_ce_event(struct flowadv_fcentry *fce, in kern_channel_flowadv_report_ce_event() argument [all …]
|