Home
last modified time | relevance | path

Searched refs:mempool (Results 1 – 15 of 15) sorted by relevance

/linux/lib/
H A Dbtree.c96 node = mempool_alloc(head->mempool, gfp); in btree_node_alloc()
181 void btree_init_mempool(struct btree_head *head, mempool_t *mempool) in btree_init_mempool() argument
184 head->mempool = mempool; in btree_init_mempool()
191 head->mempool = mempool_create(0, btree_alloc, btree_free, NULL); in btree_init()
192 if (!head->mempool) in btree_init()
200 mempool_free(head->node, head->mempool); in btree_destroy()
201 mempool_destroy(head->mempool); in btree_destroy()
202 head->mempool = NULL; in btree_destroy()
440 mempool_free(node, head->mempool); in btree_shrink()
475 mempool_free(new, head->mempool); in btree_insert_level()
[all …]
/linux/fs/netfs/
H A Dobjects.c25 mempool_t *mempool = ctx->ops->request_pool ?: &netfs_request_pool; in netfs_alloc_request() local
26 struct kmem_cache *cache = mempool->pool_data; in netfs_alloc_request()
30 rreq = mempool_alloc(mempool, GFP_KERNEL); in netfs_alloc_request()
182 mempool_t *mempool = rreq->netfs_ops->subrequest_pool ?: &netfs_subrequest_pool; in netfs_alloc_subrequest() local
183 struct kmem_cache *cache = mempool->pool_data; in netfs_alloc_subrequest()
/linux/drivers/firmware/qcom/
H A Dqcom_qseecom_uefisecapp.c278 struct qcom_tzmem_pool *mempool; member
339 cmd_buf = qcom_tzmem_alloc(qcuefi->mempool, cmd_buf_size, GFP_KERNEL); in qsee_uefi_get_variable()
469 cmd_buf = qcom_tzmem_alloc(qcuefi->mempool, cmd_buf_size, GFP_KERNEL); in qsee_uefi_set_variable()
556 cmd_buf = qcom_tzmem_alloc(qcuefi->mempool, cmd_buf_size, GFP_KERNEL); in qsee_uefi_get_next_variable()
654 cmd_buf = qcom_tzmem_alloc(qcuefi->mempool, cmd_buf_size, GFP_KERNEL); in qsee_uefi_query_variable_info()
832 qcuefi->mempool = devm_qcom_tzmem_pool_new(&aux_dev->dev, &pool_config); in qcom_uefisecapp_probe()
833 if (IS_ERR(qcuefi->mempool)) in qcom_uefisecapp_probe()
834 return PTR_ERR(qcuefi->mempool); in qcom_uefisecapp_probe()
H A Dqcom_scm-smc.c155 struct qcom_tzmem_pool *mempool = qcom_scm_get_tzmem_pool(); in __scm_smc_call() local
176 args_virt = qcom_tzmem_alloc(mempool, in __scm_smc_call()
H A Dqcom_scm.c53 struct qcom_tzmem_pool *mempool; member
220 return __scm ? __scm->mempool : NULL; in qcom_scm_get_tzmem_pool()
1081 void *ptr __free(qcom_tzmem) = qcom_tzmem_alloc(__scm->mempool, in qcom_scm_assign_mem()
1266 void *keybuf __free(qcom_tzmem) = qcom_tzmem_alloc(__scm->mempool, in qcom_scm_ice_set_key()
1490 u32 *payload_buf __free(qcom_tzmem) = qcom_tzmem_alloc(__scm->mempool, in qcom_scm_lmh_dcvsh()
1680 char *name_buf __free(qcom_tzmem) = qcom_tzmem_alloc(__scm->mempool, in qcom_scm_qseecom_app_get_id()
2071 __scm->mempool = devm_qcom_tzmem_pool_new(__scm->dev, &pool_config); in qcom_scm_probe()
2072 if (IS_ERR(__scm->mempool)) in qcom_scm_probe()
2073 return dev_err_probe(__scm->dev, PTR_ERR(__scm->mempool), in qcom_scm_probe()
/linux/include/linux/
H A Dbtree.h37 mempool_t *mempool; member
67 void btree_init_mempool(struct btree_head *head, mempool_t *mempool);
H A Dbtree-128.h7 mempool_t *mempool) in btree_init_mempool128() argument
9 btree_init_mempool(&head->h, mempool); in btree_init_mempool128()
H A Dbtree-type.h15 mempool_t *mempool) in BTREE_FN()
17 btree_init_mempool(&head->h, mempool); in BTREE_FN()
/linux/Documentation/admin-guide/aoe/
H A Dtodo.rst14 driver. By using a mempool for allocating all but the first few
/linux/Documentation/translations/zh_CN/core-api/
H A Dmm-api.rst97 mm/mempool.c
/linux/Documentation/core-api/
H A Dmm-api.rst91 .. kernel-doc:: mm/mempool.c
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-io.rst70 Dm-io will attempt to resize its mempool to make sure enough pages are
/linux/mm/
H A DMakefile51 obj-y := filemap.o mempool.o oom_kill.o fadvise.o \
/linux/drivers/scsi/fnic/
H A Dfnic.h214 struct mempool;
/linux/
H A DMAINTAINERS15051 F: include/linux/mempool.h