Lines Matching refs:vm_struct
198 static DEFINE_PER_CPU(struct vm_struct *, cached_stacks[NR_CACHED_STACKS]);
208 struct vm_struct *stack_vm_area;
211 static struct vm_struct *alloc_thread_stack_node_from_cache(struct task_struct *tsk, int node) in alloc_thread_stack_node_from_cache()
213 struct vm_struct *vm_area; in alloc_thread_stack_node_from_cache()
238 static bool try_release_thread_stack_to_cache(struct vm_struct *vm_area) in try_release_thread_stack_to_cache()
262 struct vm_struct *tmp = NULL; in try_release_thread_stack_to_cache()
274 struct vm_struct *vm_area = vm_stack->stack_vm_area; in thread_stack_free_rcu()
292 struct vm_struct **cached_vm_stack_areas = per_cpu_ptr(cached_stacks, cpu); in free_vm_stack_cache()
296 struct vm_struct *vm_area = cached_vm_stack_areas[i]; in free_vm_stack_cache()
308 static int memcg_charge_kernel_stack(struct vm_struct *vm_area) in memcg_charge_kernel_stack()
331 struct vm_struct *vm_area; in alloc_thread_stack_node()
483 struct vm_struct *vm_area = task_stack_vm_area(tsk); in account_kernel_stack()
503 struct vm_struct *vm_area; in exit_task_stack_account()