Searched refs:xor_srcs (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/dma/ioat/ |
H A D | init.c | 776 struct page *xor_srcs[IOAT_NUM_SRC_TEST]; in ioat_xor_val_self_test() local 799 xor_srcs[src_idx] = alloc_page(GFP_KERNEL); in ioat_xor_val_self_test() 800 if (!xor_srcs[src_idx]) { in ioat_xor_val_self_test() 802 __free_page(xor_srcs[src_idx]); in ioat_xor_val_self_test() 810 __free_page(xor_srcs[src_idx]); in ioat_xor_val_self_test() 816 u8 *ptr = page_address(xor_srcs[src_idx]); in ioat_xor_val_self_test() 847 dma_srcs[i] = dma_map_page(dev, xor_srcs[i], 0, PAGE_SIZE, in ioat_xor_val_self_test() 910 xor_val_srcs[i] = xor_srcs[i]; in ioat_xor_val_self_test() 1032 __free_page(xor_srcs[src_idx]); in ioat_xor_val_self_test()
|
/linux/drivers/dma/ |
H A D | mv_xor.c | 876 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/Documentation/crypto/ |
H A D | async-tx-api.rst | 162 static void run_xor_copy_xor(struct page **xor_srcs, 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);
|
/linux/drivers/md/ |
H A D | raid5.c | 1562 struct page **xor_srcs = to_addr_page(percpu, 0); in ops_run_compute5() local 1582 xor_srcs[count++] = sh->dev[i].page; in ops_run_compute5() 1591 tx = async_memcpy(xor_dest, xor_srcs[0], off_dest, off_srcs[0], in ops_run_compute5() 1594 tx = async_xor_offs(xor_dest, off_dest, xor_srcs, off_srcs, count, in ops_run_compute5() 1859 struct page **xor_srcs = to_addr_page(percpu, 0); in ops_run_prexor5() local 1866 struct page *xor_dest = xor_srcs[count++] = sh->dev[pd_idx].page; in ops_run_prexor5() 1881 xor_srcs[count++] = dev->orig_page; in ops_run_prexor5() 1884 xor_srcs[count++] = dev->page; in ops_run_prexor5() 1890 tx = async_xor_offs(xor_dest, off_dest, xor_srcs, off_srcs, count, in ops_run_prexor5() 2042 struct page **xor_srcs; in ops_run_reconstruct5() local [all …]
|