Home
last modified time | relevance | path

Searched refs:to_do (Results 1 – 2 of 2) 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.c3540 int to_do; in blk_mq_alloc_rqs() local
3571 to_do = min(entries_per_page, depth - i); in blk_mq_alloc_rqs()
3572 left -= to_do * rq_size; in blk_mq_alloc_rqs()
3573 for (j = 0; j < to_do; j++) { in blk_mq_alloc_rqs()