Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/ntb/test/
Dntb_perf.c778 struct perf_thread *pthr = data; in perf_dma_copy_callback() local
780 atomic_dec(&pthr->dma_sync); in perf_dma_copy_callback()
781 wake_up(&pthr->dma_wait); in perf_dma_copy_callback()
784 static int perf_copy_chunk(struct perf_thread *pthr, in perf_copy_chunk() argument
791 struct perf_peer *peer = pthr->perf->test_peer; in perf_copy_chunk()
801 dma_dev = pthr->dma_chan->device->dev; in perf_copy_chunk()
803 if (!is_dma_copy_aligned(pthr->dma_chan->device, offset_in_page(src), in perf_copy_chunk()
825 tx = dmaengine_prep_dma_memcpy(pthr->dma_chan, dst_dma_addr, in perf_copy_chunk()
837 tx->callback_param = pthr; in perf_copy_chunk()
848 atomic_inc(&pthr->dma_sync); in perf_copy_chunk()
[all …]