Lines Matching refs:bis
484 struct blkg_iostat_set *bis = in blkcg_reset_stats() local
486 memset(bis, 0, sizeof(*bis)); in blkcg_reset_stats()
901 struct blkg_iostat_set *bis = &blkg->iostat; in blkcg_print_one_stat() local
918 seq = u64_stats_fetch_begin(&bis->sync); in blkcg_print_one_stat()
920 rbytes = bis->cur.bytes[BLKG_IOSTAT_READ]; in blkcg_print_one_stat()
921 wbytes = bis->cur.bytes[BLKG_IOSTAT_WRITE]; in blkcg_print_one_stat()
922 dbytes = bis->cur.bytes[BLKG_IOSTAT_DISCARD]; in blkcg_print_one_stat()
923 rios = bis->cur.ios[BLKG_IOSTAT_READ]; in blkcg_print_one_stat()
924 wios = bis->cur.ios[BLKG_IOSTAT_WRITE]; in blkcg_print_one_stat()
925 dios = bis->cur.ios[BLKG_IOSTAT_DISCARD]; in blkcg_print_one_stat()
926 } while (u64_stats_fetch_retry(&bis->sync, seq)); in blkcg_print_one_stat()
1923 struct blkg_iostat_set *bis; in blk_cgroup_bio_start() local
1927 bis = per_cpu_ptr(bio->bi_blkg->iostat_cpu, cpu); in blk_cgroup_bio_start()
1928 flags = u64_stats_update_begin_irqsave(&bis->sync); in blk_cgroup_bio_start()
1936 bis->cur.bytes[rwd] += bio->bi_iter.bi_size; in blk_cgroup_bio_start()
1938 bis->cur.ios[rwd]++; in blk_cgroup_bio_start()
1940 u64_stats_update_end_irqrestore(&bis->sync, flags); in blk_cgroup_bio_start()