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