| /freebsd-10-stable/sys/net/ |
| D | if_debug.c | 78 IF_DB_PRINTF("%p", if_snd.ifq_head); in if_show_ifnet() 79 IF_DB_PRINTF("%p", if_snd.ifq_tail); in if_show_ifnet() 80 IF_DB_PRINTF("%d", if_snd.ifq_len); in if_show_ifnet() 81 IF_DB_PRINTF("%d", if_snd.ifq_maxlen); in if_show_ifnet() 82 IF_DB_PRINTF("%d", if_snd.ifq_drops); in if_show_ifnet() 83 IF_DB_PRINTF("%p", if_snd.ifq_drv_head); in if_show_ifnet() 84 IF_DB_PRINTF("%p", if_snd.ifq_drv_tail); in if_show_ifnet() 85 IF_DB_PRINTF("%d", if_snd.ifq_drv_len); in if_show_ifnet() 86 IF_DB_PRINTF("%d", if_snd.ifq_drv_maxlen); in if_show_ifnet() 87 IF_DB_PRINTF("%d", if_snd.altq_type); in if_show_ifnet() [all …]
|
| D | if_var.h | 205 struct ifaltq if_snd; /* output queue (includes altq) */ member 582 IFQ_ENQUEUE(&(ifp)->if_snd, m, err); \ 666 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in drbr_enqueue() 667 IFQ_ENQUEUE(&ifp->if_snd, m, error); in drbr_enqueue() 686 if (ifp != NULL && ALTQ_IS_ENABLED(&ifp->if_snd)) { in drbr_putback() 691 IFQ_DRV_PREPEND(&ifp->if_snd, new); in drbr_putback() 703 if (ifp != NULL && ALTQ_IS_ENABLED(&ifp->if_snd)) { in drbr_peek() 710 IFQ_DEQUEUE(&ifp->if_snd, m); in drbr_peek() 723 if (ifp != NULL && ALTQ_IS_ENABLED(&ifp->if_snd)) in drbr_flush() 724 IFQ_PURGE(&ifp->if_snd); in drbr_flush() [all …]
|
| D | if_tun.c | 334 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in tunstart() 335 IFQ_LOCK(&ifp->if_snd); in tunstart() 336 IFQ_POLL_NOLOCK(&ifp->if_snd, m); in tunstart() 338 IFQ_UNLOCK(&ifp->if_snd); in tunstart() 341 IFQ_UNLOCK(&ifp->if_snd); in tunstart() 385 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in tuncreate() 386 ifp->if_snd.ifq_drv_maxlen = 0; in tuncreate() 387 IFQ_SET_READY(&ifp->if_snd); in tuncreate() 458 IFQ_PURGE(&ifp->if_snd); in tunclose() 758 if (!IFQ_IS_EMPTY(&TUN2IFP(tp)->if_snd)) { in tunioctl() [all …]
|
| D | if_mib.c | 106 ifmd.ifmd_snd_len = ifp->if_snd.ifq_len; in sysctl_ifdata() 107 ifmd.ifmd_snd_maxlen = ifp->if_snd.ifq_maxlen; in sysctl_ifdata() 108 ifmd.ifmd_snd_drops = ifp->if_snd.ifq_drops; in sysctl_ifdata() 129 ifp->if_snd.ifq_maxlen = ifmd.ifmd_snd_maxlen; in sysctl_ifdata() 130 ifp->if_snd.ifq_drops = ifmd.ifmd_snd_drops; in sysctl_ifdata()
|
| D | if_tap.c | 451 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in tapcreate() 533 IF_DRAIN(&ifp->if_snd); in tapclose() 683 IF_DEQUEUE(&ifp->if_snd, m); in tapifstart() 697 if (!IFQ_IS_EMPTY(&ifp->if_snd)) { in tapifstart() 783 if (!IFQ_IS_EMPTY(&ifp->if_snd)) { in tapioctl() 786 IFQ_LOCK(&ifp->if_snd); in tapioctl() 787 IFQ_POLL_NOLOCK(&ifp->if_snd, mb); in tapioctl() 791 IFQ_UNLOCK(&ifp->if_snd); in tapioctl() 883 IF_DEQUEUE(&ifp->if_snd, m); in tapread() 1004 IFQ_LOCK(&ifp->if_snd); in tappoll() [all …]
|
| D | if_epair.c | 293 IFQ_LOCK(&ifp->if_snd); in epair_nh_drainedcpu() 294 if (IFQ_IS_EMPTY(&ifp->if_snd)) { in epair_nh_drainedcpu() 307 IFQ_UNLOCK(&ifp->if_snd); in epair_nh_drainedcpu() 410 IFQ_DEQUEUE(&ifp->if_snd, m); in epair_start_locked() 516 IF_LOCK(&ifp->if_snd); in epair_transmit_locked() 517 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in epair_transmit_locked() 518 ALTQ_ENQUEUE(&ifp->if_snd, m, NULL, error); in epair_transmit_locked() 520 ifp->if_snd.ifq_drops++; in epair_transmit_locked() 521 IF_UNLOCK(&ifp->if_snd); in epair_transmit_locked() 534 IF_UNLOCK(&ifp->if_snd); in epair_transmit_locked() [all …]
|
| D | if_edsc.c | 144 ifp->if_snd.ifq_maxlen = ifqmaxlen; in edsc_clone_create() 281 IFQ_DEQUEUE(&ifp->if_snd, m); in edsc_start()
|
| /freebsd-10-stable/sys/netpfil/pf/ |
| D | if_pflog.c | 125 ifp->if_snd.ifq_maxlen = ifqmaxlen; in pflog_clone_create() 159 IF_LOCK(&ifp->if_snd); in pflogstart() 160 _IF_DROP(&ifp->if_snd); in pflogstart() 161 _IF_DEQUEUE(&ifp->if_snd, m); in pflogstart() 162 IF_UNLOCK(&ifp->if_snd); in pflogstart()
|
| /freebsd-10-stable/sys/netgraph/ |
| D | ng_iface.c | 404 if (ALTQ_IS_ENABLED(&ifp->if_snd)) { in ng_iface_output() 407 IFQ_LOCK(&ifp->if_snd); in ng_iface_output() 408 IFQ_INC_DROPS(&ifp->if_snd); in ng_iface_output() 409 IFQ_UNLOCK(&ifp->if_snd); in ng_iface_output() 430 KASSERT(ALTQ_IS_ENABLED(&ifp->if_snd), ("%s without ALTQ", __func__)); in ng_iface_start() 433 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in ng_iface_start() 585 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in ng_iface_constructor() 586 ifp->if_snd.ifq_drv_maxlen = ifqmaxlen; in ng_iface_constructor() 587 IFQ_SET_READY(&ifp->if_snd); in ng_iface_constructor()
|
| /freebsd-10-stable/sys/dev/sn/ |
| D | if_sn.c | 209 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in sn_attach() 210 ifp->if_snd.ifq_maxlen = ifqmaxlen; in sn_attach() 211 IFQ_SET_READY(&ifp->if_snd); in sn_attach() 393 m = ifp->if_snd.ifq_head; in snstart_locked() 412 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in snstart_locked() 505 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in snstart_locked() 607 m = ifp->if_snd.ifq_head; in snresume() 628 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in snresume() 704 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in snresume()
|
| /freebsd-10-stable/sys/dev/netfpga10g/nf10bmac/ |
| D | if_nf10bmac.c | 301 for (count = 0; !IFQ_DRV_IS_EMPTY(&ifp->if_snd) && in nf10bmac_start_locked() 305 IFQ_DRV_DEQUEUE(&ifp->if_snd, m); in nf10bmac_start_locked() 591 if (!IFQ_DRV_IS_EMPTY(&sc->nf10bmac_ifp->if_snd)) in nf10bmac_watchdog() 646 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in nf10bmac_intr() 813 IFQ_SET_MAXLEN(&ifp->if_snd, NF10BMAC_MAX_PKTS - 1); in nf10bmac_attach() 814 ifp->if_snd.ifq_drv_maxlen = NF10BMAC_MAX_PKTS - 1; in nf10bmac_attach() 815 IFQ_SET_READY(&ifp->if_snd); in nf10bmac_attach()
|
| /freebsd-10-stable/sys/dev/wtap/ |
| D | if_wtap.c | 396 if(IFQ_IS_EMPTY(&ifp->if_snd)){ in wtap_start() 401 IFQ_IS_EMPTY(&global_mscs[1]->ifp->if_snd)); in wtap_start() 403 IFQ_IS_EMPTY(&global_mscs[0]->ifp->if_snd)); in wtap_start() 407 IFQ_DEQUEUE(&ifp->if_snd, m); in wtap_start() 797 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in wtap_attach() 798 ifp->if_snd.ifq_drv_maxlen = ifqmaxlen; in wtap_attach() 799 IFQ_SET_READY(&ifp->if_snd); in wtap_attach()
|
| /freebsd-10-stable/sys/powerpc/pseries/ |
| D | phyp_llan.c | 222 IFQ_SET_MAXLEN(&sc->ifp->if_snd, LLAN_MAX_TX_PACKETS); in llan_attach() 223 sc->ifp->if_snd.ifq_drv_maxlen = LLAN_MAX_TX_PACKETS; in llan_attach() 224 IFQ_SET_READY(&sc->ifp->if_snd); in llan_attach() 415 while (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) { in llan_start_locked() 416 IFQ_DRV_DEQUEUE(&ifp->if_snd, mb_head); in llan_start_locked()
|
| /freebsd-10-stable/sys/dev/firewire/ |
| D | if_fwe.c | 218 ifp->if_snd.ifq_maxlen = TX_MAX_QUEUE; in fwe_attach() 517 if (ifp->if_snd.ifq_head != NULL) in fwe_output_callback() 536 IF_DEQUEUE(&ifp->if_snd, m); in fwe_start() 553 if (ifp->if_snd.ifq_len != 0) in fwe_start() 581 (ifp->if_snd.ifq_head != NULL)) { in fwe_as_output() 594 IF_DEQUEUE(&ifp->if_snd, m); in fwe_as_output()
|
| D | if_fwip.c | 203 ifp->if_snd.ifq_maxlen = TX_MAX_QUEUE; in fwip_attach() 532 if (ifp->if_snd.ifq_head != NULL) { in fwip_output_callback() 552 IF_DEQUEUE(&ifp->if_snd, m); in fwip_start() 569 if (ifp->if_snd.ifq_len != 0) in fwip_start() 598 (ifp->if_snd.ifq_head != NULL)) { in fwip_async_output() 611 IF_DEQUEUE(&ifp->if_snd, m); in fwip_async_output() 726 IF_PREPEND(&ifp->if_snd, m); in fwip_async_output()
|
| /freebsd-10-stable/sys/dev/ep/ |
| D | if_ep.c | 308 IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); in ep_attach() 309 ifp->if_snd.ifq_drv_maxlen = ifqmaxlen; in ep_attach() 310 IFQ_SET_READY(&ifp->if_snd); in ep_attach() 494 IFQ_DRV_DEQUEUE(&ifp->if_snd, m0); in epstart_locked() 522 IFQ_DRV_PREPEND(&ifp->if_snd, m0); in epstart_locked() 577 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in epstart_locked() 691 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in ep_intr_locked()
|
| /freebsd-10-stable/sys/dev/bm/ |
| D | if_bm.c | 475 IFQ_SET_MAXLEN(&ifp->if_snd, BM_MAX_TX_PACKETS); in bm_attach() 476 ifp->if_snd.ifq_drv_maxlen = BM_MAX_TX_PACKETS; in bm_attach() 477 IFQ_SET_READY(&ifp->if_snd); in bm_attach() 556 IF_ENQUEUE(&ifp->if_snd, m); in bm_dummypacket() 693 !IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in bm_txintr() 731 while (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) { in bm_start_locked() 732 IFQ_DRV_DEQUEUE(&ifp->if_snd, mb_head); in bm_start_locked() 742 IFQ_DRV_PREPEND(&ifp->if_snd, mb_head); in bm_start_locked()
|
| /freebsd-10-stable/sys/powerpc/ps3/ |
| D | if_glc.c | 276 IFQ_SET_MAXLEN(&sc->sc_ifp->if_snd, GLC_MAX_TX_PACKETS); in glc_attach() 277 sc->sc_ifp->if_snd.ifq_drv_maxlen = GLC_MAX_TX_PACKETS; in glc_attach() 278 IFQ_SET_READY(&sc->sc_ifp->if_snd); in glc_attach() 417 while (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) { in glc_start_locked() 418 IFQ_DRV_DEQUEUE(&ifp->if_snd, mb_head); in glc_start_locked() 427 IFQ_DRV_PREPEND(&ifp->if_snd, mb_head); in glc_start_locked() 848 !IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in glc_txintr()
|
| /freebsd-10-stable/sys/dev/ath/ |
| D | if_ath_tx_edma.c | 581 IF_LOCK(&ifp->if_snd); in ath_edma_tx_drain() 583 IF_UNLOCK(&ifp->if_snd); in ath_edma_tx_drain() 837 IF_LOCK(&sc->sc_ifp->if_snd); in ath_edma_tx_processq() 839 IF_UNLOCK(&sc->sc_ifp->if_snd); in ath_edma_tx_processq()
|
| /freebsd-10-stable/sys/arm/at91/ |
| D | if_macb.c | 534 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in macb_watchdog() 855 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in macb_intr() 968 while (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) { in macbstart_locked() 970 IF_DEQUEUE(&ifp->if_snd, m0); in macbstart_locked() 988 IF_PREPEND(&ifp->if_snd, m0); in macbstart_locked() 995 if (IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in macbstart_locked() 1378 IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN); in macb_attach() 1379 ifp->if_snd.ifq_drv_maxlen = IFQ_MAXLEN; in macb_attach() 1380 IFQ_SET_READY(&ifp->if_snd); in macb_attach()
|
| /freebsd-10-stable/sys/dev/pdq/ |
| D | pdq_ifsubr.c | 139 IFQ_DEQUEUE(&ifp->if_snd, m); in pdq_watchdog() 166 IF_DEQUEUE(&ifp->if_snd, m); in pdq_ifstart_locked() 203 IF_PREPEND(&ifp->if_snd, m); in pdq_ifstart_locked() 271 if (IFQ_IS_EMPTY(&PDQ_IFNET(sc)->if_snd) == 0) { in pdq_os_restart_transmitter() 474 ifp->if_snd.ifq_maxlen = ifqmaxlen; in pdq_ifattach()
|
| /freebsd-10-stable/sys/mips/cavium/octe/ |
| D | octe.c | 198 IFQ_SET_MAXLEN(&ifp->if_snd, MAX_OUT_QUEUE_DEPTH); in octe_attach() 199 ifp->if_snd.ifq_drv_maxlen = MAX_OUT_QUEUE_DEPTH; in octe_attach() 200 IFQ_SET_READY(&ifp->if_snd); in octe_attach()
|
| /freebsd-10-stable/sys/mips/cavium/ |
| D | if_octm.c | 245 IFQ_SET_MAXLEN(&ifp->if_snd, CVMX_MGMT_PORT_NUM_TX_BUFFERS); in octm_attach() 246 ifp->if_snd.ifq_drv_maxlen = CVMX_MGMT_PORT_NUM_TX_BUFFERS; in octm_attach() 247 IFQ_SET_READY(&ifp->if_snd); in octm_attach()
|
| /freebsd-10-stable/sys/dev/nve/ |
| D | if_nve.c | 536 IFQ_SET_MAXLEN(&ifp->if_snd, TX_RING_SIZE - 1); in nve_attach() 537 ifp->if_snd.ifq_drv_maxlen = TX_RING_SIZE - 1; in nve_attach() 538 IFQ_SET_READY(&ifp->if_snd); in nve_attach() 881 IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in nve_ifstart_locked() 890 IFQ_DRV_DEQUEUE(&ifp->if_snd, m0); in nve_ifstart_locked() 969 IFQ_DRV_PREPEND(&ifp->if_snd, buf->mbuf); in nve_ifstart_locked() 1090 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in nve_intr() 1229 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in nve_tick() 1338 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) in nve_watchdog() 1571 if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd) && sc->pending_txs < TX_RING_SIZE) in nve_ospackettx()
|
| /freebsd-10-stable/sys/contrib/altq/altq/ |
| D | altq_cbq.c | 263 error = altq_attach(&ifp->if_snd, ALTQT_CBQ, a->altq_disc, in cbq_pfattach() 277 if (!ALTQ_IS_READY(&ifp->if_snd)) in cbq_add_altq() 286 cbqp->ifnp.ifq_ = &ifp->if_snd; /* keep the ifq */ in cbq_add_altq() 924 if (!ALTQ_IS_READY(&ifp->if_snd)) 935 new_cbqp->ifnp.ifq_ = &ifp->if_snd; /* keep the ifq */ 940 error = altq_attach(&ifp->if_snd, ALTQT_CBQ, new_cbqp,
|