Home
last modified time | relevance | path

Searched refs:qd_idx (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/md/
H A 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()
922 /* Don't cross chunks, so stripe pd_idx/qd_idx is the same */ in stripe_add_to_batch_list()
952 while (dd_idx == sh->pd_idx || dd_idx == sh->qd_idx) in stripe_add_to_batch_list()
1645 if (i == sh->qd_idx || i == sh->pd_idx || in set_syndrome_sources()
1677 int qd_idx = sh->qd_idx; in ops_run_compute6_1() local
1705 if (target == qd_idx) { in ops_run_compute6_1()
1718 if (i == target || i == qd_idx) in ops_run_compute6_1()
1801 int qd_idx = sh->qd_idx; ops_run_compute6_2() local
2010 int qd_idx = sh->qd_idx; ops_complete_reconstruct() local
2229 int qd_idx = sh->qd_idx; ops_run_check_p() local
3007 int pd_idx, qd_idx; raid5_compute_sector() local
3382 int i, pd_idx = sh->pd_idx, qd_idx = sh->qd_idx, disks = sh->disks; schedule_reconstruction() local
3468 int qd_idx = sh->qd_idx; schedule_reconstruction() local
4449 int qd_idx = sh->qd_idx; handle_parity_checks6() local
[all...]
H A Draid5-cache.c501 * NOT necessary to set the flag for dev[qd_idx], as the in r5c_finish_cache_stripe()
928 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()
1840 if (sh->qd_idx >= 0) { in r5l_recovery_load_parity()
1842 log, ctx, sh->dev[sh->qd_idx].page, in r5l_recovery_load_parity()
1844 sh->dev[sh->qd_idx].log_checksum = in r5l_recovery_load_parity()
1846 set_bit(R5_Wantwrite, &sh->dev[sh->qd_idx].flags); in r5l_recovery_load_parity()
1873 if (disk_index == sh->qd_idx || disk_inde in r5l_recovery_replay_one_stripe()
[all...]
H A Draid5.h209 short qd_idx; /* 'Q' disk index for raid6 */ member
/kernel/linux/linux-5.10/drivers/md/
H A Draid5.c118 if (sh->qd_idx == sh->disks - 1) in raid6_d0()
121 return sh->qd_idx + 1; in raid6_d0()
143 if (idx == sh->qd_idx) in raid6_idx_to_slot()
824 /* Don't cross chunks, so stripe pd_idx/qd_idx is the same */ in stripe_add_to_batch_list()
870 while (dd_idx == sh->pd_idx || dd_idx == sh->qd_idx) in stripe_add_to_batch_list()
1567 if (i == sh->qd_idx || i == sh->pd_idx || in set_syndrome_sources()
1599 int qd_idx = sh->qd_idx; in ops_run_compute6_1() local
1627 if (target == qd_idx) { in ops_run_compute6_1()
1640 if (i == target || i == qd_idx) in ops_run_compute6_1()
1723 int qd_idx = sh->qd_idx; ops_run_compute6_2() local
1932 int qd_idx = sh->qd_idx; ops_complete_reconstruct() local
2151 int qd_idx = sh->qd_idx; ops_run_check_p() local
2919 int pd_idx, qd_idx; raid5_compute_sector() local
3294 int i, pd_idx = sh->pd_idx, qd_idx = sh->qd_idx, disks = sh->disks; schedule_reconstruction() local
3380 int qd_idx = sh->qd_idx; schedule_reconstruction() local
4337 int qd_idx = sh->qd_idx; handle_parity_checks6() local
[all...]
H A Draid5-cache.c501 * NOT necessary to set the flag for dev[qd_idx], as the in r5c_finish_cache_stripe()
929 if (i == sh->pd_idx || i == sh->qd_idx) in r5l_log_stripe()
949 sh->dev[sh->qd_idx].log_checksum, true); in r5l_log_stripe()
951 r5l_append_payload_page(log, sh->dev[sh->qd_idx].page); in r5l_log_stripe()
1030 parity_pages = 1 + !!(sh->qd_idx >= 0); in r5l_write_stripe()
1847 if (sh->qd_idx >= 0) { in r5l_recovery_load_parity()
1849 log, ctx, sh->dev[sh->qd_idx].page, in r5l_recovery_load_parity()
1851 sh->dev[sh->qd_idx].log_checksum = in r5l_recovery_load_parity()
1853 set_bit(R5_Wantwrite, &sh->dev[sh->qd_idx].flags); in r5l_recovery_load_parity()
1880 if (disk_index == sh->qd_idx || disk_inde in r5l_recovery_replay_one_stripe()
[all...]
H A Draid5.h208 short qd_idx; /* 'Q' disk index for raid6 */ member

Completed in 20 milliseconds