Home
last modified time | relevance | path

Searched refs:to_do (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx.c158 u32 to_do) in gve_clean_xdp_done() argument
167 for (i = 0; i < to_do; i++) { in gve_clean_xdp_done()
198 u32 to_do, bool try_to_wake);
468 u32 to_do; in gve_maybe_stop_tx() local
480 to_do = nic_done - tx->done; in gve_maybe_stop_tx()
483 if (to_do + gve_tx_avail(tx) >= MAX_TX_DESC_NEEDED) { in gve_maybe_stop_tx()
484 if (to_do > 0) { in gve_maybe_stop_tx()
485 to_do = min_t(u32, to_do, NAPI_POLL_WEIGHT); in gve_maybe_stop_tx()
486 gve_clean_tx_done(priv, tx, to_do, false); in gve_maybe_stop_tx()
883 u32 to_do, bool try_to_wake) in gve_clean_tx_done() argument
[all …]
/linux/block/
H A Dblk-mq.c3428 int to_do; in blk_mq_alloc_rqs() local
3459 to_do = min(entries_per_page, depth - i); in blk_mq_alloc_rqs()
3460 left -= to_do * rq_size; in blk_mq_alloc_rqs()
3461 for (j = 0; j < to_do; j++) { in blk_mq_alloc_rqs()
/linux/drivers/net/ethernet/marvell/
H A Dsky2.c2703 static int sky2_status_intr(struct sky2_hw *hw, int to_do, u16 idx) in sky2_status_intr() argument
2709 if (to_do <= 0) in sky2_status_intr()
2758 if (++work_done >= to_do) in sky2_status_intr()