Searched refs:__dma (Results 1 – 1 of 1) sorted by relevance
337 dma_addr_t __dma; in ndtest_alloc_resource() local350 __dma = gen_pool_alloc_algo(ndtest_pool, size, in ndtest_alloc_resource()353 __dma = (unsigned long) buf; in ndtest_alloc_resource()355 if (!__dma) in ndtest_alloc_resource()361 res->res.start = __dma; in ndtest_alloc_resource()362 res->res.end = __dma + size - 1; in ndtest_alloc_resource()371 *dma = __dma; in ndtest_alloc_resource()377 if (__dma && size >= DIMM_SIZE) in ndtest_alloc_resource()378 gen_pool_free(ndtest_pool, __dma, size); in ndtest_alloc_resource()