Lines Matching refs:proc
58 get_arch_dep(struct process *proc) in get_arch_dep() argument
63 if (proc->e_machine == EM_X86_64) { in get_arch_dep()
64 proc->mask_32bit = 0; in get_arch_dep()
65 proc->personality = 1; in get_arch_dep()
67 proc->mask_32bit = 1; in get_arch_dep()
68 proc->personality = 0; in get_arch_dep()
70 proc->mask_32bit = 0; in get_arch_dep()
71 proc->personality = 0; in get_arch_dep()
78 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument
81 && WSTOPSIG(status) == (SIGTRAP | proc->tracesysgood)) { in syscall_p()
83 if (proc->callstack_depth > 0) in syscall_p()
84 elem = proc->callstack + proc->callstack_depth - 1; in syscall_p()
86 long int ret = ptrace(PTRACE_PEEKUSER, proc->pid, ORIG_XAX, 0); in syscall_p()
100 get_instruction_pointer(proc), errno); in syscall_p()
112 arch_type_sizeof(struct process *proc, struct arg_type_info *info) in arch_type_sizeof() argument
114 if (proc == NULL) in arch_type_sizeof()
135 return proc->e_machine == EM_X86_64 ? 8 : 4; in arch_type_sizeof()
154 arch_type_alignof(struct process *proc, struct arg_type_info *info) in arch_type_alignof() argument
156 if (proc == NULL) in arch_type_alignof()
179 return proc->e_machine == EM_X86_64 ? 8 : 4; in arch_type_alignof()
184 return proc->e_machine == EM_X86_64 ? 8 : 4; in arch_type_alignof()