Home
last modified time | relevance | path

Searched refs:xor_srcs (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/dma/ioat/
Dinit.c772 struct page *xor_srcs[IOAT_NUM_SRC_TEST]; in ioat_xor_val_self_test() local
795 xor_srcs[src_idx] = alloc_page(GFP_KERNEL); in ioat_xor_val_self_test()
796 if (!xor_srcs[src_idx]) { in ioat_xor_val_self_test()
798 __free_page(xor_srcs[src_idx]); in ioat_xor_val_self_test()
806 __free_page(xor_srcs[src_idx]); in ioat_xor_val_self_test()
812 u8 *ptr = page_address(xor_srcs[src_idx]); in ioat_xor_val_self_test()
843 dma_srcs[i] = dma_map_page(dev, xor_srcs[i], 0, PAGE_SIZE, in ioat_xor_val_self_test()
906 xor_val_srcs[i] = xor_srcs[i]; in ioat_xor_val_self_test()
1028 __free_page(xor_srcs[src_idx]); in ioat_xor_val_self_test()
/Linux-v4.19/drivers/dma/
Diop-adma.c921 struct page *xor_srcs[IOP_ADMA_NUM_SRC_TEST]; in iop_adma_xor_val_self_test() local
937 xor_srcs[src_idx] = alloc_page(GFP_KERNEL); in iop_adma_xor_val_self_test()
938 if (!xor_srcs[src_idx]) { in iop_adma_xor_val_self_test()
940 __free_page(xor_srcs[src_idx]); in iop_adma_xor_val_self_test()
948 __free_page(xor_srcs[src_idx]); in iop_adma_xor_val_self_test()
954 u8 *ptr = page_address(xor_srcs[src_idx]); in iop_adma_xor_val_self_test()
979 dma_srcs[i] = dma_map_page(dma_chan->device->dev, xor_srcs[i], in iop_adma_xor_val_self_test()
1018 zero_sum_srcs[i] = xor_srcs[i]; in iop_adma_xor_val_self_test()
1084 __free_page(xor_srcs[src_idx]); in iop_adma_xor_val_self_test()
Dmv_xor.c884 struct page *xor_srcs[MV_XOR_NUM_SRC_TEST]; in mv_chan_xor_self_test() local
897 xor_srcs[src_idx] = alloc_page(GFP_KERNEL); in mv_chan_xor_self_test()
898 if (!xor_srcs[src_idx]) { in mv_chan_xor_self_test()
900 __free_page(xor_srcs[src_idx]); in mv_chan_xor_self_test()
908 __free_page(xor_srcs[src_idx]); in mv_chan_xor_self_test()
914 u8 *ptr = page_address(xor_srcs[src_idx]); in mv_chan_xor_self_test()
942 unmap->addr[i] = dma_map_page(dma_chan->device->dev, xor_srcs[i], in mv_chan_xor_self_test()
1012 __free_page(xor_srcs[src_idx]); in mv_chan_xor_self_test()
/Linux-v4.19/Documentation/crypto/
Dasync-tx-api.txt132 void run_xor_copy_xor(struct page **xor_srcs,
148 tx = async_xor(xor_dest, xor_srcs, 0, xor_src_cnt, xor_len, &submit)
156 tx = async_xor(xor_dest, xor_srcs, 0, xor_src_cnt, xor_len, &submit);
/Linux-v4.19/drivers/md/
Draid5.c1419 struct page **xor_srcs = to_addr_page(percpu, 0); in ops_run_compute5() local
1436 xor_srcs[count++] = sh->dev[i].page; in ops_run_compute5()
1443 tx = async_memcpy(xor_dest, xor_srcs[0], 0, 0, STRIPE_SIZE, &submit); in ops_run_compute5()
1445 tx = async_xor(xor_dest, xor_srcs, 0, count, STRIPE_SIZE, &submit); in ops_run_compute5()
1683 struct page **xor_srcs = to_addr_page(percpu, 0); in ops_run_prexor5() local
1688 struct page *xor_dest = xor_srcs[count++] = sh->dev[pd_idx].page; in ops_run_prexor5()
1698 xor_srcs[count++] = dev->orig_page; in ops_run_prexor5()
1700 xor_srcs[count++] = dev->page; in ops_run_prexor5()
1705 tx = async_xor(xor_dest, xor_srcs, 0, count, STRIPE_SIZE, &submit); in ops_run_prexor5()
1853 struct page **xor_srcs; in ops_run_reconstruct5() local
[all …]
Draid5-ppl.c725 struct page *xor_srcs[] = { page1, page2 }; in ppl_xor() local
729 tx = async_xor(page1, xor_srcs, 0, 2, size, &submit); in ppl_xor()