Searched refs:IOAT_TEST_SIZE (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/dma/ioat/ |
H A D | init.c | 287 #define IOAT_TEST_SIZE 2000 macro 316 src = kzalloc(IOAT_TEST_SIZE, GFP_KERNEL); in ioat_dma_self_test() 319 dest = kzalloc(IOAT_TEST_SIZE, GFP_KERNEL); in ioat_dma_self_test() 326 for (i = 0; i < IOAT_TEST_SIZE; i++) in ioat_dma_self_test() 338 dma_src = dma_map_single(dev, src, IOAT_TEST_SIZE, DMA_TO_DEVICE); in ioat_dma_self_test() 344 dma_dest = dma_map_single(dev, dest, IOAT_TEST_SIZE, DMA_FROM_DEVICE); in ioat_dma_self_test() 352 dma_src, IOAT_TEST_SIZE, in ioat_dma_self_test() 381 if (memcmp(src, dest, IOAT_TEST_SIZE)) { in ioat_dma_self_test() 388 dma_unmap_single(dev, dma_dest, IOAT_TEST_SIZE, DMA_FROM_DEVICE); in ioat_dma_self_test() 390 dma_unmap_single(dev, dma_src, IOAT_TEST_SIZE, DMA_TO_DEVICE); in ioat_dma_self_test()
|