• Home
  • Raw
  • Download

Lines Matching refs:stack

232 	struct vm_stack *vm_stack = tsk->stack;  in thread_stack_delayed_free()
284 void *stack; in alloc_thread_stack_node() local
298 stack = kasan_reset_tag(s->addr); in alloc_thread_stack_node()
301 memset(stack, 0, THREAD_SIZE); in alloc_thread_stack_node()
309 tsk->stack = stack; in alloc_thread_stack_node()
318 stack = __vmalloc_node_range(THREAD_SIZE, THREAD_ALIGN, in alloc_thread_stack_node()
323 if (!stack) in alloc_thread_stack_node()
326 vm = find_vm_area(stack); in alloc_thread_stack_node()
328 vfree(stack); in alloc_thread_stack_node()
337 stack = kasan_reset_tag(stack); in alloc_thread_stack_node()
338 tsk->stack = stack; in alloc_thread_stack_node()
347 tsk->stack = NULL; in free_thread_stack()
360 struct rcu_head *rh = tsk->stack; in thread_stack_delayed_free()
371 tsk->stack = kasan_reset_tag(page_address(page)); in alloc_thread_stack_node()
380 tsk->stack = NULL; in free_thread_stack()
395 struct rcu_head *rh = tsk->stack; in thread_stack_delayed_free()
402 unsigned long *stack; in alloc_thread_stack_node() local
403 stack = kmem_cache_alloc_node(thread_stack_cache, THREADINFO_GFP, node); in alloc_thread_stack_node()
404 stack = kasan_reset_tag(stack); in alloc_thread_stack_node()
405 tsk->stack = stack; in alloc_thread_stack_node()
406 return stack ? 0 : -ENOMEM; in alloc_thread_stack_node()
412 tsk->stack = NULL; in free_thread_stack()
428 unsigned long *stack; in alloc_thread_stack_node() local
430 stack = arch_alloc_thread_stack_node(tsk, node); in alloc_thread_stack_node()
431 tsk->stack = stack; in alloc_thread_stack_node()
432 return stack ? 0 : -ENOMEM; in alloc_thread_stack_node()
438 tsk->stack = NULL; in free_thread_stack()
569 void *stack = task_stack_page(tsk); in account_kernel_stack() local
572 mod_lruvec_kmem_state(stack, NR_KERNEL_STACK_KB, in account_kernel_stack()
2925 .stack = newsp, in SYSCALL_DEFINE5()
2987 .stack = args.stack, in copy_clone_args_from_user()
3014 if (kargs->stack == 0) { in clone3_stack_valid()
3021 if (!access_ok((void __user *)kargs->stack, kargs->stack_size)) in clone3_stack_valid()
3025 kargs->stack += kargs->stack_size; in clone3_stack_valid()