Lines Matching refs:p
1385 struct dmaengine_unmap_pool *p = &unmap_pool[i]; in dmaengine_destroy_unmap_pool() local
1387 mempool_destroy(p->pool); in dmaengine_destroy_unmap_pool()
1388 p->pool = NULL; in dmaengine_destroy_unmap_pool()
1389 kmem_cache_destroy(p->cache); in dmaengine_destroy_unmap_pool()
1390 p->cache = NULL; in dmaengine_destroy_unmap_pool()
1399 struct dmaengine_unmap_pool *p = &unmap_pool[i]; in dmaengine_init_unmap_pool() local
1403 sizeof(dma_addr_t) * p->size; in dmaengine_init_unmap_pool()
1405 p->cache = kmem_cache_create(p->name, size, 0, in dmaengine_init_unmap_pool()
1407 if (!p->cache) in dmaengine_init_unmap_pool()
1409 p->pool = mempool_create_slab_pool(1, p->cache); in dmaengine_init_unmap_pool()
1410 if (!p->pool) in dmaengine_init_unmap_pool()