Lines Matching refs:WRITE

188 	       atomic_read(&shared->in_flight[WRITE]);  in dm_stat_in_flight()
225 atomic_read(&shared->in_flight[WRITE])); in dm_stats_cleanup()
315 atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0); in dm_stats_create()
502 in_flight_write = (unsigned)atomic_read(&shared->in_flight[WRITE]); in dm_stat_round()
506 p->io_ticks[WRITE] += difference; in dm_stat_round()
645 ((bi_rw == WRITE) == in dm_stats_account_io()
646 (READ_ONCE(last->last_rw) == WRITE)) in dm_stats_account_io()
681 shared->tmp.sectors[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
683 shared->tmp.ios[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
685 shared->tmp.merges[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
687 shared->tmp.ticks[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
689 shared->tmp.io_ticks[WRITE] = 0; in __dm_stat_init_temporary_percpu_totals()
699 shared->tmp.sectors[WRITE] += READ_ONCE(p->sectors[WRITE]); in __dm_stat_init_temporary_percpu_totals()
701 shared->tmp.ios[WRITE] += READ_ONCE(p->ios[WRITE]); in __dm_stat_init_temporary_percpu_totals()
703 shared->tmp.merges[WRITE] += READ_ONCE(p->merges[WRITE]); in __dm_stat_init_temporary_percpu_totals()
705 shared->tmp.ticks[WRITE] += READ_ONCE(p->ticks[WRITE]); in __dm_stat_init_temporary_percpu_totals()
707 shared->tmp.io_ticks[WRITE] += READ_ONCE(p->io_ticks[WRITE]); in __dm_stat_init_temporary_percpu_totals()
732 p->sectors[WRITE] -= shared->tmp.sectors[WRITE]; in __dm_stat_clear()
734 p->ios[WRITE] -= shared->tmp.ios[WRITE]; in __dm_stat_clear()
736 p->merges[WRITE] -= shared->tmp.merges[WRITE]; in __dm_stat_clear()
738 p->ticks[WRITE] -= shared->tmp.ticks[WRITE]; in __dm_stat_clear()
740 p->io_ticks[WRITE] -= shared->tmp.io_ticks[WRITE]; in __dm_stat_clear()
849 shared->tmp.ios[WRITE], in dm_stats_print()
850 shared->tmp.merges[WRITE], in dm_stats_print()
851 shared->tmp.sectors[WRITE], in dm_stats_print()
852 dm_jiffies_to_msec64(s, shared->tmp.ticks[WRITE]), in dm_stats_print()
857 dm_jiffies_to_msec64(s, shared->tmp.io_ticks[WRITE])); in dm_stats_print()