Lines Matching refs:prealloc
74 static bool init_stack_slab(void **prealloc) in init_stack_slab() argument
76 if (!*prealloc) in init_stack_slab()
85 stack_slabs[depot_index] = *prealloc; in init_stack_slab()
87 stack_slabs[depot_index + 1] = *prealloc; in init_stack_slab()
94 *prealloc = NULL; in init_stack_slab()
100 u32 hash, void **prealloc, gfp_t alloc_flags) in depot_alloc_stack() argument
123 init_stack_slab(prealloc); in depot_alloc_stack()
226 void *prealloc = NULL; in stack_depot_save() local
265 prealloc = page_address(page); in stack_depot_save()
274 hash, &prealloc, alloc_flags); in stack_depot_save()
284 } else if (prealloc) { in stack_depot_save()
289 WARN_ON(!init_stack_slab(&prealloc)); in stack_depot_save()
294 if (prealloc) { in stack_depot_save()
296 free_pages((unsigned long)prealloc, STACK_ALLOC_ORDER); in stack_depot_save()