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() function1483 if (atomic_long_read(&nullb->cur_bytes) == mb_per_tick(mbps)) in nullb_bwtimer_fn()1486 atomic_long_set(&nullb->cur_bytes, mb_per_tick(mbps)); in nullb_bwtimer_fn()1500 atomic_long_set(&nullb->cur_bytes, mb_per_tick(nullb->dev->mbps)); in nullb_setup_bwtimer()