Home
last modified time | relevance | path

Searched refs:io_clock (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dclock.h5 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 *);
Dclock.c25 void bch2_io_timer_add(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_add()
49 void bch2_io_timer_del(struct io_clock *clock, struct io_timer *timer) in bch2_io_timer_del()
92 void bch2_io_clock_schedule_timeout(struct io_clock *clock, u64 until) in bch2_io_clock_schedule_timeout()
106 void bch2_kthread_io_clock_wait(struct io_clock *clock, in bch2_kthread_io_clock_wait()
142 static struct io_timer *get_expired_timer(struct io_clock *clock, u64 now) in get_expired_timer()
159 void __bch2_increment_clock(struct io_clock *clock, u64 sectors) in __bch2_increment_clock()
170 void bch2_io_timers_to_text(struct printbuf *out, struct io_clock *clock) in bch2_io_timers_to_text()
188 void bch2_io_clock_exit(struct io_clock *clock) in bch2_io_clock_exit()
194 int bch2_io_clock_init(struct io_clock *clock) in bch2_io_clock_init()
Dmovinggc.c306 atomic64_read(&c->io_clock[WRITE].now)) << 9); in bch2_copygc_wait_to_text()
311 atomic64_read(&c->io_clock[WRITE].now) - in bch2_copygc_wait_to_text()
325 struct io_clock *clock = &c->io_clock[WRITE]; in bch2_copygc_thread()
Dclock_types.h29 struct io_clock { struct
Drebalance.c304 struct io_clock *clock = &c->io_clock[WRITE]; in rebalance_wait()
419 u64 now = atomic64_read(&c->io_clock[WRITE].now); in bch2_rebalance_status_to_text()
Dbcachefs.h902 struct io_clock io_clock[2]; member
1227 return max(1ULL, (u64) atomic64_read(&c->io_clock[rw].now) & LRU_TIME_MAX); in bch2_current_io_time()
Dsysfs.c386 bch2_io_timers_to_text(out, &c->io_clock[READ]); in SHOW()
389 bch2_io_timers_to_text(out, &c->io_clock[WRITE]); in SHOW()
Dsb-clean.c204 clock->time = cpu_to_le64(atomic64_read(&c->io_clock[i].now)); in bch2_journal_super_entries_add_common()
Dsuper.c561 bch2_io_clock_exit(&c->io_clock[WRITE]); in __bch2_fs_free()
562 bch2_io_clock_exit(&c->io_clock[READ]); in __bch2_fs_free()
913 bch2_io_clock_init(&c->io_clock[READ]) ?: in bch2_fs_alloc()
914 bch2_io_clock_init(&c->io_clock[WRITE]) ?: in bch2_fs_alloc()
Drecovery.c465 atomic64_set(&c->io_clock[clock->rw].now, le64_to_cpu(clock->time)); in journal_replay_entry_early()
Dbtree_gc.c885 a->v.io_time[READ] = max_t(u64, 1, atomic64_read(&c->io_clock[READ].now)); in bch2_alloc_write_key()
Dalloc_foreground.c572 c->copygc_wait - atomic64_read(&c->io_clock[WRITE].now)); in trace_bucket_alloc2()