Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Draid5.c920 int dd_idx; in stripe_add_to_batch_list() local
951 dd_idx = 0; in stripe_add_to_batch_list()
952 while (dd_idx == sh->pd_idx || dd_idx == sh->qd_idx) in stripe_add_to_batch_list()
953 dd_idx++; in stripe_add_to_batch_list()
954 if (head->dev[dd_idx].towrite->bi_opf != sh->dev[dd_idx].towrite->bi_opf || in stripe_add_to_batch_list()
955 bio_op(head->dev[dd_idx].towrite) != bio_op(sh->dev[dd_idx].towrite)) in stripe_add_to_batch_list()
3001 int previous, int *dd_idx, in raid5_compute_sector() argument
3030 *dd_idx = sector_div(stripe, data_disks); in raid5_compute_sector()
3044 if (*dd_idx >= pd_idx) in raid5_compute_sector()
3045 (*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.c1811 int dd_idx; in r5l_recovery_load_data() local
1815 &dd_idx, sh); in r5l_recovery_load_data()
1816 r5l_recovery_read_page(log, ctx, sh->dev[dd_idx].page, log_offset); in r5l_recovery_load_data()
1817 sh->dev[dd_idx].log_checksum = in r5l_recovery_load_data()
1821 set_bit(R5_Wantwrite, &sh->dev[dd_idx].flags); in r5l_recovery_load_data()