Searched refs:mb_per_tick (Results 1 – 1 of 1) sorted by relevance
28 static inline u64 mb_per_tick(int mbps) in mb_per_tick() function1521 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn()1524 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn()1538 atomic_long_set(&nullb->cur_bytes, mb_per_tick(nullb->dev->mbps)); in nullb_setup_bwtimer()