Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Dmd.h712 struct md_io_acct { struct
Dmd.c8612 offsetof(struct md_io_acct, bio_clone), 0); in acct_bioset_init()
8625 struct md_io_acct *md_io_acct = bio->bi_private; in md_end_io_acct() local
8626 struct bio *orig_bio = md_io_acct->orig_bio; in md_end_io_acct()
8630 bio_end_io_acct(orig_bio, md_io_acct->start_time); in md_end_io_acct()
8642 struct md_io_acct *md_io_acct; in md_account_bio() local
8649 md_io_acct = container_of(clone, struct md_io_acct, bio_clone); in md_account_bio()
8650 md_io_acct->orig_bio = *bio; in md_account_bio()
8651 md_io_acct->start_time = bio_start_io_acct(*bio); in md_account_bio()
8654 clone->bi_private = md_io_acct; in md_account_bio()
Draid5.c5471 struct md_io_acct *md_io_acct = bi->bi_private; in raid5_align_endio() local
5472 struct bio *raid_bi = md_io_acct->orig_bio; in raid5_align_endio()
5477 unsigned long start_time = md_io_acct->start_time; in raid5_align_endio()
5509 struct md_io_acct *md_io_acct; in raid5_read_one_chunk() local
5548 md_io_acct = container_of(align_bio, struct md_io_acct, bio_clone); in raid5_read_one_chunk()
5551 md_io_acct->start_time = bio_start_io_acct(raid_bio); in raid5_read_one_chunk()
5552 md_io_acct->orig_bio = raid_bio; in raid5_read_one_chunk()
5555 align_bio->bi_private = md_io_acct; in raid5_read_one_chunk()