Lines Matching refs:WRITE

188 	       atomic_read(&shared->in_flight[WRITE]);  in dm_stat_in_flight()
226 atomic_read(&shared->in_flight[WRITE])); in dm_stats_cleanup()
333 atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0); in dm_stats_create()
533 in_flight_write = (unsigned)atomic_read(&shared->in_flight[WRITE]); in dm_stat_round()
537 p->io_ticks[WRITE] += difference; in dm_stat_round()
677 ((bi_rw == WRITE) == in dm_stats_account_io()
678 (READ_ONCE(last->last_rw) == WRITE)) in dm_stats_account_io()
713 shared->tmp.sectors[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
715 shared->tmp.ios[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
717 shared->tmp.merges[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
719 shared->tmp.ticks[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
721 shared->tmp.io_ticks[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
731 shared->tmp.sectors[WRITE] += READ_ONCE(p->sectors[WRITE]); in __dm_stat_init_temporary_percpu_totals()
733 shared->tmp.ios[WRITE] += READ_ONCE(p->ios[WRITE]); in __dm_stat_init_temporary_percpu_totals()
735 shared->tmp.merges[WRITE] += READ_ONCE(p->merges[WRITE]); in __dm_stat_init_temporary_percpu_totals()
737 shared->tmp.ticks[WRITE] += READ_ONCE(p->ticks[WRITE]); in __dm_stat_init_temporary_percpu_totals()
739 shared->tmp.io_ticks[WRITE] += READ_ONCE(p->io_ticks[WRITE]); in __dm_stat_init_temporary_percpu_totals()
764 p->sectors[WRITE] -= shared->tmp.sectors[WRITE]; in __dm_stat_clear()
766 p->ios[WRITE] -= shared->tmp.ios[WRITE]; in __dm_stat_clear()
768 p->merges[WRITE] -= shared->tmp.merges[WRITE]; in __dm_stat_clear()
770 p->ticks[WRITE] -= shared->tmp.ticks[WRITE]; in __dm_stat_clear()
772 p->io_ticks[WRITE] -= shared->tmp.io_ticks[WRITE]; in __dm_stat_clear()
882 shared->tmp.ios[WRITE], in dm_stats_print()
883 shared->tmp.merges[WRITE], in dm_stats_print()
884 shared->tmp.sectors[WRITE], in dm_stats_print()
885 dm_jiffies_to_msec64(s, shared->tmp.ticks[WRITE]), in dm_stats_print()
890 dm_jiffies_to_msec64(s, shared->tmp.io_ticks[WRITE])); in dm_stats_print()