Home
last modified time | relevance | path

Searched refs:free_fn (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/include/linux/
Dmempool.h35 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,
Drhashtable.h260 void (*free_fn)(void *ptr, void *arg),
1263 void (*free_fn)(void *ptr, in rhltable_free_and_destroy()
1267 return rhashtable_free_and_destroy(&hlt->ht, free_fn, arg); in rhltable_free_and_destroy()
/linux-6.1.9/mm/
Dmempool.c180 mempool_free_t *free_fn, void *pool_data, in mempool_init_node() argument
187 pool->free = free_fn; in mempool_init_node()
228 mempool_free_t *free_fn, void *pool_data) in mempool_init() argument
230 return mempool_init_node(pool, min_nr, alloc_fn, free_fn, in mempool_init()
253 mempool_free_t *free_fn, void *pool_data) in mempool_create() argument
255 return mempool_create_node(min_nr, alloc_fn, free_fn, pool_data, in mempool_create()
261 mempool_free_t *free_fn, void *pool_data, in mempool_create_node() argument
270 if (mempool_init_node(pool, min_nr, alloc_fn, free_fn, pool_data, in mempool_create_node()
/linux-6.1.9/lib/
Drhashtable.c1097 void (*free_fn)(void *ptr, void *arg), in rhashtable_free_one()
1103 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()
1111 free_fn(rht_obj(ht, obj), arg); in rhashtable_free_one()
1131 void (*free_fn)(void *ptr, void *arg), in rhashtable_free_and_destroy()
1142 if (free_fn) { in rhashtable_free_and_destroy()
1154 rhashtable_free_one(ht, pos, free_fn, arg); in rhashtable_free_and_destroy()
Dscatterlist.c194 unsigned int nents_first_chunk, sg_free_fn *free_fn, in __sg_free_table() argument
227 free_fn(sgl, alloc_size); in __sg_free_table()