Lines Matching refs:mempool_t
24 static void poison_error(mempool_t *pool, void *element, size_t size, in poison_error()
41 static void __check_element(mempool_t *pool, void *element, size_t size) in __check_element()
57 static void check_element(mempool_t *pool, void *element) in check_element()
82 static void poison_element(mempool_t *pool, void *element) in poison_element()
99 static inline void check_element(mempool_t *pool, void *element) in check_element()
102 static inline void poison_element(mempool_t *pool, void *element) in poison_element()
107 static __always_inline void kasan_poison_element(mempool_t *pool, void *element) in kasan_poison_element()
116 static void kasan_unpoison_element(mempool_t *pool, void *element) in kasan_unpoison_element()
127 static __always_inline void add_element(mempool_t *pool, void *element) in add_element()
135 static void *remove_element(mempool_t *pool) in remove_element()
156 void mempool_exit(mempool_t *pool) in mempool_exit()
175 void mempool_destroy(mempool_t *pool) in mempool_destroy()
185 int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, in mempool_init_node()
233 int mempool_init(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, in mempool_init()
258 mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn, in mempool_create()
266 mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn, in mempool_create_node()
270 mempool_t *pool; in mempool_create_node()
304 int mempool_resize(mempool_t *pool, int new_min_nr) in mempool_resize()
380 void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) in mempool_alloc()
457 void mempool_free(void *element, mempool_t *pool) in mempool_free()