Lines Matching refs:parent_proc
468 ProcDesc* parent_proc; in memcheck_fork() local
475 parent_proc = get_current_process(); in memcheck_fork()
477 parent_proc = get_process_from_tid(tgid); in memcheck_fork()
480 if (parent_proc == NULL) { in memcheck_fork()
486 if (parent_proc->pid != get_current_process()->pid) { in memcheck_fork()
488 tgid, new_pid, parent_proc->image_path, parent_proc->pid, in memcheck_fork()
492 new_proc = create_new_process(new_pid, parent_proc->pid); in memcheck_fork()
499 procdesc_set_image_path(new_proc, parent_proc->image_path, 0); in memcheck_fork()
502 tgid, new_pid, parent_proc->image_path, parent_proc->pid, current_tid); in memcheck_fork()
508 ProcDesc* parent_proc; in memcheck_clone() local
514 parent_proc = get_current_process(); in memcheck_clone()
516 parent_proc = get_process_from_tid(tgid); in memcheck_clone()
519 if (parent_proc == NULL) { in memcheck_clone()
525 if (parent_proc->pid != get_current_process()->pid) { in memcheck_clone()
527 tgid, new_tid, parent_proc->image_path, parent_proc->pid, in memcheck_clone()
531 create_new_thread(parent_proc, new_tid); in memcheck_clone()
534 tgid, new_tid, parent_proc->image_path, parent_proc->pid, current_tid); in memcheck_clone()