Lines Matching defs:pool
52 * Our slab pool management
154 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned int idx)
163 mempool_free(bv, pool);
172 mempool_t *pool)
203 * idx now points to the pool we want to allocate from. only the
204 * 1-vec entry pool is mempool backed.
208 bvl = mempool_alloc(pool, gfp_mask);
415 * from this pool. Callers that need to allocate more than 1 bio must always
1535 int biovec_init_pool(mempool_t *pool, int pool_entries)
1539 return mempool_init_slab_pool(pool, pool_entries, bp->slab);
1566 * @bs: pool to initialize
1579 * If %BIOSET_NEED_BVECS is set in @flags, a separate pool will be allocated
1580 * for allocating iovecs. This pool is not needed e.g. for bio_clone_fast().
1679 panic("bio: can't create integrity pool\n");