Searched refs:io_clock (Results 1 – 12 of 12) sorted by relevance
| /linux-6.15/fs/bcachefs/ |
| H A D | clock.h | 5 void bch2_io_timer_add(struct io_clock *, struct io_timer *); 6 void bch2_io_timer_del(struct io_clock *, struct io_timer *); 7 void bch2_kthread_io_clock_wait(struct io_clock *, u64, unsigned long); 9 void __bch2_increment_clock(struct io_clock *, u64); 14 struct io_clock *clock = &c->io_clock[rw]; in bch2_increment_clock() 21 void bch2_io_clock_schedule_timeout(struct io_clock *, u64); 23 void bch2_io_timers_to_text(struct printbuf *, struct io_clock *); 25 void bch2_io_clock_exit(struct io_clock *); 26 int bch2_io_clock_init(struct io_clock *);
|
| H A D | clock.c | 22 void bch2_io_timer_add(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_add() 41 void bch2_io_timer_del(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_del() 79 void bch2_io_clock_schedule_timeout(struct io_clock *clock, u64 until) in bch2_io_clock_schedule_timeout() 93 void bch2_kthread_io_clock_wait(struct io_clock *clock, in bch2_kthread_io_clock_wait() 129 static struct io_timer *get_expired_timer(struct io_clock *clock, u64 now) in get_expired_timer() 142 void __bch2_increment_clock(struct io_clock *clock, u64 sectors) in __bch2_increment_clock() 153 void bch2_io_timers_to_text(struct printbuf *out, struct io_clock *clock) in bch2_io_timers_to_text() 171 void bch2_io_clock_exit(struct io_clock *clock) in bch2_io_clock_exit() 177 int bch2_io_clock_init(struct io_clock *clock) in bch2_io_clock_init()
|
| H A D | movinggc.c | 312 atomic64_read(&c->io_clock[WRITE].now)) << 9); in bch2_copygc_wait_to_text() 317 atomic64_read(&c->io_clock[WRITE].now) - in bch2_copygc_wait_to_text() 342 struct io_clock *clock = &c->io_clock[WRITE]; in bch2_copygc_thread()
|
| H A D | clock_types.h | 29 struct io_clock { struct
|
| H A D | rebalance.c | 491 struct io_clock *clock = &c->io_clock[WRITE]; in rebalance_wait() 625 u64 now = atomic64_read(&c->io_clock[WRITE].now); in bch2_rebalance_status_to_text()
|
| H A D | bcachefs.h | 915 struct io_clock io_clock[2]; member 1232 return max(1ULL, (u64) atomic64_read(&c->io_clock[rw].now) & LRU_TIME_MAX); in bch2_current_io_time()
|
| H A D | sb-clean.c | 208 clock->time = cpu_to_le64(atomic64_read(&c->io_clock[i].now)); in bch2_journal_super_entries_add_common()
|
| H A D | sysfs.c | 364 bch2_io_timers_to_text(out, &c->io_clock[READ]); in SHOW() 367 bch2_io_timers_to_text(out, &c->io_clock[WRITE]); in SHOW()
|
| H A D | super.c | 567 bch2_io_clock_exit(&c->io_clock[WRITE]); in __bch2_fs_free() 568 bch2_io_clock_exit(&c->io_clock[READ]); in __bch2_fs_free() 910 bch2_io_clock_init(&c->io_clock[READ]) ?: in bch2_fs_alloc() 911 bch2_io_clock_init(&c->io_clock[WRITE]) ?: in bch2_fs_alloc()
|
| H A D | recovery.c | 523 atomic64_set(&c->io_clock[clock->rw].now, le64_to_cpu(clock->time)); in journal_replay_entry_early()
|
| H A D | btree_gc.c | 910 a->v.io_time[READ] = max_t(u64, 1, atomic64_read(&c->io_clock[READ].now)); in bch2_alloc_write_key()
|
| H A D | alloc_foreground.c | 476 c->copygc_wait - atomic64_read(&c->io_clock[WRITE].now)); in trace_bucket_alloc2()
|