Lines Matching refs:proc

65 fetch_register_banks(struct process *proc, struct fetch_context *ctx,  in fetch_register_banks()  argument
72 if (ptrace(PTRACE_PEEKUSR_AREA, proc->pid, &parea, NULL) < 0) { in fetch_register_banks()
85 fetch_context_init(struct process *proc, struct fetch_context *context, in fetch_context_init() argument
90 return fetch_register_banks(proc, context, syscall_enter); in fetch_context_init()
94 arch_fetch_arg_init(enum tof type, struct process *proc, in arch_fetch_arg_init() argument
99 || fetch_context_init(proc, context, type == LT_TOF_SYSCALL) < 0) { in arch_fetch_arg_init()
106 context->stack_pointer = get_stack_pointer(proc) in arch_fetch_arg_init()
115 arch_fetch_arg_clone(struct process *proc, in arch_fetch_arg_clone() argument
126 allocate_stack_slot(struct fetch_context *ctx, struct process *proc, in allocate_stack_slot() argument
158 allocate_gpr(struct fetch_context *ctx, struct process *proc, in allocate_gpr() argument
163 return allocate_stack_slot(ctx, proc, info, valuep, sz); in allocate_gpr()
170 allocate_gpr_pair(struct fetch_context *ctx, struct process *proc, in allocate_gpr_pair() argument
179 return allocate_stack_slot(ctx, proc, info, valuep, sz); in allocate_gpr_pair()
201 allocate_fpr(struct fetch_context *ctx, struct process *proc, in allocate_fpr() argument
208 return allocate_stack_slot(ctx, proc, info, valuep, sz); in allocate_fpr()
222 struct process *proc, in arch_fetch_arg_next() argument
225 size_t sz = type_sizeof(proc, info); in arch_fetch_arg_next()
239 return allocate_fpr(ctx, proc, info, valuep, sz); in arch_fetch_arg_next()
247 return allocate_gpr(ctx, proc, info, valuep, sz); in arch_fetch_arg_next()
249 return allocate_gpr_pair(ctx, proc, info, valuep, sz); in arch_fetch_arg_next()
266 return allocate_gpr(ctx, proc, info, valuep, sz); in arch_fetch_arg_next()
277 struct process *proc, struct arg_type_info *info, in arch_fetch_retval() argument
287 if (fetch_context_init(proc, ctx, false) < 0) in arch_fetch_retval()
289 return arch_fetch_arg_next(ctx, type, proc, info, valuep); in arch_fetch_retval()