Home
last modified time | relevance | path

Searched refs:bch_ratelimit (Results 1 – 7 of 7) sorted by relevance

/linux/fs/bcachefs/
H A Dmove.h19 struct bch_ratelimit *rate;
82 struct bch_ratelimit *, struct bch_move_stats *,
133 struct bch_ratelimit *,
H A Dutil.h230 struct bch_ratelimit { struct
242 static inline void bch2_ratelimit_reset(struct bch_ratelimit *d) in bch2_ratelimit_reset() argument
247 u64 bch2_ratelimit_delay(struct bch_ratelimit *);
248 void bch2_ratelimit_increment(struct bch_ratelimit *, u64);
251 struct bch_ratelimit rate;
H A Dutil.c496 u64 bch2_ratelimit_delay(struct bch_ratelimit *d) in bch2_ratelimit_delay()
510 void bch2_ratelimit_increment(struct bch_ratelimit *d, u64 done) in bch2_ratelimit_increment()
H A Dmove.c205 struct bch_ratelimit *rate, in bch2_moving_ctxt_init()
631 struct bch_ratelimit *rate, in bch2_move_data()
/linux/drivers/md/bcache/
H A Dutil.h354 struct bch_ratelimit { struct
365 static inline void bch_ratelimit_reset(struct bch_ratelimit *d) in bch_ratelimit_reset() argument
370 uint64_t bch_next_delay(struct bch_ratelimit *d, uint64_t done);
H A Dutil.c201 uint64_t bch_next_delay(struct bch_ratelimit *d, uint64_t done) in bch_next_delay()
H A Dbcache.h339 struct bch_ratelimit writeback_rate;