Searched refs:sgp (Results 1 – 1 of 1) sorted by relevance
55 struct sg_pool *sgp; in sg_pool_free() local57 sgp = sg_pools + sg_pool_index(nents); in sg_pool_free()58 mempool_free(sgl, sgp->pool); in sg_pool_free()63 struct sg_pool *sgp; in sg_pool_alloc() local65 sgp = sg_pools + sg_pool_index(nents); in sg_pool_alloc()66 return mempool_alloc(sgp->pool, gfp_mask); in sg_pool_alloc()126 struct sg_pool *sgp = sg_pools + i; in sg_pool_init() local127 int size = sgp->size * sizeof(struct scatterlist); in sg_pool_init()129 sgp->slab = kmem_cache_create(sgp->name, size, 0, in sg_pool_init()131 if (!sgp->slab) { in sg_pool_init()[all …]