Lines Matching refs:orig
507 struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig) in vm_area_dup() argument
514 ASSERT_EXCLUSIVE_WRITER(orig->vm_flags); in vm_area_dup()
515 ASSERT_EXCLUSIVE_WRITER(orig->vm_file); in vm_area_dup()
520 data_race(memcpy(new, orig, sizeof(*new))); in vm_area_dup()
526 dup_anon_vma_name(orig, new); in vm_area_dup()
1065 static struct task_struct *dup_task_struct(struct task_struct *orig, int node) in dup_task_struct() argument
1071 node = tsk_fork_get_node(orig); in dup_task_struct()
1076 err = arch_dup_task_struct(tsk, orig); in dup_task_struct()
1103 setup_thread_stack(tsk, orig); in dup_task_struct()
1112 if (orig->cpus_ptr == &orig->cpus_mask) in dup_task_struct()
1114 dup_user_cpus_ptr(tsk, orig, node); in dup_task_struct()
1159 trace_android_vh_dup_task_struct(tsk, orig); in dup_task_struct()