Lines Matching refs:ddp_pool

140 	struct ixgbe_fcoe_ddp_pool *ddp_pool;  in ixgbe_fcoe_ddp_setup()  local
176 if (!fcoe->ddp_pool) { in ixgbe_fcoe_ddp_setup()
181 ddp_pool = per_cpu_ptr(fcoe->ddp_pool, get_cpu()); in ixgbe_fcoe_ddp_setup()
182 if (!ddp_pool->pool) { in ixgbe_fcoe_ddp_setup()
195 ddp->udl = dma_pool_alloc(ddp_pool->pool, GFP_KERNEL, &ddp->udp); in ixgbe_fcoe_ddp_setup()
200 ddp->pool = ddp_pool->pool; in ixgbe_fcoe_ddp_setup()
211 ddp_pool->noddp++; in ixgbe_fcoe_ddp_setup()
251 ddp_pool->noddp_ext_buff++; in ixgbe_fcoe_ddp_setup()
599 struct ixgbe_fcoe_ddp_pool *ddp_pool; in ixgbe_fcoe_dma_pool_free() local
601 ddp_pool = per_cpu_ptr(fcoe->ddp_pool, cpu); in ixgbe_fcoe_dma_pool_free()
602 dma_pool_destroy(ddp_pool->pool); in ixgbe_fcoe_dma_pool_free()
603 ddp_pool->pool = NULL; in ixgbe_fcoe_dma_pool_free()
610 struct ixgbe_fcoe_ddp_pool *ddp_pool; in ixgbe_fcoe_dma_pool_alloc() local
621 ddp_pool = per_cpu_ptr(fcoe->ddp_pool, cpu); in ixgbe_fcoe_dma_pool_alloc()
622 ddp_pool->pool = pool; in ixgbe_fcoe_dma_pool_alloc()
623 ddp_pool->noddp = 0; in ixgbe_fcoe_dma_pool_alloc()
624 ddp_pool->noddp_ext_buff = 0; in ixgbe_fcoe_dma_pool_alloc()
718 if (!fcoe->ddp_pool) in ixgbe_free_fcoe_ddp_resources()
759 if (!fcoe->ddp_pool) in ixgbe_setup_fcoe_ddp_resources()
798 fcoe->ddp_pool = alloc_percpu(struct ixgbe_fcoe_ddp_pool); in ixgbe_fcoe_ddp_enable()
800 if (!fcoe->ddp_pool) { in ixgbe_fcoe_ddp_enable()
819 if (!fcoe->ddp_pool) in ixgbe_fcoe_ddp_disable()
822 free_percpu(fcoe->ddp_pool); in ixgbe_fcoe_ddp_disable()
823 fcoe->ddp_pool = NULL; in ixgbe_fcoe_ddp_disable()