Lines Matching refs:retp
53 os_process_clone(struct process *retp, struct process *proc) in os_process_clone() argument
78 arch_process_clone(struct process *retp, struct process *proc) in arch_process_clone() argument
358 process_clone(struct process *retp, struct process *proc, pid_t pid) in process_clone() argument
360 if (process_bare_init(retp, proc->filename, pid, 0) < 0) { in process_clone()
367 retp->tracesysgood = proc->tracesysgood; in process_clone()
368 retp->e_machine = proc->e_machine; in process_clone()
369 retp->e_class = proc->e_class; in process_clone()
372 if (retp->leader != retp) in process_clone()
378 struct library **nlibp = &retp->libraries; in process_clone()
388 process_bare_destroy(retp, 0); in process_clone()
391 for (lib = retp->libraries; lib != NULL; ) { in process_clone()
407 .new_proc = retp, in process_clone()
418 memcpy(retp->callstack, proc->callstack, sizeof(retp->callstack)); in process_clone()
419 retp->callstack_depth = proc->callstack_depth; in process_clone()
422 for (i = 0; i < retp->callstack_depth; ++i) { in process_clone()
423 struct callstack_element *elem = &retp->callstack[i]; in process_clone()
426 struct fetch_context *nctx = fetch_arg_clone(retp, ctx); in process_clone()
431 nctx = retp->callstack[j].fetch_context; in process_clone()
446 nargs = retp->callstack[j].arguments; in process_clone()
466 int rc = proc_find_symbol(retp, libfunc, in process_clone()
474 if (os_process_clone(retp, proc) < 0) { in process_clone()
475 private_process_destroy(retp, 0); in process_clone()
478 if (arch_process_clone(retp, proc) < 0) { in process_clone()
479 os_process_destroy(retp); in process_clone()
480 private_process_destroy(retp, 0); in process_clone()