Searched refs:enetc_bd_unused (Results 1 – 2 of 2) sorted by relevance
607 if (enetc_bd_unused(tx_ring) < tso_count_descs(skb)) { in enetc_start_xmit()621 if (enetc_bd_unused(tx_ring) < ENETC_TXBDS_NEEDED(count)) { in enetc_start_xmit()639 if (enetc_bd_unused(tx_ring) < ENETC_TXBDS_MAX_NEEDED) in enetc_start_xmit()906 (enetc_bd_unused(tx_ring) >= ENETC_TXBDS_MAX_NEEDED))) { in enetc_clean_tx_ring()1200 cleaned_cnt = enetc_bd_unused(rx_ring); in enetc_clean_rx_ring()1275 if (unlikely(enetc_bd_unused(tx_ring) < ENETC_TXBDS_NEEDED(num_tx_swbd))) in enetc_xdp_tx()1542 cleaned_cnt = enetc_bd_unused(rx_ring); in enetc_clean_rx_ring_xdp()1671 enetc_refill_rx_ring(rx_ring, enetc_bd_unused(rx_ring) - in enetc_clean_rx_ring_xdp()2198 enetc_refill_rx_ring(rx_ring, enetc_bd_unused(rx_ring)); in enetc_setup_rxbdr()
149 static inline int enetc_bd_unused(struct enetc_bdr *bdr) in enetc_bd_unused() function