Searched refs:NDISKS (Results 1 – 3 of 3) sorted by relevance
/linux/lib/raid6/test/ |
H A D | test.c | 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() [all …]
|
/linux/crypto/async_tx/ |
H A D | raid6test.c | 18 #define NDISKS 64 /* Including P and Q */ macro 20 static struct page *dataptrs[NDISKS]; 21 unsigned int dataoffs[NDISKS]; 22 static addr_conv_t addr_conv[NDISKS]; 23 static struct page *data[NDISKS+3]; 75 struct page *blocks[NDISKS]; in raid6_dual_recov() 80 BUG_ON(disks > NDISKS); in raid6_dual_recov() 198 for (i = 0; i < NDISKS+3; i++) { in raid6_test() 208 if (NDISKS > 4) in raid6_test() 210 if (NDISKS > 5) in raid6_test() [all …]
|
/linux/Documentation/crypto/ |
H A D | async-tx-api.rst | 160 #define NDISKS 2 171 addr_conv_t addr_conv[NDISKS]; 176 tx = async_xor(xor_dest, xor_srcs, 0, NDISKS, xor_len, &submit); 184 tx = async_xor(xor_dest, xor_srcs, 0, NDISKS, xor_len, &submit);
|