Home
last modified time | relevance | path

Searched refs:mempools (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/md/
H A Ddm-core.h42 * For mempools pre-allocation at the table loading time.
134 struct dm_md_mempools *mempools; member
225 struct dm_md_mempools *mempools; member
H A Ddm.c145 * Bio-based DM's mempools' reserved IOs set by the user.
579 clone = bio_alloc_clone(NULL, bio, GFP_NOIO, &md->mempools->io_bs); in alloc_io()
626 &md->mempools->bs); in alloc_tio()
1974 dm_free_md_mempools(md->mempools); in cleanup_mapped_device()
2221 if (!md->mempools) { in __bind()
2222 md->mempools = t->mempools; in __bind()
2223 t->mempools = NULL; in __bind()
2227 * The md may already have mempools that need changing. in __bind()
2231 dm_free_md_mempools(md->mempools); in __bind()
[all...]
H A Ddm-rq.c37 * Request-based DM's mempools' reserved IOs set by the user.
325 r = blk_rq_prep_clone(clone, rq, &tio->md->mempools->bs, gfp_mask, in setup_clone()
588 MODULE_PARM_DESC(reserved_rq_based_ios, "Reserved IOs in request-based mempools");
H A Ddm-table.c207 dm_free_md_mempools(t->mempools); in dm_table_destroy()
1026 DMERR("no table type is set, can't allocate mempools"); in dm_table_alloc_md_mempools()
1065 t->mempools = pools; in dm_table_alloc_md_mempools()
1407 * setting the type, and allocating mempools.
1439 DMERR("unable to allocate mempools"); in dm_table_complete()
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-core.h177 struct dm_md_mempools *mempools; member
H A Ddm-table.c221 dm_free_md_mempools(t->mempools); in dm_table_destroy()
1046 DMWARN("no table type is set, can't allocate mempools"); in dm_table_alloc_md_mempools()
1057 t->mempools = dm_alloc_md_mempools(md, type, t->integrity_supported, in dm_table_alloc_md_mempools()
1059 if (!t->mempools) in dm_table_alloc_md_mempools()
1067 dm_free_md_mempools(t->mempools); in dm_table_free_md_mempools()
1068 t->mempools = NULL; in dm_table_free_md_mempools()
1073 return t->mempools; in dm_table_get_md_mempools()
1220 * setting the type, and allocating mempools.
1246 DMERR("unable to allocate mempools"); in dm_table_complete()

Completed in 11 milliseconds