Home
last modified time | relevance | path

Searched refs:dd_idx (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/md/
Draid5.c913 int dd_idx; in stripe_add_to_batch_list() local
944 dd_idx = 0; in stripe_add_to_batch_list()
945 while (dd_idx == sh->pd_idx || dd_idx == sh->qd_idx) in stripe_add_to_batch_list()
946 dd_idx++; in stripe_add_to_batch_list()
947 if (head->dev[dd_idx].towrite->bi_opf != sh->dev[dd_idx].towrite->bi_opf || in stripe_add_to_batch_list()
948 bio_op(head->dev[dd_idx].towrite) != bio_op(sh->dev[dd_idx].towrite)) in stripe_add_to_batch_list()
2994 int previous, int *dd_idx, in raid5_compute_sector() argument
3023 *dd_idx = sector_div(stripe, data_disks); in raid5_compute_sector()
3037 if (*dd_idx >= pd_idx) in raid5_compute_sector()
3038 (*dd_idx)++; in raid5_compute_sector()
[all …]
Draid5-ppl.c857 int dd_idx; in ppl_recover_entry() local
879 &dd_idx, NULL); in ppl_recover_entry()
882 (unsigned long long)r_sector, dd_idx, in ppl_recover_entry()
887 conf->disks[dd_idx].rdev, 1); in ppl_recover_entry()
891 __func__, indent, "", dd_idx); in ppl_recover_entry()
Draid5.h811 int previous, int *dd_idx, struct stripe_head *sh);
Draid5-cache.c1810 int dd_idx; in r5l_recovery_load_data() local
1814 &dd_idx, sh); in r5l_recovery_load_data()
1815 r5l_recovery_read_page(log, ctx, sh->dev[dd_idx].page, log_offset); in r5l_recovery_load_data()
1816 sh->dev[dd_idx].log_checksum = in r5l_recovery_load_data()
1820 set_bit(R5_Wantwrite, &sh->dev[dd_idx].flags); in r5l_recovery_load_data()