Lines Matching defs:pool
75 * Our slab pool management
163 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs)
168 mempool_free(bv, pool);
183 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs,
211 return mempool_alloc(pool, gfp_mask);
470 * callers must never allocate more than 1 bio at a time from the general pool.
1685 int biovec_init_pool(mempool_t *pool, int pool_entries)
1689 return mempool_init_slab_pool(pool, pool_entries, bp->slab);
1717 * @bs: pool to initialize
1730 * If %BIOSET_NEED_BVECS is set in @flags, a separate pool will be allocated
1731 * for allocating iovecs. This pool is not needed e.g. for bio_init_clone().
1806 panic("bio: can't create integrity pool\n");