Home
last modified time | relevance | path

Searched refs:pd_idx (Results 1 – 2 of 2) sorted by relevance

/drivers/md/
Draid5.c170 if (idx == sh->pd_idx) in raid6_idx_to_slot()
1139 int count = 0, pd_idx = sh->pd_idx, i; in ops_run_prexor() local
1143 struct page *xor_dest = xor_srcs[count++] = sh->dev[pd_idx].page; in ops_run_prexor()
1208 int pd_idx = sh->pd_idx; in ops_complete_reconstruct() local
1225 if (dev->written || i == pd_idx || i == qd_idx) { in ops_complete_reconstruct()
1255 int count = 0, pd_idx = sh->pd_idx, i; in ops_run_reconstruct5() local
1264 if (pd_idx == i) in ops_run_reconstruct5()
1271 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5()
1280 xor_dest = xor_srcs[count++] = sh->dev[pd_idx].page; in ops_run_reconstruct5()
1287 xor_dest = sh->dev[pd_idx].page; in ops_run_reconstruct5()
[all …]
Draid5.h204 short pd_idx; /* parity disk index */ member