Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid5.c125 if (sh->qd_idx == sh->disks - 1) in raid6_d0()
128 return sh->qd_idx + 1; in raid6_d0()
150 if (idx == sh->qd_idx) in raid6_idx_to_slot()
945 while (dd_idx == sh->pd_idx || dd_idx == sh->qd_idx) in stripe_add_to_batch_list()
1638 if (i == sh->qd_idx || i == sh->pd_idx || in set_syndrome_sources()
1670 int qd_idx = sh->qd_idx; in ops_run_compute6_1() local
1698 if (target == qd_idx) { in ops_run_compute6_1()
1711 if (i == target || i == qd_idx) in ops_run_compute6_1()
1794 int qd_idx = sh->qd_idx; in ops_run_compute6_2() local
1797 if (target == qd_idx) in ops_run_compute6_2()
[all …]
Draid5-cache.c928 if (i == sh->pd_idx || i == sh->qd_idx) in r5l_log_stripe()
948 sh->dev[sh->qd_idx].log_checksum, true); in r5l_log_stripe()
950 r5l_append_payload_page(log, sh->dev[sh->qd_idx].page); in r5l_log_stripe()
1029 parity_pages = 1 + !!(sh->qd_idx >= 0); in r5l_write_stripe()
1839 if (sh->qd_idx >= 0) { in r5l_recovery_load_parity()
1841 log, ctx, sh->dev[sh->qd_idx].page, in r5l_recovery_load_parity()
1843 sh->dev[sh->qd_idx].log_checksum = in r5l_recovery_load_parity()
1845 set_bit(R5_Wantwrite, &sh->dev[sh->qd_idx].flags); in r5l_recovery_load_parity()
1872 if (disk_index == sh->qd_idx || disk_index == sh->pd_idx) in r5l_recovery_replay_one_stripe()
Draid5.h209 short qd_idx; /* 'Q' disk index for raid6 */ member