Lines Matching refs:io_time
265 bkey_fsck_err_on(a.io_time[i] > LRU_TIME_MAX, in bch2_alloc_v4_validate()
269 a.io_time[i], LRU_TIME_MAX); in bch2_alloc_v4_validate()
310 bkey_fsck_err_on(!a.io_time[READ] && in bch2_alloc_v4_validate()
331 a->io_time[0] = swab64(a->io_time[0]); in bch2_alloc_v4_swab()
332 a->io_time[1] = swab64(a->io_time[1]); in bch2_alloc_v4_swab()
365 prt_printf(out, "io_time[READ] %llu\n", a->io_time[READ]); in bch2_alloc_to_text()
366 prt_printf(out, "io_time[WRITE] %llu\n", a->io_time[WRITE]); in bch2_alloc_to_text()
403 .io_time[READ] = u.read_time, in __bch2_alloc_to_v4()
404 .io_time[WRITE] = u.write_time, in __bch2_alloc_to_v4()
862 new_a->io_time[READ] = bch2_current_io_time(c, READ); in bch2_trigger_alloc()
863 new_a->io_time[WRITE]= bch2_current_io_time(c, WRITE); in bch2_trigger_alloc()
886 !new_a->io_time[READ]) in bch2_trigger_alloc()
887 new_a->io_time[READ] = bch2_current_io_time(c, READ); in bch2_trigger_alloc()
1664 if (fsck_err_on(!a->io_time[READ], in bch2_check_alloc_to_lru_ref()
1676 a_mut->v.io_time[READ] = bch2_current_io_time(c, READ); in bch2_check_alloc_to_lru_ref()
1685 ret = bch2_lru_check_set(trans, alloc_k.k->p.inode, a->io_time[READ], in bch2_check_alloc_to_lru_ref()
2063 a->v.io_time[READ] = bch2_current_io_time(c, READ); in invalidate_one_bucket()
2064 a->v.io_time[WRITE] = bch2_current_io_time(c, WRITE); in invalidate_one_bucket()
2367 if (a->v.io_time[rw] == now) in __bch2_bucket_io_time_reset()
2370 a->v.io_time[rw] = now; in __bch2_bucket_io_time_reset()