Home
last modified time | relevance | path

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

/lib/
Dstackdepot.c244 static bool depot_init_pool(void **prealloc) in depot_init_pool() argument
256 if (!new_pool && *prealloc) { in depot_init_pool()
258 WRITE_ONCE(new_pool, *prealloc); in depot_init_pool()
259 *prealloc = NULL; in depot_init_pool()
291 static void depot_keep_new_pool(void **prealloc) in depot_keep_new_pool() argument
302 WRITE_ONCE(new_pool, *prealloc); in depot_keep_new_pool()
303 *prealloc = NULL; in depot_keep_new_pool()
310 static struct stack_record *depot_pop_free_pool(void **prealloc, size_t size) in depot_pop_free_pool() argument
319 if (!depot_init_pool(prealloc)) in depot_pop_free_pool()
381 …ck(unsigned long *entries, unsigned int nr_entries, u32 hash, depot_flags_t flags, void **prealloc) in depot_alloc_stack() argument
[all …]