| /f-stack/freebsd/net/ |
| H A D | if_debug.c | 92 IF_DB_PRINTF("%p", if_snd.ifq_head); in if_show_ifnet() 93 IF_DB_PRINTF("%p", if_snd.ifq_tail); in if_show_ifnet() 94 IF_DB_PRINTF("%d", if_snd.ifq_len); in if_show_ifnet() 95 IF_DB_PRINTF("%d", if_snd.ifq_maxlen); in if_show_ifnet() 96 IF_DB_PRINTF("%p", if_snd.ifq_drv_head); in if_show_ifnet() 97 IF_DB_PRINTF("%p", if_snd.ifq_drv_tail); in if_show_ifnet() 98 IF_DB_PRINTF("%d", if_snd.ifq_drv_len); in if_show_ifnet() 99 IF_DB_PRINTF("%d", if_snd.ifq_drv_maxlen); in if_show_ifnet() 100 IF_DB_PRINTF("%d", if_snd.altq_type); in if_show_ifnet() 101 IF_DB_PRINTF("%x", if_snd.altq_flags); in if_show_ifnet()
|
| H A D | ifq.h | 370 IFQ_DEQUEUE(&ifp->if_snd, m); in drbr_peek() 384 IFQ_PURGE(&ifp->if_snd); in drbr_flush() 405 IFQ_DEQUEUE(&ifp->if_snd, m); in drbr_dequeue() 430 IFQ_LOCK(&ifp->if_snd); in drbr_dequeue_cond() 431 IFQ_POLL_NOLOCK(&ifp->if_snd, m); in drbr_dequeue_cond() 433 IFQ_UNLOCK(&ifp->if_snd); in drbr_dequeue_cond() 437 IFQ_UNLOCK(&ifp->if_snd); in drbr_dequeue_cond() 452 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in drbr_empty() 462 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in drbr_needs_enqueue() 472 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in drbr_inuse() [all …]
|
| H A D | if_tuntap.c | 843 IFQ_LOCK(&ifp->if_snd); in tunstart() 846 IFQ_UNLOCK(&ifp->if_snd); in tunstart() 849 IFQ_UNLOCK(&ifp->if_snd); in tunstart() 892 IF_DEQUEUE(&ifp->if_snd, m); in tunstart_l2() 974 ifp->if_snd.ifq_drv_maxlen = 0; in tuncreate() 975 IFQ_SET_READY(&ifp->if_snd); in tuncreate() 1145 IF_DRAIN(&ifp->if_snd); in tundtor() 1147 IFQ_PURGE(&ifp->if_snd); in tundtor() 1691 IFQ_DEQUEUE(&ifp->if_snd, m); in tunread() 1917 IFQ_LOCK(&ifp->if_snd); in tunpoll() [all …]
|
| H A D | if_epair.c | 304 IFQ_LOCK(&ifp->if_snd); in epair_nh_drainedcpu() 305 if (IFQ_IS_EMPTY(&ifp->if_snd)) { in epair_nh_drainedcpu() 318 IFQ_UNLOCK(&ifp->if_snd); in epair_nh_drainedcpu() 421 IFQ_DEQUEUE(&ifp->if_snd, m); in epair_start_locked() 527 IF_LOCK(&ifp->if_snd); in epair_transmit_locked() 528 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in epair_transmit_locked() 529 ALTQ_ENQUEUE(&ifp->if_snd, m, NULL, error); in epair_transmit_locked() 532 IF_UNLOCK(&ifp->if_snd); in epair_transmit_locked() 545 IF_UNLOCK(&ifp->if_snd); in epair_transmit_locked() 554 IFQ_ENQUEUE(&ifp->if_snd, m, error); in epair_transmit_locked()
|
| H A D | if_mib.c | 111 ifmd.ifmd_snd_len = ifp->if_snd.ifq_len; in sysctl_ifdata() 112 ifmd.ifmd_snd_maxlen = ifp->if_snd.ifq_maxlen; in sysctl_ifdata()
|
| H A D | if_edsc.c | 149 ifp->if_snd.ifq_maxlen = ifqmaxlen; in edsc_clone_create() 290 IFQ_DEQUEUE(&ifp->if_snd, m); in edsc_start()
|
| H A D | if_disc.c | 114 ifp->if_snd.ifq_maxlen = 20; in disc_clone_create()
|
| H A D | if.c | 644 ifq_init(&ifp->if_snd, ifp); in if_alloc_domain() 692 ifq_delete(&ifp->if_snd); in if_free_internal() 1220 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in if_detach_internal() 1221 altq_disable(&ifp->if_snd); in if_detach_internal() 1222 if (ALTQ_IS_ATTACHED(&ifp->if_snd)) in if_detach_internal() 1223 altq_detach(&ifp->if_snd); in if_detach_internal() 2335 ifq = &ifp->if_snd; in if_qflush() 4351 return IFQ_DRV_IS_EMPTY(&((struct ifnet *)ifp)->if_snd); in if_sendq_empty() 4369 IFQ_SET_READY(&((struct ifnet *)ifp)->if_snd); in if_setsendqready() 4400 IFQ_DRV_DEQUEUE(&((struct ifnet *)ifp)->if_snd, m); in if_dequeue() [all …]
|
| H A D | if_loop.c | 137 ifp->if_snd.ifq_maxlen = ifqmaxlen; in lo_clone_create()
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | if_pflog.c | 132 ifp->if_snd.ifq_maxlen = ifqmaxlen; in pflog_clone_create() 166 IF_LOCK(&ifp->if_snd); in pflogstart() 167 _IF_DEQUEUE(&ifp->if_snd, m); in pflogstart() 168 IF_UNLOCK(&ifp->if_snd); in pflogstart()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_iface.c | 379 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in ng_iface_output() 402 KASSERT(ALTQ_IS_ENABLED(&ifp->if_snd), ("%s without ALTQ", __func__)); in ng_iface_start() 405 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in ng_iface_start() 557 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in ng_iface_constructor() 558 ifp->if_snd.ifq_drv_maxlen = ifqmaxlen; in ng_iface_constructor() 559 IFQ_SET_READY(&ifp->if_snd); in ng_iface_constructor()
|
| H A D | ng_source.c | 634 if (ifp->if_snd.ifq_maxlen < NG_SOURCE_DRIVER_IFQ_MAXLEN) { in ng_source_store_output_ifp() 636 ifp->if_snd.ifq_maxlen, NG_SOURCE_DRIVER_IFQ_MAXLEN); in ng_source_store_output_ifp() 637 ifp->if_snd.ifq_maxlen = NG_SOURCE_DRIVER_IFQ_MAXLEN; in ng_source_store_output_ifp() 741 ifq = (struct ifqueue *)&sc->output_ifp->if_snd; in ng_source_intr()
|
| H A D | ng_eiface.c | 234 IF_DEQUEUE(&ifp->if_snd, m); in ng_eiface_start2() 413 ifp->if_snd.ifq_maxlen = ifqmaxlen; in ng_eiface_constructor()
|
| /f-stack/freebsd/mips/cavium/octe/ |
| H A D | octe.c | 199 IFQ_SET_MAXLEN(&ifp->if_snd, MAX_OUT_QUEUE_DEPTH); in octe_attach() 200 ifp->if_snd.ifq_drv_maxlen = MAX_OUT_QUEUE_DEPTH; in octe_attach() 201 IFQ_SET_READY(&ifp->if_snd); in octe_attach()
|
| /f-stack/freebsd/mips/cavium/ |
| H A D | if_octm.c | 246 IFQ_SET_MAXLEN(&ifp->if_snd, CVMX_MGMT_PORT_NUM_TX_BUFFERS); in octm_attach() 247 ifp->if_snd.ifq_drv_maxlen = CVMX_MGMT_PORT_NUM_TX_BUFFERS; in octm_attach() 248 IFQ_SET_READY(&ifp->if_snd); in octm_attach()
|
| /f-stack/freebsd/net/altq/ |
| H A D | altq_codel.c | 87 return (altq_attach(&ifp->if_snd, ALTQT_CODEL, a->altq_disc, in codel_pfattach() 99 if (!ALTQ_IS_READY(&ifp->if_snd)) in codel_add_altq() 108 cif->cif_ifq = &ifp->if_snd; in codel_add_altq()
|
| H A D | altq_cbq.c | 218 error = altq_attach(&ifp->if_snd, ALTQT_CBQ, a->altq_disc, in cbq_pfattach() 231 if (!ALTQ_IS_READY(&ifp->if_snd)) in cbq_add_altq() 240 cbqp->ifnp.ifq_ = &ifp->if_snd; /* keep the ifq */ in cbq_add_altq()
|
| H A D | altq_subr.c | 131 if (type != ALTQT_NONE && ifp->if_snd.altq_type == type) 132 return (ifp->if_snd.altq_disc); 424 if (!TBR_IS_ENABLED(&ifp->if_snd)) 427 if (!IFQ_IS_EMPTY(&ifp->if_snd) && 503 if (a->altq_disc == NULL || a->altq_disc != ifp->if_snd.altq_disc) in altq_pfdetach() 508 if (ALTQ_IS_ENABLED(&ifp->if_snd)) in altq_pfdetach() 509 error = altq_disable(&ifp->if_snd); in altq_pfdetach() 511 error = altq_detach(&ifp->if_snd); in altq_pfdetach()
|
| H A D | altq_priq.c | 89 error = altq_attach(&ifp->if_snd, ALTQT_PRIQ, a->altq_disc, in priq_pfattach() 102 if (!ALTQ_IS_READY(&ifp->if_snd)) in priq_add_altq() 110 pif->pif_ifq = &ifp->if_snd; in priq_add_altq()
|
| H A D | altq_fairq.c | 144 error = altq_attach(&ifp->if_snd, ALTQT_FAIRQ, a->altq_disc, in fairq_pfattach() 157 if (!ALTQ_IS_READY(&ifp->if_snd)) in fairq_add_altq() 164 pif->pif_ifq = &ifp->if_snd; in fairq_add_altq()
|
| /f-stack/freebsd/mips/atheros/ar531x/ |
| H A D | if_are.c | 305 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in are_attach() 306 ifp->if_snd.ifq_maxlen = ifqmaxlen; in are_attach() 307 IFQ_SET_READY(&ifp->if_snd); in are_attach() 866 for (enq = 0; !IFQ_DRV_IS_EMPTY(&ifp->if_snd) && in are_start_locked() 868 IFQ_DRV_DEQUEUE(&ifp->if_snd, m_head); in are_start_locked() 879 IFQ_DRV_PREPEND(&ifp->if_snd, m_head); in are_start_locked()
|
| /f-stack/freebsd/arm/allwinner/ |
| H A D | if_emac.c | 474 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in emac_watchdog() 630 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in emac_start_locked() 728 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in emac_intr() 969 IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN); in emac_attach()
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | if_arge.c | 867 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in arge_attach() 868 ifp->if_snd.ifq_maxlen = ifqmaxlen; in arge_attach() 869 IFQ_SET_READY(&ifp->if_snd); in arge_attach() 1732 for (enq = 0; !IFQ_DRV_IS_EMPTY(&ifp->if_snd) && in arge_start_locked() 1734 IFQ_DRV_DEQUEUE(&ifp->if_snd, m_head); in arge_start_locked() 1744 IFQ_DRV_PREPEND(&ifp->if_snd, m_head); in arge_start_locked() 2679 if (!IFQ_IS_EMPTY(&ifp->if_snd)) in arge_intr()
|
| /f-stack/freebsd/mips/nlm/dev/net/ |
| H A D | xlpge.c | 1062 ifp->if_snd.ifq_drv_maxlen = NLM_XLPGE_TXQ_SIZE; /* TODO: make this a sysint */ in nlm_xlpge_ifinit() 1063 IFQ_SET_MAXLEN(&ifp->if_snd, ifp->if_snd.ifq_drv_maxlen); in nlm_xlpge_ifinit() 1064 IFQ_SET_READY(&ifp->if_snd); in nlm_xlpge_ifinit()
|
| /f-stack/freebsd/arm/ti/cpsw/ |
| H A D | if_cpsw.c | 1049 ifp->if_snd.ifq_drv_maxlen = sc->swsc->tx.queue_slots; in cpswp_attach() 1050 IFQ_SET_MAXLEN(&ifp->if_snd, ifp->if_snd.ifq_drv_maxlen); in cpswp_attach() 1051 IFQ_SET_READY(&ifp->if_snd); in cpswp_attach() 1866 IF_DEQUEUE(&sc->ifp->if_snd, m0); in cpswp_tx_enqueue() 1892 IF_PREPEND(&sc->ifp->if_snd, m0); in cpswp_tx_enqueue()
|