Lines Matching refs:prealloc
76 static bool init_stack_slab(void **prealloc) in init_stack_slab() argument
78 if (!*prealloc) in init_stack_slab()
87 stack_slabs[depot_index] = *prealloc; in init_stack_slab()
88 *prealloc = NULL; in init_stack_slab()
92 stack_slabs[depot_index + 1] = *prealloc; in init_stack_slab()
93 *prealloc = NULL; in init_stack_slab()
106 u32 hash, void **prealloc, gfp_t alloc_flags) in depot_alloc_stack() argument
128 init_stack_slab(prealloc); in depot_alloc_stack()
266 void *prealloc = NULL; in stack_depot_save() local
305 prealloc = page_address(page); in stack_depot_save()
314 hash, &prealloc, alloc_flags); in stack_depot_save()
324 } else if (prealloc) { in stack_depot_save()
329 WARN_ON(!init_stack_slab(&prealloc)); in stack_depot_save()
334 if (prealloc) { in stack_depot_save()
336 free_pages((unsigned long)prealloc, STACK_ALLOC_ORDER); in stack_depot_save()