/openbmc/linux/mm/ |
H A D | mempool.c | 61 __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 D | mempool.h | 13 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 D | btree.h | 49 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 D | cpts.h | 115 struct cpts_event pool_data[CPTS_MAX_EVENTS]; member
|
H A D | am65-cpts.c | 168 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 D | cpts.c | 557 list_add(&cpts->pool_data[i].list, &cpts->pool); in cpts_register()
|
/openbmc/linux/drivers/md/ |
H A D | dm-verity-fec.c | 569 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 D | raid5-ppl.c | 205 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 D | dm-crypt.c | 2730 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 D | ptp_ines.c | 158 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 D | btree.c | 81 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
|