Home
last modified time | relevance | path

Searched refs:md_io_acct (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/md/
Dmd.h687 struct md_io_acct { struct
Dmd.c5868 offsetof(struct md_io_acct, bio_clone), 0); in md_run()
8585 struct md_io_acct *md_io_acct = bio->bi_private; in md_end_io_acct() local
8586 struct bio *orig_bio = md_io_acct->orig_bio; in md_end_io_acct()
8590 bio_end_io_acct(orig_bio, md_io_acct->start_time); in md_end_io_acct()
8601 struct md_io_acct *md_io_acct; in md_account_bio() local
8608 md_io_acct = container_of(clone, struct md_io_acct, bio_clone); in md_account_bio()
8609 md_io_acct->orig_bio = *bio; in md_account_bio()
8610 md_io_acct->start_time = bio_start_io_acct(*bio); in md_account_bio()
8613 clone->bi_private = md_io_acct; in md_account_bio()
Draid5.c5365 struct md_io_acct *md_io_acct = bi->bi_private; in raid5_align_endio() local
5366 struct bio *raid_bi = md_io_acct->orig_bio; in raid5_align_endio()
5371 unsigned long start_time = md_io_acct->start_time; in raid5_align_endio()
5403 struct md_io_acct *md_io_acct; in raid5_read_one_chunk() local
5442 md_io_acct = container_of(align_bio, struct md_io_acct, bio_clone); in raid5_read_one_chunk()
5445 md_io_acct->start_time = bio_start_io_acct(raid_bio); in raid5_read_one_chunk()
5446 md_io_acct->orig_bio = raid_bio; in raid5_read_one_chunk()
5450 align_bio->bi_private = md_io_acct; in raid5_read_one_chunk()