Searched refs:fce (Results 1 – 4 of 4) sorted by relevance
| /xnu-10002.41.9/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-10002.41.9/bsd/net/pktsched/ |
| H A D | pktsched.c | 496 struct flowadv_fcentry *fce = NULL; in pktsched_alloc_fcentry() local 502 fce = flowadv_alloc_entry(how); in pktsched_alloc_fcentry() 503 if (fce == NULL) { in pktsched_alloc_fcentry() 508 sizeof(fce->fce_flowid)); in pktsched_alloc_fcentry() 510 fce->fce_flowsrc_type = m->m_pkthdr.pkt_flowsrc; in pktsched_alloc_fcentry() 511 fce->fce_flowid = m->m_pkthdr.pkt_flowid; in pktsched_alloc_fcentry() 514 sizeof(fce->fce_flowsrc_token)); in pktsched_alloc_fcentry() 516 sizeof(fce->fce_flowsrc_fidx)); in pktsched_alloc_fcentry() 518 if (fce->fce_flowsrc_type == FLOWSRC_CHANNEL) { in pktsched_alloc_fcentry() 519 fce->fce_flowsrc_fidx = m->m_pkthdr.pkt_mpriv_fidx; in pktsched_alloc_fcentry() [all …]
|
| H A D | pktsched_fq_codel.c | 1958 struct flowadv_fcentry *fce; in fq_if_add_fcentry() local 1967 STAILQ_FOREACH(fce, &fqs->fqs_fclist, fce_link) { in fq_if_add_fcentry() 1968 if ((uint8_t)fce->fce_flowsrc_type == flowsrc && in fq_if_add_fcentry() 1969 fce->fce_flowid == fq->fq_flowhash) { in fq_if_add_fcentry() 1975 fce = pktsched_alloc_fcentry(pkt, fqs->fqs_ifq->ifcq_ifp, M_WAITOK); in fq_if_add_fcentry() 1976 if (fce != NULL) { in fq_if_add_fcentry() 1978 STAILQ_INSERT_TAIL(&fqs->fqs_fclist, fce, fce_link); in fq_if_add_fcentry() 1983 fq->fq_sc_index, fce->fce_flowsrc_type, fq->fq_flowhash, in fq_if_add_fcentry() 1989 return (fce != NULL) ? TRUE : FALSE; in fq_if_add_fcentry() 1993 fq_if_remove_fcentry(fq_if_t *fqs, struct flowadv_fcentry *fce) in fq_if_remove_fcentry() argument [all …]
|
| /xnu-10002.41.9/bsd/skywalk/channel/ |
| H A D | channel_kern.c | 447 kern_channel_flowadv_clear(struct flowadv_fcentry *fce) in kern_channel_flowadv_clear() argument 449 const flowadv_token_t ch_token = fce->fce_flowsrc_token; in kern_channel_flowadv_clear() 450 const flowadv_token_t flow_token = fce->fce_flowid; in kern_channel_flowadv_clear() 451 const flowadv_idx_t flow_fidx = fce->fce_flowsrc_fidx; in kern_channel_flowadv_clear() 452 struct ifnet *ifp = fce->fce_ifp; in kern_channel_flowadv_clear() 506 kern_channel_flowadv_report_ce_event(struct flowadv_fcentry *fce, in kern_channel_flowadv_report_ce_event() argument 509 const flowadv_token_t ch_token = fce->fce_flowsrc_token; in kern_channel_flowadv_report_ce_event() 510 const flowadv_token_t flow_token = fce->fce_flowid; in kern_channel_flowadv_report_ce_event() 511 const flowadv_idx_t flow_fidx = fce->fce_flowsrc_fidx; in kern_channel_flowadv_report_ce_event() 512 struct ifnet *ifp = fce->fce_ifp; in kern_channel_flowadv_report_ce_event()
|