Home
last modified time | relevance | path

Searched refs:max_work (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/md/
Ddm-cache-background-tracker.c20 unsigned max_work; member
32 struct background_tracker *btracker_create(unsigned max_work) in btracker_create() argument
41 b->max_work = max_work; in btracker_create()
166 atomic_read(&b->pending_demotes) >= b->max_work; in max_work_reached()
Ddm-cache-background-tracker.h21 struct background_tracker *btracker_create(unsigned max_work);
/Linux-v5.10/net/ipv4/
Dfib_trie.c853 int max_work = MAX_WORK; in resize() local
867 while (should_inflate(tp, tn) && max_work) { in resize()
876 max_work--; in resize()
884 if (max_work != MAX_WORK) in resize()
890 while (should_halve(tp, tn) && max_work) { in resize()
899 max_work--; in resize()
/Linux-v5.10/drivers/net/ethernet/seeq/
Dether3.c688 int max_work = 14; in ether3_tx() local
720 } while (--max_work); in ether3_tx()
/Linux-v5.10/drivers/net/wan/lmc/
Dlmc_main.c1189 int max_work = LMC_RXDESCS; in lmc_interrupt() local
1342 if(max_work-- <= 0) in lmc_interrupt()
/Linux-v5.10/drivers/net/ethernet/emulex/benet/
Dbe_main.c3297 int max_work = 0, work, i, num_evts; in be_poll() local
3313 max_work = max(work, max_work); in be_poll()
3319 if (max_work < budget) { in be_poll()
3320 napi_complete_done(napi, max_work); in be_poll()
3334 return max_work; in be_poll()