Lines Matching refs:NDISKS
19 #define NDISKS 16 /* Including P and Q */ macro
23 char *dataptrs[NDISKS];
24 char data[NDISKS][PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
43 case NDISKS-2: in disk_type()
45 case NDISKS-1: in disk_type()
62 raid6_dual_recov(NDISKS, PAGE_SIZE, i, j, (void **)&dataptrs); in test_disks()
67 if (i < NDISKS-2 && j == NDISKS-1) { in test_disks()
94 makedata(0, NDISKS-1); in main()
112 memset(data[NDISKS-2], 0xee, 2*PAGE_SIZE); in main()
115 raid6_call.gen_syndrome(NDISKS, PAGE_SIZE, in main()
118 for (i = 0; i < NDISKS-1; i++) in main()
119 for (j = i+1; j < NDISKS; j++) in main()
125 for (p1 = 0; p1 < NDISKS-2; p1++) in main()
126 for (p2 = p1; p2 < NDISKS-2; p2++) { in main()
129 raid6_call.xor_syndrome(NDISKS, p1, p2, PAGE_SIZE, in main()
132 raid6_call.xor_syndrome(NDISKS, p1, p2, PAGE_SIZE, in main()
135 for (i = 0; i < NDISKS-1; i++) in main()
136 for (j = i+1; j < NDISKS; j++) in main()