Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-cache-background-tracker.c21 unsigned int max_work; member
33 struct background_tracker *btracker_create(unsigned int max_work) in btracker_create() argument
42 b->max_work = max_work; in btracker_create()
175 atomic_read(&b->pending_demotes) >= b->max_work; in max_work_reached()
H A Ddm-cache-background-tracker.h36 struct background_tracker *btracker_create(unsigned int max_work);
/openbmc/linux/drivers/net/ethernet/seeq/
H A Dether3.c688 int max_work = 14; in ether3_tx() local
720 } while (--max_work); in ether3_tx()
/openbmc/linux/net/ipv4/
H A Dfib_trie.c854 int max_work = MAX_WORK; in resize() local
868 while (should_inflate(tp, tn) && max_work) { in resize()
877 max_work--; in resize()
885 if (max_work != MAX_WORK) in resize()
891 while (should_halve(tp, tn) && max_work) { in resize()
900 max_work--; in resize()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c3298 int max_work = 0, work, i, num_evts; in be_poll() local
3314 max_work = max(work, max_work); in be_poll()
3320 if (max_work < budget) { in be_poll()
3321 napi_complete_done(napi, max_work); in be_poll()
3335 return max_work; in be_poll()