Home
last modified time | relevance | path

Searched refs:pool_data (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dmempool.h13 typedef void * (mempool_alloc_t)(gfp_t gfp_mask, void *pool_data);
14 typedef void (mempool_free_t)(void *element, void *pool_data);
22 void *pool_data; member
35 mempool_free_t *free_fn, void *pool_data,
38 mempool_free_t *free_fn, void *pool_data);
41 mempool_free_t *free_fn, void *pool_data);
43 mempool_free_t *free_fn, void *pool_data,
56 void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data);
57 void mempool_free_slab(void *element, void *pool_data);
77 void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data);
[all …]
Dbtree.h49 void *btree_alloc(gfp_t gfp_mask, void *pool_data);
56 void btree_free(void *element, void *pool_data);
/kernel/linux/linux-5.10/mm/
Dmempool.c65 int order = (int)(long)pool->pool_data; in check_element()
88 int order = (int)(long)pool->pool_data; in poison_element()
109 kasan_free_pages(element, (unsigned long)pool->pool_data); in kasan_poison_element()
117 kasan_alloc_pages(element, (unsigned long)pool->pool_data); in kasan_unpoison_element()
153 pool->free(element, pool->pool_data); in mempool_exit()
179 mempool_free_t *free_fn, void *pool_data, in mempool_init_node() argument
184 pool->pool_data = pool_data; in mempool_init_node()
200 element = pool->alloc(gfp_mask, pool->pool_data); in mempool_init_node()
227 mempool_free_t *free_fn, void *pool_data) in mempool_init() argument
230 pool_data, GFP_KERNEL, NUMA_NO_NODE); in mempool_init()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpts.h115 struct cpts_event pool_data[CPTS_MAX_EVENTS]; member
Dam65-cpts.c168 struct am65_cpts_event pool_data[AM65_CPTS_MAX_EVENTS]; member
963 list_add(&cpts->pool_data[i].list, &cpts->pool); in am65_cpts_create()
Dcpts.c569 list_add(&cpts->pool_data[i].list, &cpts->pool); in cpts_register()
/kernel/linux/linux-5.10/drivers/md/
Ddm-verity-fec.c568 static void *fec_rs_alloc(gfp_t gfp_mask, void *pool_data) in fec_rs_alloc() argument
570 struct dm_verity *v = (struct dm_verity *)pool_data; in fec_rs_alloc()
575 static void fec_rs_free(void *element, void *pool_data) in fec_rs_free() argument
Draid5-ppl.c205 static void *ppl_io_pool_alloc(gfp_t gfp_mask, void *pool_data) in ppl_io_pool_alloc() argument
207 struct kmem_cache *kc = pool_data; in ppl_io_pool_alloc()
223 static void ppl_io_pool_free(void *element, void *pool_data) in ppl_io_pool_free() argument
225 struct kmem_cache *kc = pool_data; in ppl_io_pool_free()
Ddm-crypt.c2645 static void *crypt_page_alloc(gfp_t gfp_mask, void *pool_data) in crypt_page_alloc() argument
2647 struct crypt_config *cc = pool_data; in crypt_page_alloc()
2666 static void crypt_page_free(void *page, void *pool_data) in crypt_page_free() argument
2668 struct crypt_config *cc = pool_data; in crypt_page_free()
/kernel/linux/linux-5.10/drivers/ptp/
Dptp_ines.c163 struct ines_timestamp pool_data[INES_MAX_EVENTS]; member
222 list_add(&port->pool_data[j].list, &port->pool); in ines_clock_init()
/kernel/linux/linux-5.10/lib/
Dbtree.c81 void *btree_alloc(gfp_t gfp_mask, void *pool_data) in btree_alloc() argument
87 void btree_free(void *element, void *pool_data) in btree_free() argument