Searched refs:kpmem (Results 1 – 1 of 1) sorted by relevance
352 struct dma_pmem kpmem; in sys_prepare_dma() local386 memset(&kpmem, 0, sizeof(kpmem)); in sys_prepare_dma()387 kpmem.paddr = paddr; in sys_prepare_dma()388 kpmem.size = MIN(size - mapped_size, paddr_size); in sys_prepare_dma()399 ret = copy_to_user(pmem, &kpmem, sizeof(struct dma_pmem)); in sys_prepare_dma()405 mapped_size += kpmem.size; in sys_prepare_dma()