Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid5.h738 #define ALGORITHM_PARITY_N 5 /* P or P,Q are final devices. */ macro
766 #define ALGORITHM_PARITY_N_6 ALGORITHM_PARITY_N
Ddm-raid.c299 {"raid5_n", "raid5 (dedicated last parity disk)", 1, 2, 5, ALGORITHM_PARITY_N},
1743 mddev->new_layout == ALGORITHM_PARITY_N && in rs_check_takeover()
1815 mddev->layout == ALGORITHM_PARITY_N) in rs_check_takeover()
1822 mddev->layout == ALGORITHM_PARITY_N) in rs_check_takeover()
1827 mddev->layout == ALGORITHM_PARITY_N) in rs_check_takeover()
1837 ((mddev->layout == ALGORITHM_PARITY_N && mddev->new_layout == ALGORITHM_PARITY_N) || in rs_check_takeover()
1845 mddev->layout == ALGORITHM_PARITY_N) in rs_check_takeover()
1850 mddev->layout == ALGORITHM_PARITY_N) in rs_check_takeover()
1855 ((mddev->layout == ALGORITHM_PARITY_N && mddev->new_layout == ALGORITHM_PARITY_N) || in rs_check_takeover()
Draid0.c735 if (mddev->layout == ALGORITHM_PARITY_N) in raid0_takeover()
739 mdname(mddev), ALGORITHM_PARITY_N); in raid0_takeover()
Draid5.c3057 case ALGORITHM_PARITY_N: in raid5_compute_sector()
3101 case ALGORITHM_PARITY_N: in raid5_compute_sector()
3235 case ALGORITHM_PARITY_N: in raid5_compute_blocknr()
3268 case ALGORITHM_PARITY_N: in raid5_compute_blocknr()
7691 case ALGORITHM_PARITY_N: in only_parity()
8711 mddev->new_layout = ALGORITHM_PARITY_N; in raid45_takeover_raid0()
8773 case ALGORITHM_PARITY_N: in raid5_takeover_raid6()
8774 new_layout = ALGORITHM_PARITY_N; in raid5_takeover_raid6()
8859 mddev->new_layout = ALGORITHM_PARITY_N; in raid5_takeover()
8878 mddev->layout == ALGORITHM_PARITY_N) { in raid4_takeover()
[all …]