Home
last modified time | relevance | path

Searched refs:regs (Results 1 – 25 of 94) sorted by relevance

1234

/include/linux/
Dentry-common.h76 static __always_inline void arch_check_user_regs(struct pt_regs *regs);
79 static __always_inline void arch_check_user_regs(struct pt_regs *regs) {} in arch_check_user_regs() argument
93 static inline __must_check int arch_syscall_enter_tracehook(struct pt_regs *regs);
96 static inline __must_check int arch_syscall_enter_tracehook(struct pt_regs *regs) in arch_syscall_enter_tracehook() argument
98 return tracehook_report_syscall_entry(regs); in arch_syscall_enter_tracehook()
121 void enter_from_user_mode(struct pt_regs *regs);
138 void syscall_enter_from_user_mode_prepare(struct pt_regs *regs);
163 long syscall_enter_from_user_mode_work(struct pt_regs *regs, long syscall);
182 long syscall_enter_from_user_mode(struct pt_regs *regs, long syscall);
225 static inline void arch_exit_to_user_mode_work(struct pt_regs *regs,
[all …]
Dperf_regs.h9 struct pt_regs *regs; member
19 u64 perf_reg_value(struct pt_regs *regs, int idx);
23 struct pt_regs *regs);
28 static inline u64 perf_reg_value(struct pt_regs *regs, int idx) in perf_reg_value() argument
44 struct pt_regs *regs) in perf_get_regs_user() argument
46 regs_user->regs = task_pt_regs(current); in perf_get_regs_user()
Duprobes.h37 int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs);
40 struct pt_regs *regs);
110 extern unsigned long uprobe_get_swbp_addr(struct pt_regs *regs);
111 extern unsigned long uprobe_get_trap_addr(struct pt_regs *regs);
124 extern int uprobe_post_sstep_notifier(struct pt_regs *regs);
125 extern int uprobe_pre_sstep_notifier(struct pt_regs *regs);
126 extern void uprobe_notify_resume(struct pt_regs *regs);
128 extern bool arch_uprobe_skip_sstep(struct arch_uprobe *aup, struct pt_regs *regs);
131 extern int arch_uprobe_pre_xol(struct arch_uprobe *aup, struct pt_regs *regs);
132 extern int arch_uprobe_post_xol(struct arch_uprobe *aup, struct pt_regs *regs);
[all …]
Dtracehook.h57 static inline int ptrace_report_syscall(struct pt_regs *regs, in ptrace_report_syscall() argument
103 struct pt_regs *regs) in tracehook_report_syscall_entry() argument
105 return ptrace_report_syscall(regs, PTRACE_EVENTMSG_SYSCALL_ENTRY); in tracehook_report_syscall_entry()
125 static inline void tracehook_report_syscall_exit(struct pt_regs *regs, int step) in tracehook_report_syscall_exit() argument
128 user_single_step_report(regs); in tracehook_report_syscall_exit()
130 ptrace_report_syscall(regs, PTRACE_EVENTMSG_SYSCALL_EXIT); in tracehook_report_syscall_exit()
180 static inline void tracehook_notify_resume(struct pt_regs *regs) in tracehook_notify_resume() argument
201 rseq_handle_notify_resume(NULL, regs); in tracehook_notify_resume()
Dkgdb.h36 extern int kgdb_skipexception(int exception, struct pt_regs *regs);
94 extern char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs);
95 extern int dbg_set_reg(int regno, void *mem, struct pt_regs *regs);
131 extern void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs);
156 extern void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs);
178 struct pt_regs *regs);
223 extern void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc);
270 void (*disable_hw_break)(struct pt_regs *regs);
307 extern unsigned long kgdb_arch_pc(int exception, struct pt_regs *regs);
332 struct pt_regs *regs);
[all …]
Delfcore.h72 static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs) in elf_core_copy_regs() argument
75 ELF_CORE_COPY_REGS((*elfregs), regs) in elf_core_copy_regs()
77 BUG_ON(sizeof(*elfregs) != sizeof(*regs)); in elf_core_copy_regs()
78 *(struct pt_regs *)elfregs = *regs; in elf_core_copy_regs()
82 static inline void elf_core_copy_kernel_regs(elf_gregset_t *elfregs, struct pt_regs *regs) in elf_core_copy_kernel_regs() argument
85 ELF_CORE_COPY_KERNEL_REGS((*elfregs), regs); in elf_core_copy_kernel_regs()
87 elf_core_copy_regs(elfregs, regs); in elf_core_copy_kernel_regs()
103 static inline int elf_core_copy_task_fpregs(struct task_struct *t, struct pt_regs *regs, elf_fpregs… in elf_core_copy_task_fpregs() argument
108 return dump_fpu(regs, fpu); in elf_core_copy_task_fpregs()
Dstacktrace.h21 unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store,
55 struct task_struct *task, struct pt_regs *regs);
78 const struct pt_regs *regs);
88 extern void save_stack_trace_regs(struct pt_regs *regs,
Dkdebug.h10 struct pt_regs *regs; member
21 struct pt_regs *regs, long err, int trap, int sig);
Dkprobes.h199 struct pt_regs *regs);
203 unsigned long __kretprobe_trampoline_handler(struct pt_regs *regs,
208 unsigned long kretprobe_trampoline_handler(struct pt_regs *regs, in kretprobe_trampoline_handler() argument
219 ret = __kretprobe_trampoline_handler(regs, trampoline_address, frame_pointer); in kretprobe_trampoline_handler()
232 struct pt_regs *regs) in arch_prepare_kretprobe() argument
338 extern void opt_pre_handler(struct kprobe *p, struct pt_regs *regs);
418 static inline int kprobe_fault_handler(struct pt_regs *regs, int trapnr) in kprobe_fault_handler() argument
506 static nokprobe_inline bool kprobe_page_fault(struct pt_regs *regs, in kprobe_page_fault() argument
511 if (user_mode(regs)) in kprobe_page_fault()
521 return kprobe_fault_handler(regs, trap); in kprobe_page_fault()
Dperf_event.h581 struct pt_regs *regs);
901 bpf_user_pt_regs_t *regs; member
1062 struct pt_regs *regs);
1066 struct pt_regs *regs);
1070 struct pt_regs *regs);
1073 struct pt_regs *regs);
1076 struct pt_regs *regs);
1157 static inline void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip) { } in perf_arch_fetch_caller_regs() argument
1174 static inline void perf_fetch_caller_regs(struct pt_regs *regs) in perf_fetch_caller_regs() argument
1176 perf_arch_fetch_caller_regs(regs, CALLER_ADDR0); in perf_fetch_caller_regs()
[all …]
/include/trace/hooks/
Dtraps.h17 TP_PROTO(struct pt_regs *regs),
18 TP_ARGS(regs),
19 TP_CONDITION(!user_mode(regs)));
22 TP_PROTO(struct pt_regs *regs, unsigned int esr),
23 TP_ARGS(regs, esr),
24 TP_CONDITION(!user_mode(regs)));
27 TP_PROTO(struct pt_regs *regs, const char *vector, unsigned int esr),
28 TP_ARGS(regs, vector, esr), 1);
31 TP_PROTO(struct pt_regs *regs, unsigned int esr),
32 TP_ARGS(regs, esr), 1);
[all …]
Dfault.h17 TP_PROTO(const char *msg, unsigned long addr, unsigned int esr, struct pt_regs *regs),
18 TP_ARGS(msg, addr, esr, regs), 1);
21 TP_PROTO(unsigned long addr, unsigned int esr, struct pt_regs *regs),
22 TP_ARGS(addr, esr, regs), 1);
25 TP_PROTO(unsigned long addr, unsigned int esr, struct pt_regs *regs),
26 TP_ARGS(addr, esr, regs), 1);
29 TP_PROTO(unsigned long addr, unsigned int esr, struct pt_regs *regs),
30 TP_ARGS(addr, esr, regs),
31 TP_CONDITION(!user_mode(regs)));
38 TP_PROTO(unsigned long addr, unsigned long esr, struct pt_regs *regs,
[all …]
Ddebug.h19 TP_PROTO(struct pt_regs *regs),
20 TP_ARGS(regs))
Dsoftlockup.h17 TP_PROTO(int duration, struct pt_regs *regs, bool is_panic),
18 TP_ARGS(duration, regs, is_panic));
/include/asm-generic/
Dsyscall.h38 int syscall_get_nr(struct task_struct *task, struct pt_regs *regs);
56 void syscall_rollback(struct task_struct *task, struct pt_regs *regs);
69 long syscall_get_error(struct task_struct *task, struct pt_regs *regs);
83 long syscall_get_return_value(struct task_struct *task, struct pt_regs *regs);
101 void syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
117 void syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
133 void syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
Derror-injection.h34 void override_function_with_return(struct pt_regs *regs);
38 static inline void override_function_with_return(struct pt_regs *regs) { } in override_function_with_return() argument
/include/trace/events/
Dsyscalls.h20 TP_PROTO(struct pt_regs *regs, long id),
22 TP_ARGS(regs, id),
31 syscall_get_arguments(current, regs, __entry->args);
46 TP_PROTO(struct pt_regs *regs, long ret),
48 TP_ARGS(regs, ret),
56 __entry->id = syscall_get_nr(current, regs);
/include/net/netfilter/
Dnft_fib.h28 void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
30 void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs,
33 void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
35 void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs,
Dnf_tables_core.h136 struct nft_regs *regs, const struct nft_pktinfo *pkt);
138 struct nft_regs *regs, const struct nft_pktinfo *pkt);
140 struct nft_regs *regs, const struct nft_pktinfo *pkt);
142 struct nft_regs *regs, const struct nft_pktinfo *pkt);
144 struct nft_regs *regs, const struct nft_pktinfo *pkt);
146 struct nft_regs *regs, const struct nft_pktinfo *pkt);
148 struct nft_regs *regs, const struct nft_pktinfo *pkt);
150 struct nft_regs *regs, const struct nft_pktinfo *pkt);
152 struct nft_regs *regs, const struct nft_pktinfo *pkt);
154 struct nft_regs *regs, const struct nft_pktinfo *pkt);
Dnft_meta.h32 struct nft_regs *regs,
36 struct nft_regs *regs,
/include/linux/mfd/wm8994/
Dpdata.h44 u16 regs[WM8994_DRC_REGS]; member
57 u16 regs[WM8994_EQ_REGS]; member
83 u16 regs[WM8958_VSS_HPF_REGS]; member
94 u16 regs[WM8958_VSS_REGS]; member
105 u16 regs[WM8958_ENH_EQ_REGS]; member
/include/video/
Dnewport.h386 static inline void newport_vc2_set(struct newport_regs *regs, in newport_vc2_set() argument
390 regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W3 | in newport_vc2_set()
392 regs->set.dcbdata0.byword = (vc2ireg << 24) | (val << 8); in newport_vc2_set()
395 static inline unsigned short newport_vc2_get(struct newport_regs *regs, in newport_vc2_get() argument
398 regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_INDEX | NPORT_DMODE_W1 | in newport_vc2_get()
400 regs->set.dcbdata0.bybytes.b3 = vc2ireg; in newport_vc2_get()
401 regs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_IREG | NPORT_DMODE_W2 | in newport_vc2_get()
403 return regs->set.dcbdata0.byshort.s1; in newport_vc2_get()
429 static __inline__ void newport_cmap_setaddr(struct newport_regs *regs, in newport_cmap_setaddr() argument
432 regs->set.dcbmode = (NPORT_DMODE_ACMALL | NCMAP_PROTOCOL | in newport_cmap_setaddr()
[all …]
/include/linux/fsl/bestcomm/
Dbestcomm_priv.h70 struct mpc52xx_sdma __iomem *regs; member
256 regval = in_be16(&bcom_eng->regs->PtdCntrl); in bcom_disable_prefetch()
257 out_be16(&bcom_eng->regs->PtdCntrl, regval | 1); in bcom_disable_prefetch()
264 reg = in_be16(&bcom_eng->regs->tcr[task]); in bcom_enable_task()
265 out_be16(&bcom_eng->regs->tcr[task], reg | TASK_ENABLE); in bcom_enable_task()
271 u16 reg = in_be16(&bcom_eng->regs->tcr[task]); in bcom_disable_task()
272 out_be16(&bcom_eng->regs->tcr[task], reg & ~TASK_ENABLE); in bcom_disable_task()
337 u16 __iomem *tcr = &bcom_eng->regs->tcr[task]; in bcom_set_task_auto_start()
344 u16 __iomem *tcr = &bcom_eng->regs->tcr[task]; in bcom_set_tcr_initiator()
/include/linux/amba/
Dclcd.h96 void (*decode)(struct clcd_fb *fb, struct clcd_regs *regs);
135 void __iomem *regs; member
143 static inline void clcdfb_decode(struct clcd_fb *fb, struct clcd_regs *regs) in clcdfb_decode() argument
155 regs->tim0 = val; in clcdfb_decode()
164 regs->tim1 = val; in clcdfb_decode()
180 regs->tim2 = val | ((cpl - 1) << 16); in clcdfb_decode()
182 regs->tim3 = fb->panel->tim3; in clcdfb_decode()
238 regs->cntl = val; in clcdfb_decode()
239 regs->pixclock = var->pixclock; in clcdfb_decode()
/include/linux/soc/samsung/
Ds3c-pm.h54 extern void s3c_pm_arch_update_uart(void __iomem *regs,
58 s3c_pm_arch_update_uart(void __iomem *regs, struct pm_uart_save *save) in s3c_pm_arch_update_uart() argument

1234