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