Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/dma/ioat/
Dinit.c789 struct page *xor_srcs[IOAT_NUM_SRC_TEST]; in ioat_xor_val_self_test() local
812 xor_srcs[src_idx] = alloc_page(GFP_KERNEL); in ioat_xor_val_self_test()
813 if (!xor_srcs[src_idx]) { in ioat_xor_val_self_test()
815 __free_page(xor_srcs[src_idx]); in ioat_xor_val_self_test()
823 __free_page(xor_srcs[src_idx]); in ioat_xor_val_self_test()
829 u8 *ptr = page_address(xor_srcs[src_idx]); in ioat_xor_val_self_test()
860 dma_srcs[i] = dma_map_page(dev, xor_srcs[i], 0, PAGE_SIZE, in ioat_xor_val_self_test()
923 xor_val_srcs[i] = xor_srcs[i]; in ioat_xor_val_self_test()
1045 __free_page(xor_srcs[src_idx]); in ioat_xor_val_self_test()
/Linux-v5.4/drivers/dma/
Diop-adma.c910 struct page *xor_srcs[IOP_ADMA_NUM_SRC_TEST]; in iop_adma_xor_val_self_test() local
926 xor_srcs[src_idx] = alloc_page(GFP_KERNEL); in iop_adma_xor_val_self_test()
927 if (!xor_srcs[src_idx]) { in iop_adma_xor_val_self_test()
929 __free_page(xor_srcs[src_idx]); in iop_adma_xor_val_self_test()
937 __free_page(xor_srcs[src_idx]); in iop_adma_xor_val_self_test()
943 u8 *ptr = page_address(xor_srcs[src_idx]); in iop_adma_xor_val_self_test()
968 dma_srcs[i] = dma_map_page(dma_chan->device->dev, xor_srcs[i], in iop_adma_xor_val_self_test()
1007 zero_sum_srcs[i] = xor_srcs[i]; in iop_adma_xor_val_self_test()
1073 __free_page(xor_srcs[src_idx]); in iop_adma_xor_val_self_test()
Dmv_xor.c876 struct page *xor_srcs[MV_XOR_NUM_SRC_TEST]; in mv_chan_xor_self_test() local
889 xor_srcs[src_idx] = alloc_page(GFP_KERNEL); in mv_chan_xor_self_test()
890 if (!xor_srcs[src_idx]) { in mv_chan_xor_self_test()
892 __free_page(xor_srcs[src_idx]); in mv_chan_xor_self_test()
900 __free_page(xor_srcs[src_idx]); in mv_chan_xor_self_test()
906 u8 *ptr = page_address(xor_srcs[src_idx]); in mv_chan_xor_self_test()
934 unmap->addr[i] = dma_map_page(dma_chan->device->dev, xor_srcs[i], in mv_chan_xor_self_test()
1004 __free_page(xor_srcs[src_idx]); in mv_chan_xor_self_test()
/Linux-v5.4/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-v5.4/drivers/md/
Draid5.c1408 struct page **xor_srcs = to_addr_page(percpu, 0); in ops_run_compute5() local
1425 xor_srcs[count++] = sh->dev[i].page; in ops_run_compute5()
1432 tx = async_memcpy(xor_dest, xor_srcs[0], 0, 0, STRIPE_SIZE, &submit); in ops_run_compute5()
1434 tx = async_xor(xor_dest, xor_srcs, 0, count, STRIPE_SIZE, &submit); in ops_run_compute5()
1672 struct page **xor_srcs = to_addr_page(percpu, 0); in ops_run_prexor5() local
1677 struct page *xor_dest = xor_srcs[count++] = sh->dev[pd_idx].page; in ops_run_prexor5()
1687 xor_srcs[count++] = dev->orig_page; in ops_run_prexor5()
1689 xor_srcs[count++] = dev->page; in ops_run_prexor5()
1694 tx = async_xor(xor_dest, xor_srcs, 0, count, STRIPE_SIZE, &submit); in ops_run_prexor5()
1842 struct page **xor_srcs; in ops_run_reconstruct5() local
[all …]
Draid5-ppl.c720 struct page *xor_srcs[] = { page1, page2 }; in ppl_xor() local
724 tx = async_xor(page1, xor_srcs, 0, 2, size, &submit); in ppl_xor()