Lines Matching refs:orig
480 struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig)
487 ASSERT_EXCLUSIVE_WRITER(orig->vm_flags);
488 ASSERT_EXCLUSIVE_WRITER(orig->vm_file);
490 * orig->shared.rb may be modified concurrently, but the clone
493 data_race(memcpy(new, orig, sizeof(*new)));
500 dup_anon_vma_name(orig, new);
1100 static struct task_struct *dup_task_struct(struct task_struct *orig, int node)
1106 node = tsk_fork_get_node(orig);
1111 err = arch_dup_task_struct(tsk, orig);
1131 * the sighand lock in case orig has changed between now and
1138 setup_thread_stack(tsk, orig);
1147 if (orig->cpus_ptr == &orig->cpus_mask)
1149 dup_user_cpus_ptr(tsk, orig, node);