Home
last modified time | relevance | path

Searched refs:iostat_ctx (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/f2fs/
Diostat.c216 static inline void __update_iostat_latency(struct bio_iostat_ctx *iostat_ctx, in __update_iostat_latency() argument
220 unsigned int iotype = iostat_ctx->type; in __update_iostat_latency()
221 struct f2fs_sb_info *sbi = iostat_ctx->sbi; in __update_iostat_latency()
229 ts_diff = jiffies - iostat_ctx->submit_ts; in __update_iostat_latency()
252 struct bio_iostat_ctx *iostat_ctx = bio->bi_private; in iostat_update_and_unbind_ctx() local
256 bio->bi_private = iostat_ctx->post_read_ctx; in iostat_update_and_unbind_ctx()
258 bio->bi_private = iostat_ctx->sbi; in iostat_update_and_unbind_ctx()
259 __update_iostat_latency(iostat_ctx, rw, is_sync); in iostat_update_and_unbind_ctx()
260 mempool_free(iostat_ctx, bio_iostat_ctx_pool); in iostat_update_and_unbind_ctx()
266 struct bio_iostat_ctx *iostat_ctx; in iostat_alloc_and_bind_ctx() local
[all …]
Diostat.h47 struct bio_iostat_ctx *iostat_ctx = bio->bi_private; in iostat_update_submit_ctx() local
49 iostat_ctx->submit_ts = jiffies; in iostat_update_submit_ctx()
50 iostat_ctx->type = type; in iostat_update_submit_ctx()
55 struct bio_iostat_ctx *iostat_ctx = bio->bi_private; in get_post_read_ctx() local
57 return iostat_ctx->post_read_ctx; in get_post_read_ctx()