Home
last modified time | relevance | path

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

/linux-6.12.1/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()
2958 int previous, int *dd_idx, in raid5_compute_sector() argument
2987 *dd_idx = sector_div(stripe, data_disks); in raid5_compute_sector()
3001 if (*dd_idx >= pd_idx) in raid5_compute_sector()
3002 (*dd_idx)++; in raid5_compute_sector()
[all …]
Draid5-ppl.c855 int dd_idx; in ppl_recover_entry() local
877 &dd_idx, NULL); in ppl_recover_entry()
880 (unsigned long long)r_sector, dd_idx, in ppl_recover_entry()
883 rdev = conf->disks[dd_idx].rdev; in ppl_recover_entry()
887 __func__, indent, "", dd_idx); in ppl_recover_entry()
Draid5.h811 int previous, int *dd_idx, struct stripe_head *sh);
Draid5-cache.c1813 int dd_idx; in r5l_recovery_load_data() local
1817 &dd_idx, sh); in r5l_recovery_load_data()
1818 r5l_recovery_read_page(log, ctx, sh->dev[dd_idx].page, log_offset); in r5l_recovery_load_data()
1819 sh->dev[dd_idx].log_checksum = in r5l_recovery_load_data()
1823 set_bit(R5_Wantwrite, &sh->dev[dd_idx].flags); in r5l_recovery_load_data()