Lines Matching refs:size
119 * @size: size of the dma memory area
121 * Compare the dma memory area defined by @iova and @size with given dma region.
125 u64 iova, u64 size)
127 if (!size && region->iova != iova)
131 (region->length + region->iova >= iova + size);
231 * afu_dma_region_find - find the dma region from rbtree based on iova and size
234 * @size: size of the dma memory area
236 * It finds the dma region from the rbtree based on @iova and @size:
237 * - if @size == 0, it finds the dma region which starts from @iova
239 * [@iova, @iova+size)
245 afu_dma_region_find(struct dfl_feature_platform_data *pdata, u64 iova, u64 size)
256 if (dma_region_check_iova(region, iova, size)) {
271 dev_dbg(dev, "region with iova %llx and size %llx is not found\n",
272 (unsigned long long)iova, (unsigned long long)size);
294 * @length: size of the memory region