Searched refs:sgp (Results 1 – 1 of 1) sorted by relevance
56 struct sg_pool *sgp; in sg_pool_free() local58 sgp = sg_pools + sg_pool_index(nents); in sg_pool_free()59 mempool_free(sgl, sgp->pool); in sg_pool_free()64 struct sg_pool *sgp; in sg_pool_alloc() local66 sgp = sg_pools + sg_pool_index(nents); in sg_pool_alloc()67 return mempool_alloc(sgp->pool, gfp_mask); in sg_pool_alloc()146 struct sg_pool *sgp = sg_pools + i; in sg_pool_init() local147 int size = sgp->size * sizeof(struct scatterlist); in sg_pool_init()149 sgp->slab = kmem_cache_create(sgp->name, size, 0, in sg_pool_init()151 if (!sgp->slab) { in sg_pool_init()[all …]