Searched refs:iostat_ctx (Results 1 – 2 of 2) sorted by relevance
212 static inline void __update_iostat_latency(struct bio_iostat_ctx *iostat_ctx, in __update_iostat_latency() argument216 unsigned int page_type = iostat_ctx->type; in __update_iostat_latency()217 struct f2fs_sb_info *sbi = iostat_ctx->sbi; in __update_iostat_latency()224 ts_diff = jiffies - iostat_ctx->submit_ts; in __update_iostat_latency()242 struct bio_iostat_ctx *iostat_ctx = bio->bi_private; in iostat_update_and_unbind_ctx() local248 bio->bi_private = iostat_ctx->sbi; in iostat_update_and_unbind_ctx()251 bio->bi_private = iostat_ctx->post_read_ctx; in iostat_update_and_unbind_ctx()254 __update_iostat_latency(iostat_ctx, lat_type); in iostat_update_and_unbind_ctx()255 mempool_free(iostat_ctx, bio_iostat_ctx_pool); in iostat_update_and_unbind_ctx()261 struct bio_iostat_ctx *iostat_ctx; in iostat_alloc_and_bind_ctx() local[all …]
48 struct bio_iostat_ctx *iostat_ctx = bio->bi_private; in iostat_update_submit_ctx() local50 iostat_ctx->submit_ts = jiffies; in iostat_update_submit_ctx()51 iostat_ctx->type = type; in iostat_update_submit_ctx()56 struct bio_iostat_ctx *iostat_ctx = bio->bi_private; in get_post_read_ctx() local58 return iostat_ctx->post_read_ctx; in get_post_read_ctx()