Lines Matching refs:node

178 static inline struct task_struct *alloc_task_struct_node(int node)  in alloc_task_struct_node()  argument
180 return kmem_cache_alloc_node(task_struct_cachep, GFP_KERNEL, node); in alloc_task_struct_node()
277 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node() argument
316 node, __builtin_return_address(0)); in alloc_thread_stack_node()
359 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node() argument
361 struct page *page = alloc_pages_node(node, THREADINFO_GFP, in alloc_thread_stack_node()
394 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node() argument
397 stack = kmem_cache_alloc_node(thread_stack_cache, THREADINFO_GFP, node); in alloc_thread_stack_node()
1122 static struct task_struct *dup_task_struct(struct task_struct *orig, int node) in dup_task_struct() argument
1127 if (node == NUMA_NO_NODE) in dup_task_struct()
1128 node = tsk_fork_get_node(orig); in dup_task_struct()
1129 tsk = alloc_task_struct_node(node); in dup_task_struct()
1137 err = alloc_thread_stack_node(tsk, node); in dup_task_struct()
1146 err = scs_prepare(tsk, node); in dup_task_struct()
1171 dup_user_cpus_ptr(tsk, orig, node); in dup_task_struct()
2177 int node, in copy_process() argument
2248 INIT_HLIST_NODE(&delayed.node); in copy_process()
2252 hlist_add_head(&delayed.node, &current->signal->multiprocess); in copy_process()
2260 p = dup_task_struct(current, node); in copy_process()
2649 hlist_del_init(&delayed.node); in copy_process()
2732 hlist_del_init(&delayed.node); in copy_process()
2779 struct task_struct *create_io_thread(int (*fn)(void *), void *arg, int node) in create_io_thread() argument
2793 return copy_process(NULL, 0, node, &args); in create_io_thread()