regs               25 arch/x86/include/asm/a.out-core.h static inline void aout_dump_thread(struct pt_regs *regs, struct user *dump)
regs               30 arch/x86/include/asm/a.out-core.h 	dump->start_stack = regs->sp & ~(PAGE_SIZE - 1);
regs               42 arch/x86/include/asm/a.out-core.h 	dump->regs.bx = regs->bx;
regs               43 arch/x86/include/asm/a.out-core.h 	dump->regs.cx = regs->cx;
regs               44 arch/x86/include/asm/a.out-core.h 	dump->regs.dx = regs->dx;
regs               45 arch/x86/include/asm/a.out-core.h 	dump->regs.si = regs->si;
regs               46 arch/x86/include/asm/a.out-core.h 	dump->regs.di = regs->di;
regs               47 arch/x86/include/asm/a.out-core.h 	dump->regs.bp = regs->bp;
regs               48 arch/x86/include/asm/a.out-core.h 	dump->regs.ax = regs->ax;
regs               49 arch/x86/include/asm/a.out-core.h 	dump->regs.ds = (u16)regs->ds;
regs               50 arch/x86/include/asm/a.out-core.h 	dump->regs.es = (u16)regs->es;
regs               51 arch/x86/include/asm/a.out-core.h 	dump->regs.fs = (u16)regs->fs;
regs               52 arch/x86/include/asm/a.out-core.h 	dump->regs.gs = get_user_gs(regs);
regs               53 arch/x86/include/asm/a.out-core.h 	dump->regs.orig_ax = regs->orig_ax;
regs               54 arch/x86/include/asm/a.out-core.h 	dump->regs.ip = regs->ip;
regs               55 arch/x86/include/asm/a.out-core.h 	dump->regs.cs = (u16)regs->cs;
regs               56 arch/x86/include/asm/a.out-core.h 	dump->regs.flags = regs->flags;
regs               57 arch/x86/include/asm/a.out-core.h 	dump->regs.sp = regs->sp;
regs               58 arch/x86/include/asm/a.out-core.h 	dump->regs.ss = (u16)regs->ss;
regs               60 arch/x86/include/asm/a.out-core.h 	dump->u_fpvalid = dump_fpu(regs, &dump->i387);
regs              242 arch/x86/include/asm/alternative.h extern int poke_int3_handler(struct pt_regs *regs);
regs              120 arch/x86/include/asm/elf.h #define ELF_CORE_COPY_REGS_COMMON(pr_reg, regs)	\
regs              122 arch/x86/include/asm/elf.h 	pr_reg[0] = regs->bx;			\
regs              123 arch/x86/include/asm/elf.h 	pr_reg[1] = regs->cx;			\
regs              124 arch/x86/include/asm/elf.h 	pr_reg[2] = regs->dx;			\
regs              125 arch/x86/include/asm/elf.h 	pr_reg[3] = regs->si;			\
regs              126 arch/x86/include/asm/elf.h 	pr_reg[4] = regs->di;			\
regs              127 arch/x86/include/asm/elf.h 	pr_reg[5] = regs->bp;			\
regs              128 arch/x86/include/asm/elf.h 	pr_reg[6] = regs->ax;			\
regs              129 arch/x86/include/asm/elf.h 	pr_reg[7] = regs->ds & 0xffff;		\
regs              130 arch/x86/include/asm/elf.h 	pr_reg[8] = regs->es & 0xffff;		\
regs              131 arch/x86/include/asm/elf.h 	pr_reg[9] = regs->fs & 0xffff;		\
regs              132 arch/x86/include/asm/elf.h 	pr_reg[11] = regs->orig_ax;		\
regs              133 arch/x86/include/asm/elf.h 	pr_reg[12] = regs->ip;			\
regs              134 arch/x86/include/asm/elf.h 	pr_reg[13] = regs->cs & 0xffff;		\
regs              135 arch/x86/include/asm/elf.h 	pr_reg[14] = regs->flags;		\
regs              136 arch/x86/include/asm/elf.h 	pr_reg[15] = regs->sp;			\
regs              137 arch/x86/include/asm/elf.h 	pr_reg[16] = regs->ss & 0xffff;		\
regs              140 arch/x86/include/asm/elf.h #define ELF_CORE_COPY_REGS(pr_reg, regs)	\
regs              142 arch/x86/include/asm/elf.h 	ELF_CORE_COPY_REGS_COMMON(pr_reg, regs);\
regs              143 arch/x86/include/asm/elf.h 	pr_reg[10] = get_user_gs(regs);		\
regs              146 arch/x86/include/asm/elf.h #define ELF_CORE_COPY_KERNEL_REGS(pr_reg, regs)	\
regs              148 arch/x86/include/asm/elf.h 	ELF_CORE_COPY_REGS_COMMON(pr_reg, regs);\
regs              172 arch/x86/include/asm/elf.h 				   struct pt_regs *regs, const u16 ds)
regs              174 arch/x86/include/asm/elf.h 	regs->ax = regs->bx = regs->cx = regs->dx = 0;
regs              175 arch/x86/include/asm/elf.h 	regs->si = regs->di = regs->bp = 0;
regs              176 arch/x86/include/asm/elf.h 	regs->r8 = regs->r9 = regs->r10 = regs->r11 = 0;
regs              177 arch/x86/include/asm/elf.h 	regs->r12 = regs->r13 = regs->r14 = regs->r15 = 0;
regs              186 arch/x86/include/asm/elf.h #define	COMPAT_ELF_PLAT_INIT(regs, load_addr)		\
regs              187 arch/x86/include/asm/elf.h 	elf_common_init(&current->thread, regs, __USER_DS)
regs              189 arch/x86/include/asm/elf.h void start_thread_ia32(struct pt_regs *regs, u32 new_ip, u32 new_sp);
regs              204 arch/x86/include/asm/elf.h #define ELF_CORE_COPY_REGS(pr_reg, regs)			\
regs              207 arch/x86/include/asm/elf.h 	(pr_reg)[0] = (regs)->r15;				\
regs              208 arch/x86/include/asm/elf.h 	(pr_reg)[1] = (regs)->r14;				\
regs              209 arch/x86/include/asm/elf.h 	(pr_reg)[2] = (regs)->r13;				\
regs              210 arch/x86/include/asm/elf.h 	(pr_reg)[3] = (regs)->r12;				\
regs              211 arch/x86/include/asm/elf.h 	(pr_reg)[4] = (regs)->bp;				\
regs              212 arch/x86/include/asm/elf.h 	(pr_reg)[5] = (regs)->bx;				\
regs              213 arch/x86/include/asm/elf.h 	(pr_reg)[6] = (regs)->r11;				\
regs              214 arch/x86/include/asm/elf.h 	(pr_reg)[7] = (regs)->r10;				\
regs              215 arch/x86/include/asm/elf.h 	(pr_reg)[8] = (regs)->r9;				\
regs              216 arch/x86/include/asm/elf.h 	(pr_reg)[9] = (regs)->r8;				\
regs              217 arch/x86/include/asm/elf.h 	(pr_reg)[10] = (regs)->ax;				\
regs              218 arch/x86/include/asm/elf.h 	(pr_reg)[11] = (regs)->cx;				\
regs              219 arch/x86/include/asm/elf.h 	(pr_reg)[12] = (regs)->dx;				\
regs              220 arch/x86/include/asm/elf.h 	(pr_reg)[13] = (regs)->si;				\
regs              221 arch/x86/include/asm/elf.h 	(pr_reg)[14] = (regs)->di;				\
regs              222 arch/x86/include/asm/elf.h 	(pr_reg)[15] = (regs)->orig_ax;				\
regs              223 arch/x86/include/asm/elf.h 	(pr_reg)[16] = (regs)->ip;				\
regs              224 arch/x86/include/asm/elf.h 	(pr_reg)[17] = (regs)->cs;				\
regs              225 arch/x86/include/asm/elf.h 	(pr_reg)[18] = (regs)->flags;				\
regs              226 arch/x86/include/asm/elf.h 	(pr_reg)[19] = (regs)->sp;				\
regs              227 arch/x86/include/asm/elf.h 	(pr_reg)[20] = (regs)->ss;				\
regs               31 arch/x86/include/asm/fpu-internal.h 			compat_sigset_t *set, struct pt_regs *regs);
regs               33 arch/x86/include/asm/fpu-internal.h 		     compat_sigset_t *set, struct pt_regs *regs);
regs               69 arch/x86/include/asm/ftrace.h int ftrace_int3_handler(struct pt_regs *regs);
regs               92 arch/x86/include/asm/ftrace.h static inline bool arch_trace_is_compat_syscall(struct pt_regs *regs)
regs               35 arch/x86/include/asm/irq.h extern bool handle_irq(unsigned irq, struct pt_regs *regs);
regs               37 arch/x86/include/asm/irq.h extern __visible unsigned int do_IRQ(struct pt_regs *regs);
regs               27 arch/x86/include/asm/kdebug.h extern void show_trace(struct task_struct *t, struct pt_regs *regs,
regs               29 arch/x86/include/asm/kdebug.h extern void __show_regs(struct pt_regs *regs, int all);
regs               87 arch/x86/include/asm/kgdb.h 			struct pt_regs *regs, long err, int trap, int sig);
regs                8 arch/x86/include/asm/kmemcheck.h bool kmemcheck_active(struct pt_regs *regs);
regs               10 arch/x86/include/asm/kmemcheck.h void kmemcheck_show(struct pt_regs *regs);
regs               11 arch/x86/include/asm/kmemcheck.h void kmemcheck_hide(struct pt_regs *regs);
regs               13 arch/x86/include/asm/kmemcheck.h bool kmemcheck_fault(struct pt_regs *regs,
regs               15 arch/x86/include/asm/kmemcheck.h bool kmemcheck_trap(struct pt_regs *regs);
regs               17 arch/x86/include/asm/kmemcheck.h static inline bool kmemcheck_active(struct pt_regs *regs)
regs               22 arch/x86/include/asm/kmemcheck.h static inline void kmemcheck_show(struct pt_regs *regs)
regs               26 arch/x86/include/asm/kmemcheck.h static inline void kmemcheck_hide(struct pt_regs *regs)
regs               30 arch/x86/include/asm/kmemcheck.h static inline bool kmemcheck_fault(struct pt_regs *regs,
regs               36 arch/x86/include/asm/kmemcheck.h static inline bool kmemcheck_trap(struct pt_regs *regs)
regs              115 arch/x86/include/asm/kprobes.h extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
regs              118 arch/x86/include/asm/kprobes.h extern int kprobe_int3_handler(struct pt_regs *regs);
regs              119 arch/x86/include/asm/kprobes.h extern int kprobe_debug_handler(struct pt_regs *regs);
regs              344 arch/x86/include/asm/kvm_host.h 	unsigned long regs[NR_VCPU_REGS];
regs               14 arch/x86/include/asm/math_emu.h 		struct pt_regs *regs;
regs               19 arch/x86/include/asm/mshyperv.h void hyperv_vector_handler(struct pt_regs *regs);
regs               30 arch/x86/include/asm/msr.h 	u32 *regs;
regs              110 arch/x86/include/asm/msr.h extern int rdmsr_safe_regs(u32 regs[8]);
regs              111 arch/x86/include/asm/msr.h extern int wrmsr_safe_regs(u32 regs[8]);
regs              231 arch/x86/include/asm/msr.h int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8]);
regs              232 arch/x86/include/asm/msr.h int wrmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8]);
regs              281 arch/x86/include/asm/msr.h static inline int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8])
regs              283 arch/x86/include/asm/msr.h 	return rdmsr_safe_regs(regs);
regs              285 arch/x86/include/asm/msr.h static inline int wrmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8])
regs              287 arch/x86/include/asm/msr.h 	return wrmsr_safe_regs(regs);
regs              231 arch/x86/include/asm/perf_event.h extern unsigned long perf_instruction_pointer(struct pt_regs *regs);
regs              232 arch/x86/include/asm/perf_event.h extern unsigned long perf_misc_flags(struct pt_regs *regs);
regs              233 arch/x86/include/asm/perf_event.h #define perf_misc_flags(regs)	perf_misc_flags(regs)
regs              241 arch/x86/include/asm/perf_event.h #define perf_arch_fetch_caller_regs(regs, __ip)		{	\
regs              242 arch/x86/include/asm/perf_event.h 	(regs)->ip = (__ip);					\
regs              243 arch/x86/include/asm/perf_event.h 	(regs)->bp = caller_frame_pointer();			\
regs              244 arch/x86/include/asm/perf_event.h 	(regs)->cs = __KERNEL_CS;				\
regs              245 arch/x86/include/asm/perf_event.h 	regs->flags = 0;					\
regs              248 arch/x86/include/asm/perf_event.h 		: "=m" ((regs)->sp)				\
regs              938 arch/x86/include/asm/processor.h extern void start_thread(struct pt_regs *regs, unsigned long new_ip,
regs              984 arch/x86/include/asm/processor.h void df_debug(struct pt_regs *regs, long error_code);
regs               70 arch/x86/include/asm/ptrace.h extern unsigned long profile_pc(struct pt_regs *regs);
regs               74 arch/x86/include/asm/ptrace.h convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs);
regs               75 arch/x86/include/asm/ptrace.h extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs,
regs               86 arch/x86/include/asm/ptrace.h static inline unsigned long regs_return_value(struct pt_regs *regs)
regs               88 arch/x86/include/asm/ptrace.h 	return regs->ax;
regs               98 arch/x86/include/asm/ptrace.h static inline int user_mode(struct pt_regs *regs)
regs              101 arch/x86/include/asm/ptrace.h 	return (regs->cs & SEGMENT_RPL_MASK) == USER_RPL;
regs              103 arch/x86/include/asm/ptrace.h 	return !!(regs->cs & 3);
regs              107 arch/x86/include/asm/ptrace.h static inline int user_mode_vm(struct pt_regs *regs)
regs              110 arch/x86/include/asm/ptrace.h 	return ((regs->cs & SEGMENT_RPL_MASK) | (regs->flags & X86_VM_MASK)) >=
regs              113 arch/x86/include/asm/ptrace.h 	return user_mode(regs);
regs              117 arch/x86/include/asm/ptrace.h static inline int v8086_mode(struct pt_regs *regs)
regs              120 arch/x86/include/asm/ptrace.h 	return (regs->flags & X86_VM_MASK);
regs              127 arch/x86/include/asm/ptrace.h static inline bool user_64bit_mode(struct pt_regs *regs)
regs              134 arch/x86/include/asm/ptrace.h 	return regs->cs == __USER_CS;
regs              137 arch/x86/include/asm/ptrace.h 	return regs->cs == __USER_CS || regs->cs == pv_info.extra_user_64bit_cs;
regs              150 arch/x86/include/asm/ptrace.h extern unsigned long kernel_stack_pointer(struct pt_regs *regs);
regs              152 arch/x86/include/asm/ptrace.h static inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
regs              154 arch/x86/include/asm/ptrace.h 	return regs->sp;
regs              158 arch/x86/include/asm/ptrace.h #define GET_IP(regs) ((regs)->ip)
regs              159 arch/x86/include/asm/ptrace.h #define GET_FP(regs) ((regs)->bp)
regs              160 arch/x86/include/asm/ptrace.h #define GET_USP(regs) ((regs)->sp)
regs              178 arch/x86/include/asm/ptrace.h static inline unsigned long regs_get_register(struct pt_regs *regs,
regs              189 arch/x86/include/asm/ptrace.h 	    regs->cs == __KERNEL_CS)
regs              190 arch/x86/include/asm/ptrace.h 		return kernel_stack_pointer(regs);
regs              192 arch/x86/include/asm/ptrace.h 	return *(unsigned long *)((unsigned long)regs + offset);
regs              203 arch/x86/include/asm/ptrace.h static inline int regs_within_kernel_stack(struct pt_regs *regs,
regs              207 arch/x86/include/asm/ptrace.h 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
regs              219 arch/x86/include/asm/ptrace.h static inline unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs,
regs              222 arch/x86/include/asm/ptrace.h 	unsigned long *addr = (unsigned long *)kernel_stack_pointer(regs);
regs              224 arch/x86/include/asm/ptrace.h 	if (regs_within_kernel_stack(regs, (unsigned long)addr))
regs               19 arch/x86/include/asm/reboot.h void native_machine_crash_shutdown(struct pt_regs *regs);
regs              253 arch/x86/include/asm/segment.h #define get_user_gs(regs)	(u16)({unsigned long v; savesegment(gs, v); v;})
regs              254 arch/x86/include/asm/segment.h #define set_user_gs(regs, v)	loadsegment(gs, (unsigned long)(v))
regs              259 arch/x86/include/asm/segment.h #define get_user_gs(regs)	(u16)((regs)->gs)
regs              260 arch/x86/include/asm/segment.h #define set_user_gs(regs, v)	do { (regs)->gs = (v); } while (0)
regs               15 arch/x86/include/asm/sighandling.h void signal_fault(struct pt_regs *regs, void __user *frame, char *where);
regs               17 arch/x86/include/asm/sighandling.h int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc,
regs               20 arch/x86/include/asm/sighandling.h 		     struct pt_regs *regs, unsigned long mask);
regs               46 arch/x86/include/asm/stacktrace.h void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
regs               60 arch/x86/include/asm/stacktrace.h stack_frame(struct task_struct *task, struct pt_regs *regs)
regs               64 arch/x86/include/asm/stacktrace.h 	if (regs)
regs               65 arch/x86/include/asm/stacktrace.h 		return regs->bp;
regs               78 arch/x86/include/asm/stacktrace.h stack_frame(struct task_struct *task, struct pt_regs *regs)
regs               85 arch/x86/include/asm/stacktrace.h show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs,
regs               89 arch/x86/include/asm/stacktrace.h show_stack_log_lvl(struct task_struct *task, struct pt_regs *regs,
regs               21 arch/x86/include/asm/suspend_64.h 	struct pt_regs regs;
regs               31 arch/x86/include/asm/syscall.h static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
regs               33 arch/x86/include/asm/syscall.h 	return regs->orig_ax;
regs               37 arch/x86/include/asm/syscall.h 				    struct pt_regs *regs)
regs               39 arch/x86/include/asm/syscall.h 	regs->ax = regs->orig_ax;
regs               43 arch/x86/include/asm/syscall.h 				     struct pt_regs *regs)
regs               45 arch/x86/include/asm/syscall.h 	unsigned long error = regs->ax;
regs               62 arch/x86/include/asm/syscall.h 					    struct pt_regs *regs)
regs               64 arch/x86/include/asm/syscall.h 	return regs->ax;
regs               68 arch/x86/include/asm/syscall.h 					    struct pt_regs *regs,
regs               71 arch/x86/include/asm/syscall.h 	regs->ax = (long) error ?: val;
regs               77 arch/x86/include/asm/syscall.h 					 struct pt_regs *regs,
regs               82 arch/x86/include/asm/syscall.h 	memcpy(args, &regs->bx + i, n * sizeof(args[0]));
regs               86 arch/x86/include/asm/syscall.h 					 struct pt_regs *regs,
regs               91 arch/x86/include/asm/syscall.h 	memcpy(&regs->bx + i, args, n * sizeof(args[0]));
regs              102 arch/x86/include/asm/syscall.h 					 struct pt_regs *regs,
regs              111 arch/x86/include/asm/syscall.h 			*args++ = regs->bx;
regs              114 arch/x86/include/asm/syscall.h 			*args++ = regs->cx;
regs              117 arch/x86/include/asm/syscall.h 			*args++ = regs->dx;
regs              120 arch/x86/include/asm/syscall.h 			*args++ = regs->si;
regs              123 arch/x86/include/asm/syscall.h 			*args++ = regs->di;
regs              126 arch/x86/include/asm/syscall.h 			*args++ = regs->bp;
regs              138 arch/x86/include/asm/syscall.h 			*args++ = regs->di;
regs              141 arch/x86/include/asm/syscall.h 			*args++ = regs->si;
regs              144 arch/x86/include/asm/syscall.h 			*args++ = regs->dx;
regs              147 arch/x86/include/asm/syscall.h 			*args++ = regs->r10;
regs              150 arch/x86/include/asm/syscall.h 			*args++ = regs->r8;
regs              153 arch/x86/include/asm/syscall.h 			*args++ = regs->r9;
regs              163 arch/x86/include/asm/syscall.h 					 struct pt_regs *regs,
regs              172 arch/x86/include/asm/syscall.h 			regs->bx = *args++;
regs              175 arch/x86/include/asm/syscall.h 			regs->cx = *args++;
regs              178 arch/x86/include/asm/syscall.h 			regs->dx = *args++;
regs              181 arch/x86/include/asm/syscall.h 			regs->si = *args++;
regs              184 arch/x86/include/asm/syscall.h 			regs->di = *args++;
regs              187 arch/x86/include/asm/syscall.h 			regs->bp = *args++;
regs              199 arch/x86/include/asm/syscall.h 			regs->di = *args++;
regs              202 arch/x86/include/asm/syscall.h 			regs->si = *args++;
regs              205 arch/x86/include/asm/syscall.h 			regs->dx = *args++;
regs              208 arch/x86/include/asm/syscall.h 			regs->r10 = *args++;
regs              211 arch/x86/include/asm/syscall.h 			regs->r8 = *args++;
regs              214 arch/x86/include/asm/syscall.h 			regs->r9 = *args++;
regs               14 arch/x86/include/asm/trace/exceptions.h 	TP_PROTO(unsigned long address, struct pt_regs *regs,
regs               17 arch/x86/include/asm/trace/exceptions.h 	TP_ARGS(address, regs, error_code),
regs               27 arch/x86/include/asm/trace/exceptions.h 		__entry->ip = regs->ip;
regs               37 arch/x86/include/asm/trace/exceptions.h 	TP_PROTO(unsigned long address,	struct pt_regs *regs,	\
regs               39 arch/x86/include/asm/trace/exceptions.h 	TP_ARGS(address, regs, error_code),			\
regs               79 arch/x86/include/asm/traps.h static inline void trace_do_page_fault(struct pt_regs *regs, unsigned long error)
regs               81 arch/x86/include/asm/traps.h 	do_page_fault(regs, error);
regs              112 arch/x86/include/asm/uaccess.h extern int fixup_exception(struct pt_regs *regs);
regs               46 arch/x86/include/asm/user32.h   struct user_regs_struct32 regs; /* Where the registers are actually stored */
regs              103 arch/x86/include/asm/user_32.h   struct user_regs_struct regs;	/* Where the registers are actually stored */
regs              105 arch/x86/include/asm/user_64.h   struct user_regs_struct regs;	/* Where the registers are actually stored */
regs               32 arch/x86/include/asm/vm86.h 	struct kernel_vm86_regs regs;
regs               22 arch/x86/include/asm/vsyscall.h extern bool emulate_vsyscall(struct pt_regs *regs, unsigned long address);
regs               15 arch/x86/include/asm/xen/events.h static inline int xen_irqs_disabled(struct pt_regs *regs)
regs               17 arch/x86/include/asm/xen/events.h 	return raw_irqs_disabled_flags(regs->flags);
regs              122 arch/x86/include/uapi/asm/kvm.h 	char regs[KVM_APIC_REG_SIZE];
regs               97 arch/x86/include/uapi/asm/vm86.h 	struct vm86_regs regs;
regs              119 arch/x86/include/uapi/asm/vm86.h 	struct vm86_regs regs;
regs               16 include/asm-generic/ptrace.h #define GET_IP(regs) ((regs)->pc)
regs               19 include/asm-generic/ptrace.h #define SET_IP(regs, val) (GET_IP(regs) = (val))
regs               22 include/asm-generic/ptrace.h static inline unsigned long instruction_pointer(struct pt_regs *regs)
regs               24 include/asm-generic/ptrace.h 	return GET_IP(regs);
regs               26 include/asm-generic/ptrace.h static inline void instruction_pointer_set(struct pt_regs *regs,
regs               29 include/asm-generic/ptrace.h 	SET_IP(regs, val);
regs               33 include/asm-generic/ptrace.h #define profile_pc(regs) instruction_pointer(regs)
regs               38 include/asm-generic/ptrace.h #define GET_USP(regs) ((regs)->usp)
regs               41 include/asm-generic/ptrace.h #define SET_USP(regs, val) (GET_USP(regs) = (val))
regs               44 include/asm-generic/ptrace.h static inline unsigned long user_stack_pointer(struct pt_regs *regs)
regs               46 include/asm-generic/ptrace.h 	return GET_USP(regs);
regs               48 include/asm-generic/ptrace.h static inline void user_stack_pointer_set(struct pt_regs *regs,
regs               51 include/asm-generic/ptrace.h 	SET_USP(regs, val);
regs               56 include/asm-generic/ptrace.h #define GET_FP(regs) ((regs)->fp)
regs               59 include/asm-generic/ptrace.h #define SET_FP(regs, val) (GET_FP(regs) = (val))
regs               62 include/asm-generic/ptrace.h static inline unsigned long frame_pointer(struct pt_regs *regs)
regs               64 include/asm-generic/ptrace.h 	return GET_FP(regs);
regs               66 include/asm-generic/ptrace.h static inline void frame_pointer_set(struct pt_regs *regs,
regs               69 include/asm-generic/ptrace.h 	SET_FP(regs, val);
regs               41 include/asm-generic/syscall.h int syscall_get_nr(struct task_struct *task, struct pt_regs *regs);
regs               59 include/asm-generic/syscall.h void syscall_rollback(struct task_struct *task, struct pt_regs *regs);
regs               71 include/asm-generic/syscall.h long syscall_get_error(struct task_struct *task, struct pt_regs *regs);
regs               84 include/asm-generic/syscall.h long syscall_get_return_value(struct task_struct *task, struct pt_regs *regs);
regs              101 include/asm-generic/syscall.h void syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
regs              121 include/asm-generic/syscall.h void syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
regs              141 include/asm-generic/syscall.h void syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
regs               25 include/asm-generic/syscalls.h asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
regs              142 include/linux/amba/clcd.h 	void	(*decode)(struct clcd_fb *fb, struct clcd_regs *regs);
regs              181 include/linux/amba/clcd.h 	void __iomem		*regs;
regs              189 include/linux/amba/clcd.h static inline void clcdfb_decode(struct clcd_fb *fb, struct clcd_regs *regs)
regs              201 include/linux/amba/clcd.h 	regs->tim0 = val;
regs              210 include/linux/amba/clcd.h 	regs->tim1 = val;
regs              226 include/linux/amba/clcd.h 	regs->tim2 = val | ((cpl - 1) << 16);
regs              228 include/linux/amba/clcd.h 	regs->tim3 = fb->panel->tim3;
regs              278 include/linux/amba/clcd.h 	regs->cntl = val;
regs              279 include/linux/amba/clcd.h 	regs->pixclock = var->pixclock;
regs               16 include/linux/atmel-ssc.h 	void __iomem		*regs;
regs               65 include/linux/atmel_tc.h 	void __iomem		*regs;
regs              606 include/linux/bcma/bcma_driver_chipcommon.h 	void *regs;
regs               59 include/linux/binfmts.h 	struct pt_regs *regs;
regs               98 include/linux/bug.h enum bug_trap_type report_bug(unsigned long bug_addr, struct pt_regs *regs);
regs              106 include/linux/bug.h 					    struct pt_regs *regs)
regs               36 include/linux/debugfs.h 	const struct debugfs_reg32 *regs;
regs               95 include/linux/debugfs.h int debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs,
regs              236 include/linux/debugfs.h static inline int debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs,
regs               34 include/linux/dma/dw.h 	void __iomem	*regs;
regs               11 include/linux/elfcore.h static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs)
regs               14 include/linux/elfcore.h 	ELF_CORE_COPY_REGS((*elfregs), regs)
regs               16 include/linux/elfcore.h 	BUG_ON(sizeof(*elfregs) != sizeof(*regs));
regs               17 include/linux/elfcore.h 	*(struct pt_regs *)elfregs = *regs;
regs               21 include/linux/elfcore.h static inline void elf_core_copy_kernel_regs(elf_gregset_t *elfregs, struct pt_regs *regs)
regs               24 include/linux/elfcore.h 	ELF_CORE_COPY_KERNEL_REGS((*elfregs), regs);
regs               26 include/linux/elfcore.h 	elf_core_copy_regs(elfregs, regs);
regs               42 include/linux/elfcore.h static inline int elf_core_copy_task_fpregs(struct task_struct *t, struct pt_regs *regs, elf_fpregset_t *fpu)
regs               47 include/linux/elfcore.h 	return dump_fpu(regs, fpu);
regs               70 include/linux/fsl/bestcomm/bestcomm_priv.h 	struct mpc52xx_sdma __iomem     *regs;
regs              256 include/linux/fsl/bestcomm/bestcomm_priv.h 	regval = in_be16(&bcom_eng->regs->PtdCntrl);
regs              257 include/linux/fsl/bestcomm/bestcomm_priv.h 	out_be16(&bcom_eng->regs->PtdCntrl, regval | 1);
regs              264 include/linux/fsl/bestcomm/bestcomm_priv.h         reg = in_be16(&bcom_eng->regs->tcr[task]);
regs              265 include/linux/fsl/bestcomm/bestcomm_priv.h         out_be16(&bcom_eng->regs->tcr[task],  reg | TASK_ENABLE);
regs              271 include/linux/fsl/bestcomm/bestcomm_priv.h         u16 reg = in_be16(&bcom_eng->regs->tcr[task]);
regs              272 include/linux/fsl/bestcomm/bestcomm_priv.h         out_be16(&bcom_eng->regs->tcr[task], reg & ~TASK_ENABLE);
regs              337 include/linux/fsl/bestcomm/bestcomm_priv.h 	u16 __iomem *tcr = &bcom_eng->regs->tcr[task];
regs              344 include/linux/fsl/bestcomm/bestcomm_priv.h 	u16 __iomem *tcr = &bcom_eng->regs->tcr[task];
regs               82 include/linux/fsl_devices.h 	void __iomem	*regs;		/* ioremap'd register base */
regs              825 include/linux/fsl_ifc.h 	struct fsl_ifc_regs __iomem	*regs;
regs               57 include/linux/ftrace.h 			      struct ftrace_ops *op, struct pt_regs *regs);
regs              220 include/linux/ftrace.h 			struct ftrace_ops *op, struct pt_regs *regs);
regs              524 include/linux/ftrace_event.h 				 struct pt_regs *regs)
regs              530 include/linux/ftrace_event.h 						irq_flags, pc, regs);
regs              587 include/linux/ftrace_event.h 				    struct pt_regs *regs, int *rctxp);
regs              591 include/linux/ftrace_event.h 		       u64 count, struct pt_regs *regs, void *head,
regs              594 include/linux/ftrace_event.h 	perf_tp_event(addr, count, raw_data, size, regs, head, rctx, task);
regs              684 include/linux/irq.h 	struct irq_chip_regs	regs;
regs                7 include/linux/irqchip/versatile-fpga.h void fpga_handle_irq(struct pt_regs *regs);
regs              141 include/linux/irqdesc.h 			bool lookup, struct pt_regs *regs);
regs              144 include/linux/irqdesc.h 				    unsigned int hwirq, struct pt_regs *regs)
regs              146 include/linux/irqdesc.h 	return __handle_domain_irq(domain, hwirq, true, regs);
regs                9 include/linux/kdebug.h 	struct pt_regs *regs;
regs               20 include/linux/kdebug.h 	       struct pt_regs *regs, long err, int trap, int sig);
regs              231 include/linux/kexec.h void crash_save_cpu(struct pt_regs *regs, int cpu);
regs              313 include/linux/kexec.h static inline void crash_kexec(struct pt_regs *regs) { }
regs               35 include/linux/kgdb.h extern int kgdb_skipexception(int exception, struct pt_regs *regs);
regs               93 include/linux/kgdb.h extern char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs);
regs               94 include/linux/kgdb.h extern int dbg_set_reg(int regno, void *mem, struct pt_regs *regs);
regs              130 include/linux/kgdb.h extern void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs);
regs              155 include/linux/kgdb.h extern void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs);
regs              177 include/linux/kgdb.h 			   struct pt_regs *regs);
regs              205 include/linux/kgdb.h extern void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc);
regs              252 include/linux/kgdb.h 	void	(*disable_hw_break)(struct pt_regs *regs);
regs              286 include/linux/kgdb.h extern unsigned long kgdb_arch_pc(int exception, struct pt_regs *regs);
regs              311 include/linux/kgdb.h 		      struct pt_regs *regs);
regs              312 include/linux/kgdb.h extern int kgdb_nmicallback(int cpu, void *regs);
regs              313 include/linux/kgdb.h extern int kgdb_nmicallin(int cpu, int trapnr, void *regs, int err_code,
regs              228 include/linux/kprobes.h 				   struct pt_regs *regs);
regs              232 include/linux/kprobes.h 					struct pt_regs *regs)
regs              266 include/linux/kprobes.h extern void show_registers(struct pt_regs *regs);
regs              320 include/linux/kprobes.h extern void opt_pre_handler(struct kprobe *p, struct pt_regs *regs);
regs              334 include/linux/kprobes.h 				  struct ftrace_ops *ops, struct pt_regs *regs);
regs              394 include/linux/kprobes.h static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr)
regs              618 include/linux/kvm_host.h int kvm_arch_vcpu_ioctl_get_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs);
regs              619 include/linux/kvm_host.h int kvm_arch_vcpu_ioctl_set_regs(struct kvm_vcpu *vcpu, struct kvm_regs *regs);
regs              515 include/linux/mfd/sta2x11-mfd.h 				     void __iomem **regs,
regs               95 include/linux/mfd/stmpe.h 	const u8 *regs;
regs               52 include/linux/mfd/wm8994/pdata.h         u16 regs[WM8994_DRC_REGS];
regs               65 include/linux/mfd/wm8994/pdata.h         u16 regs[WM8994_EQ_REGS];
regs               91 include/linux/mfd/wm8994/pdata.h 	u16 regs[WM8958_VSS_HPF_REGS];
regs              102 include/linux/mfd/wm8994/pdata.h 	u16 regs[WM8958_VSS_REGS];
regs              113 include/linux/mfd/wm8994/pdata.h 	u16 regs[WM8958_ENH_EQ_REGS];
regs              126 include/linux/mmc/dw_mmc.h 	void __iomem		*regs;
regs               44 include/linux/mmiotrace.h extern int kmmio_handler(struct pt_regs *regs, unsigned long addr);
regs               59 include/linux/mmiotrace.h static inline int kmmio_handler(struct pt_regs *regs, unsigned long addr)
regs               42 include/linux/of_gpio.h 	void __iomem *regs;
regs               71 include/linux/oprofile.h 	void (*backtrace)(struct pt_regs * const regs, unsigned int depth);
regs               96 include/linux/oprofile.h void oprofile_add_sample(struct pt_regs * const regs, unsigned long event);
regs              105 include/linux/oprofile.h void oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs,
regs              111 include/linux/oprofile.h void oprofile_add_ext_hw_sample(unsigned long pc, struct pt_regs * const regs,
regs              190 include/linux/oprofile.h 			    struct pt_regs * const regs,
regs               84 include/linux/perf_event.h 	struct pt_regs	*regs;
regs              284 include/linux/perf_event.h 					struct pt_regs *regs);
regs              628 include/linux/perf_event.h 	data->regs_user.regs = NULL;
regs              642 include/linux/perf_event.h 				struct pt_regs *regs);
regs              646 include/linux/perf_event.h 				 struct pt_regs *regs);
regs              666 include/linux/perf_event.h static inline void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip) { }
regs              677 include/linux/perf_event.h static inline void perf_fetch_caller_regs(struct pt_regs *regs)
regs              679 include/linux/perf_event.h 	memset(regs, 0, sizeof(*regs));
regs              681 include/linux/perf_event.h 	perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
regs              685 include/linux/perf_event.h perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr)
regs              690 include/linux/perf_event.h 		if (!regs) {
regs              692 include/linux/perf_event.h 			regs = &hot_regs;
regs              694 include/linux/perf_event.h 		__perf_sw_event(event_id, nr, regs, addr);
regs              728 include/linux/perf_event.h extern void perf_callchain_user(struct perf_callchain_entry *entry, struct pt_regs *regs);
regs              729 include/linux/perf_event.h extern void perf_callchain_kernel(struct perf_callchain_entry *entry, struct pt_regs *regs);
regs              769 include/linux/perf_event.h 			  int entry_size, struct pt_regs *regs,
regs              775 include/linux/perf_event.h # define perf_misc_flags(regs) \
regs              776 include/linux/perf_event.h 		(user_mode(regs) ? PERF_RECORD_MISC_USER : PERF_RECORD_MISC_KERNEL)
regs              777 include/linux/perf_event.h # define perf_instruction_pointer(regs)	instruction_pointer(regs)
regs              819 include/linux/perf_event.h perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr)	{ }
regs                6 include/linux/perf_regs.h u64 perf_reg_value(struct pt_regs *regs, int idx);
regs               10 include/linux/perf_regs.h static inline u64 perf_reg_value(struct pt_regs *regs, int idx)
regs               85 include/linux/platform_data/atmel.h 	void __iomem		*regs;		/* virt. base address, if any */
regs               35 include/linux/platform_data/gpio-davinci.h 	void __iomem		*regs;
regs              205 include/linux/platform_data/gpio-omap.h 	struct omap_gpio_reg_offs *regs;
regs              228 include/linux/ptrace.h #define is_syscall_success(regs) (!IS_ERR_VALUE((unsigned long)(regs_return_value(regs))))
regs              313 include/linux/ptrace.h 				struct pt_regs *regs, siginfo_t *info);
regs              316 include/linux/ptrace.h 				struct pt_regs *regs, siginfo_t *info)
regs              341 include/linux/regmap.h 				    void __iomem *regs,
regs              357 include/linux/regmap.h 					 void __iomem *regs,
regs              371 include/linux/regmap.h 					void __iomem *regs,
regs              374 include/linux/regmap.h 	return regmap_init_mmio_clk(dev, NULL, regs, config);
regs              389 include/linux/regmap.h 					void __iomem *regs,
regs              392 include/linux/regmap.h 	return devm_regmap_init_mmio_clk(dev, NULL, regs, config);
regs              406 include/linux/regmap.h int regmap_multi_reg_write(struct regmap *map, const struct reg_default *regs,
regs              409 include/linux/regmap.h 				    const struct reg_default *regs,
regs              444 include/linux/regmap.h int regmap_register_patch(struct regmap *map, const struct reg_default *regs,
regs              713 include/linux/regmap.h 					const struct reg_default *regs,
regs                9 include/linux/ssb/ssb_driver_mips.h 	void *regs;
regs               17 include/linux/stacktrace.h extern void save_stack_trace_regs(struct pt_regs *regs,
regs               24 include/linux/toshiba.h int tosh_smm(SMMRegisters *regs);
regs               58 include/linux/tracehook.h static inline int ptrace_report_syscall(struct pt_regs *regs)
regs              100 include/linux/tracehook.h 	struct pt_regs *regs)
regs              102 include/linux/tracehook.h 	return ptrace_report_syscall(regs);
regs              122 include/linux/tracehook.h static inline void tracehook_report_syscall_exit(struct pt_regs *regs, int step)
regs              126 include/linux/tracehook.h 		user_single_step_siginfo(current, regs, &info);
regs              131 include/linux/tracehook.h 	ptrace_report_syscall(regs);
regs              181 include/linux/tracehook.h static inline void tracehook_notify_resume(struct pt_regs *regs)
regs               49 include/linux/uprobes.h 	int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs);
regs               52 include/linux/uprobes.h 				struct pt_regs *regs);
regs              105 include/linux/uprobes.h extern unsigned long uprobe_get_swbp_addr(struct pt_regs *regs);
regs              106 include/linux/uprobes.h extern unsigned long uprobe_get_trap_addr(struct pt_regs *regs);
regs              118 include/linux/uprobes.h extern int uprobe_post_sstep_notifier(struct pt_regs *regs);
regs              119 include/linux/uprobes.h extern int uprobe_pre_sstep_notifier(struct pt_regs *regs);
regs              120 include/linux/uprobes.h extern void uprobe_notify_resume(struct pt_regs *regs);
regs              122 include/linux/uprobes.h extern bool arch_uprobe_skip_sstep(struct arch_uprobe *aup, struct pt_regs *regs);
regs              125 include/linux/uprobes.h extern int  arch_uprobe_pre_xol(struct arch_uprobe *aup, struct pt_regs *regs);
regs              126 include/linux/uprobes.h extern int  arch_uprobe_post_xol(struct arch_uprobe *aup, struct pt_regs *regs);
regs              129 include/linux/uprobes.h extern void arch_uprobe_abort_xol(struct arch_uprobe *aup, struct pt_regs *regs);
regs              130 include/linux/uprobes.h extern unsigned long arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_regs *regs);
regs              131 include/linux/uprobes.h extern bool arch_uprobe_ignore(struct arch_uprobe *aup, struct pt_regs *regs);
regs              138 include/linux/uprobes.h #define uprobe_get_trap_addr(regs)	instruction_pointer(regs)
regs              172 include/linux/uprobes.h static inline void uprobe_notify_resume(struct pt_regs *regs)
regs              151 include/linux/usb/hcd.h 	void __iomem		*regs;		/* device memory/io */
regs              153 include/linux/usb/msm_hsusb.h 	void __iomem *regs;
regs               64 include/linux/usb/tegra_usb_phy.h 	void __iomem *regs;
regs              509 include/sound/ac97_codec.h 	unsigned short regs[0x80]; /* register cache */
regs               73 include/sound/ak4531_codec.h 	unsigned char regs[0x20];
regs              136 include/sound/wm8904.h 	u16 regs[WM8904_DRC_REGS];
regs              149 include/sound/wm8904.h 	u16 regs[WM8904_EQ_REGS];
regs               31 include/sound/wm8996.h 	u16 regs[20];
regs               18 include/trace/events/syscalls.h 	TP_PROTO(struct pt_regs *regs, long id),
regs               20 include/trace/events/syscalls.h 	TP_ARGS(regs, id),
regs               29 include/trace/events/syscalls.h 		syscall_get_arguments(current, regs, 0, 6, __entry->args);
regs               44 include/trace/events/syscalls.h 	TP_PROTO(struct pt_regs *regs, long ret),
regs               46 include/trace/events/syscalls.h 	TP_ARGS(regs, ret),
regs               54 include/trace/events/syscalls.h 		__entry->id	= syscall_get_nr(current, regs);
regs              326 include/uapi/linux/kvm.h 		struct kvm_sync_regs regs;
regs               35 include/uapi/video/uvesafb.h 	struct v86_regs regs;
regs              385 include/video/newport.h static inline void newport_vc2_set(struct newport_regs *regs,
regs              389 include/video/newport.h 	regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W3 |
regs              391 include/video/newport.h 	regs->set.dcbdata0.byword = (vc2ireg << 24) | (val << 8);
regs              394 include/video/newport.h static inline unsigned short newport_vc2_get(struct newport_regs *regs,
regs              397 include/video/newport.h 	regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W1 |
regs              399 include/video/newport.h 	regs->set.dcbdata0.bybytes.b3 = vc2ireg;
regs              400 include/video/newport.h 	regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_IREG | NPORT_DMODE_W2 |
regs              402 include/video/newport.h 	return regs->set.dcbdata0.byshort.s1;
regs              428 include/video/newport.h static __inline__ void newport_cmap_setaddr(struct newport_regs *regs,
regs              431 include/video/newport.h 	regs->set.dcbmode = (NPORT_DMODE_ACMALL | NCMAP_PROTOCOL |
regs              434 include/video/newport.h 	regs->set.dcbdata0.byshort.s1 = addr;
regs              435 include/video/newport.h 	regs->set.dcbmode = (NPORT_DMODE_ACMALL | NCMAP_PROTOCOL |
regs              439 include/video/newport.h static __inline__ void newport_cmap_setrgb(struct newport_regs *regs,
regs              444 include/video/newport.h 	regs->set.dcbdata0.byword =
regs              452 include/video/newport.h static __inline__ int newport_wait(struct newport_regs *regs)
regs              457 include/video/newport.h 		if (!(regs->cset.status & NPORT_STAT_GBUSY))
regs              462 include/video/newport.h static __inline__ int newport_bfwait(struct newport_regs *regs)
regs              467 include/video/newport.h 		if(!(regs->cset.status & NPORT_STAT_BBUSY))
regs              151 include/video/s1d13xxxfb.h 	void __iomem	*regs;
regs              115 include/video/w100fb.h 	struct w100_gen_regs *regs;
regs               97 include/xen/events.h void xen_evtchn_do_upcall(struct pt_regs *regs);