This source file includes following definitions.
- arch_alloc_vmap_stack
   1 
   2 
   3 #ifndef __ASM_VMAP_STACK_H
   4 #define __ASM_VMAP_STACK_H
   5 
   6 #include <linux/bug.h>
   7 #include <linux/gfp.h>
   8 #include <linux/kconfig.h>
   9 #include <linux/vmalloc.h>
  10 #include <asm/memory.h>
  11 #include <asm/pgtable.h>
  12 #include <asm/thread_info.h>
  13 
  14 
  15 
  16 
  17 
  18 static inline unsigned long *arch_alloc_vmap_stack(size_t stack_size, int node)
  19 {
  20         BUILD_BUG_ON(!IS_ENABLED(CONFIG_VMAP_STACK));
  21 
  22         return __vmalloc_node_range(stack_size, THREAD_ALIGN,
  23                                     VMALLOC_START, VMALLOC_END,
  24                                     THREADINFO_GFP, PAGE_KERNEL, 0, node,
  25                                     __builtin_return_address(0));
  26 }
  27 
  28 #endif