Lines Matching refs:prealloc
83 static bool init_stack_slab(void **prealloc) in init_stack_slab() argument
85 if (!*prealloc) in init_stack_slab()
94 stack_slabs[depot_index] = *prealloc; in init_stack_slab()
96 stack_slabs[depot_index + 1] = *prealloc; in init_stack_slab()
103 *prealloc = NULL; in init_stack_slab()
109 u32 hash, void **prealloc, gfp_t alloc_flags) in depot_alloc_stack() argument
132 init_stack_slab(prealloc); in depot_alloc_stack()
225 void *prealloc = NULL; in depot_save_stack() local
262 prealloc = page_address(page); in depot_save_stack()
271 hash, &prealloc, alloc_flags); in depot_save_stack()
281 } else if (prealloc) { in depot_save_stack()
286 WARN_ON(!init_stack_slab(&prealloc)); in depot_save_stack()
291 if (prealloc) { in depot_save_stack()
293 free_pages((unsigned long)prealloc, STACK_ALLOC_ORDER); in depot_save_stack()