Searched refs:__dma (Results 1 – 1 of 1) sorted by relevance
331 dma_addr_t __dma; in ndtest_alloc_resource() local344 __dma = gen_pool_alloc_algo(ndtest_pool, size, in ndtest_alloc_resource()347 __dma = (unsigned long) buf; in ndtest_alloc_resource()349 if (!__dma) in ndtest_alloc_resource()355 res->res.start = __dma; in ndtest_alloc_resource()356 res->res.end = __dma + size - 1; in ndtest_alloc_resource()365 *dma = __dma; in ndtest_alloc_resource()371 if (__dma && size >= DIMM_SIZE) in ndtest_alloc_resource()372 gen_pool_free(ndtest_pool, __dma, size); in ndtest_alloc_resource()