Home
last modified time | relevance | path

Searched refs:pool_type (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/staging/fsl-mc/bus/
Dmc-allocator.c33 pool_type, in fsl_mc_resource_pool_add_device()
43 if (WARN_ON(pool_type < 0 || pool_type >= FSL_MC_NUM_POOL_TYPES)) in fsl_mc_resource_pool_add_device()
50 res_pool = &mc_bus->resource_pools[pool_type]; in fsl_mc_resource_pool_add_device()
51 if (WARN_ON(res_pool->type != pool_type)) in fsl_mc_resource_pool_add_device()
74 resource->type = pool_type; in fsl_mc_resource_pool_add_device()
167 *pool_type) in object_type_to_pool_type()
173 *pool_type = i; in object_type_to_pool_type()
182 enum fsl_mc_pool_type pool_type, in fsl_mc_resource_allocate() argument
195 if (WARN_ON(pool_type < 0 || pool_type >= FSL_MC_NUM_POOL_TYPES)) in fsl_mc_resource_allocate()
198 res_pool = &mc_bus->resource_pools[pool_type]; in fsl_mc_resource_allocate()
[all …]
Ddprc-driver.c193 int pool_type; in dprc_init_all_resource_pools() local
196 for (pool_type = 0; pool_type < FSL_MC_NUM_POOL_TYPES; pool_type++) { in dprc_init_all_resource_pools()
198 &mc_bus->resource_pools[pool_type]; in dprc_init_all_resource_pools()
200 res_pool->type = pool_type; in dprc_init_all_resource_pools()
210 enum fsl_mc_pool_type pool_type) in dprc_cleanup_resource_pool() argument
216 &mc_bus->resource_pools[pool_type]; in dprc_cleanup_resource_pool()
219 WARN_ON(res_pool->type != pool_type); in dprc_cleanup_resource_pool()
234 int pool_type; in dprc_cleanup_all_resource_pools() local
236 for (pool_type = 0; pool_type < FSL_MC_NUM_POOL_TYPES; pool_type++) in dprc_cleanup_all_resource_pools()
237 dprc_cleanup_resource_pool(mc_bus_dev, pool_type); in dprc_cleanup_all_resource_pools()
/linux-4.4.14/net/rds/
Dib_rdma.c68 unsigned int pool_type; member
239 int pool_type) in rds_ib_create_mr_pool() argument
247 pool->pool_type = pool_type; in rds_ib_create_mr_pool()
255 if (pool_type == RDS_IB_MR_1M_POOL) { in rds_ib_create_mr_pool()
337 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_alloc_fmr()
363 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_alloc_fmr()
371 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_alloc_fmr()
400 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_alloc_fmr()
492 if (ibmr->pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_map_fmr()
638 if (pool->pool_type == RDS_IB_MR_8K_POOL) in rds_ib_flush_mr_pool()
[all …]
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c67 enum pool_type { enum
105 enum pool_type type;
356 static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) in ttm_to_type()
358 enum pool_type type = IS_UNDEFINED; in ttm_to_type()
518 static void ttm_dma_free_pool(struct device *dev, enum pool_type type) in ttm_dma_free_pool()
575 enum pool_type type) in ttm_dma_pool_init()
578 enum pool_type t[] = {IS_WC, IS_UC, IS_CACHED, IS_DMA32, IS_UNDEFINED}; in ttm_dma_pool_init()
651 enum pool_type type) in ttm_dma_find_pool()
881 enum pool_type type; in ttm_dma_populate()
940 enum pool_type type; in ttm_dma_unpopulate()
/linux-4.4.14/drivers/staging/fsl-mc/include/
Dmc-private.h113 enum fsl_mc_pool_type pool_type,
Dmc.h196 enum fsl_mc_pool_type pool_type,