Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dmempool.c61 __check_element(pool, element, (size_t)pool->pool_data); in check_element()
63 __check_element(pool, element, kmem_cache_size(pool->pool_data)); in check_element()
66 int order = (int)(long)pool->pool_data; in check_element()
86 __poison_element(element, (size_t)pool->pool_data); in poison_element()
88 __poison_element(element, kmem_cache_size(pool->pool_data)); in poison_element()
91 int order = (int)(long)pool->pool_data; in poison_element()
112 kasan_poison_pages(element, (unsigned long)pool->pool_data, in kasan_poison_element()
119 kasan_unpoison_range(element, (size_t)pool->pool_data); in kasan_unpoison_element()
121 kasan_unpoison_range(element, kmem_cache_size(pool->pool_data)); in kasan_unpoison_element()
123 kasan_unpoison_pages(element, (unsigned long)pool->pool_data, in kasan_unpoison_element()
[all …]
/openbmc/linux/include/linux/
H A 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
40 mempool_free_t *free_fn, void *pool_data,
43 mempool_free_t *free_fn, void *pool_data);
46 mempool_free_t *free_fn, void *pool_data);
48 mempool_free_t *free_fn, void *pool_data,
61 void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data);
62 void mempool_free_slab(void *element, void *pool_data);
82 void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data);
[all …]
H A Dbtree.h49 void *btree_alloc(gfp_t gfp_mask, void *pool_data);
56 void btree_free(void *element, void *pool_data);
/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpts.h115 struct cpts_event pool_data[CPTS_MAX_EVENTS]; member
H A Dam65-cpts.c168 struct am65_cpts_event pool_data[AM65_CPTS_MAX_EVENTS]; member
1117 list_add(&cpts->pool_data[i].list, &cpts->pool); in am65_cpts_create()
H A Dcpts.c557 list_add(&cpts->pool_data[i].list, &cpts->pool); in cpts_register()
/openbmc/linux/drivers/md/
H A Ddm-verity-fec.c569 static void *fec_rs_alloc(gfp_t gfp_mask, void *pool_data) in fec_rs_alloc() argument
571 struct dm_verity *v = pool_data; in fec_rs_alloc()
576 static void fec_rs_free(void *element, void *pool_data) in fec_rs_free() argument
H A 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()
H A Ddm-crypt.c2730 static void *crypt_page_alloc(gfp_t gfp_mask, void *pool_data) in crypt_page_alloc() argument
2732 struct crypt_config *cc = pool_data; in crypt_page_alloc()
2751 static void crypt_page_free(void *page, void *pool_data) in crypt_page_free() argument
2753 struct crypt_config *cc = pool_data; in crypt_page_free()
/openbmc/linux/drivers/ptp/
H A Dptp_ines.c158 struct ines_timestamp pool_data[INES_MAX_EVENTS]; member
217 list_add(&port->pool_data[j].list, &port->pool); in ines_clock_init()
/openbmc/linux/lib/
H A 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