Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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,
Dpercpu.h116 pcpu_fc_free_fn_t free_fn);
122 pcpu_fc_free_fn_t free_fn,
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()
/kernel/linux/linux-5.10/mm/
Dmempool.c179 mempool_free_t *free_fn, void *pool_data, in mempool_init_node() argument
186 pool->free = free_fn; in mempool_init_node()
227 mempool_free_t *free_fn, void *pool_data) in mempool_init() argument
229 return mempool_init_node(pool, min_nr, alloc_fn, free_fn, in mempool_init()
252 mempool_free_t *free_fn, void *pool_data) in mempool_create() argument
254 return mempool_create_node(min_nr,alloc_fn,free_fn, pool_data, in mempool_create()
260 mempool_free_t *free_fn, void *pool_data, in mempool_create_node() argument
269 if (mempool_init_node(pool, min_nr, alloc_fn, free_fn, pool_data, in mempool_create_node()
Dpercpu.c2838 pcpu_fc_free_fn_t free_fn) in pcpu_embed_first_chunk() argument
2912 free_fn(ptr, ai->unit_size); in pcpu_embed_first_chunk()
2917 free_fn(ptr + size_sum, ai->unit_size - size_sum); in pcpu_embed_first_chunk()
2936 free_fn(areas[group], in pcpu_embed_first_chunk()
2965 pcpu_fc_free_fn_t free_fn, in pcpu_page_first_chunk() argument
3060 free_fn(page_address(pages[j]), PAGE_SIZE); in pcpu_page_first_chunk()
/kernel/linux/linux-5.10/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.c193 unsigned int nents_first_chunk, sg_free_fn *free_fn) in __sg_free_table() argument
225 free_fn(sgl, alloc_size); in __sg_free_table()