Lines Matching refs:WRITE
316 bch2_dev_io_ref_stop(ca, WRITE); in __bch2_fs_read_only()
502 enumerated_ref_start(&ca->io_ref[WRITE]); in __bch2_fs_read_write()
612 bch2_io_clock_exit(&c->io_clock[WRITE]); in __bch2_fs_free()
1003 bch2_io_clock_init(&c->io_clock[WRITE]) ?: in bch2_fs_alloc()
1373 WARN_ON(!enumerated_ref_is_zero(&ca->io_ref[WRITE])); in bch2_dev_free()
1394 bch2_time_stats_quantiles_exit(&ca->io_latency[WRITE]); in bch2_dev_free()
1397 enumerated_ref_exit(&ca->io_ref[WRITE]); in bch2_dev_free()
1497 bch2_time_stats_quantiles_init(&ca->io_latency[WRITE]); in __bch2_dev_alloc()
1522 enumerated_ref_init(&ca->io_ref[WRITE], BCH_DEV_WRITE_REF_NR, NULL) || in __bch2_dev_alloc()
1587 BUG_ON(!enumerated_ref_is_zero(&ca->io_ref[WRITE])); in __bch2_dev_attach_bdev()
1700 bch2_dev_io_ref_stop(ca, WRITE); in __bch2_dev_read_only()
1719 if (enumerated_ref_is_zero(&ca->io_ref[WRITE])) in __bch2_dev_read_write()
1720 enumerated_ref_start(&ca->io_ref[WRITE]); in __bch2_dev_read_write()