Home
last modified time | relevance | path

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

1234

/include/linux/
A Dentry-common.h62 void syscall_enter_from_user_mode_prepare(struct pt_regs *regs);
64 long syscall_trace_enter(struct pt_regs *regs, long syscall,
95 syscall = syscall_trace_enter(regs, syscall, work); in syscall_enter_from_user_mode_work()
121 enter_from_user_mode(regs); in syscall_enter_from_user_mode()
125 ret = syscall_enter_from_user_mode_work(regs, syscall); in syscall_enter_from_user_mode()
138 void syscall_exit_work(struct pt_regs *regs, unsigned long work);
156 unsigned long nr = syscall_get_nr(current, regs); in syscall_exit_to_user_mode_work()
165 rseq_syscall(regs); in syscall_exit_to_user_mode_work()
173 syscall_exit_work(regs, work); in syscall_exit_to_user_mode_work()
175 exit_to_user_mode_prepare(regs); in syscall_exit_to_user_mode_work()
[all …]
A Dirq-entry-common.h89 arch_enter_from_user_mode(regs); in enter_from_user_mode()
96 kmsan_unpoison_entry_regs(regs); in enter_from_user_mode()
142 static inline void arch_exit_to_user_mode_work(struct pt_regs *regs,
146 static inline void arch_exit_to_user_mode_work(struct pt_regs *regs, in arch_exit_to_user_mode_work() argument
196 void arch_do_signal_or_restart(struct pt_regs *regs);
201 unsigned long exit_to_user_mode_loop(struct pt_regs *regs,
225 ti_work = exit_to_user_mode_loop(regs, ti_work); in exit_to_user_mode_prepare()
227 arch_exit_to_user_mode_prepare(regs, ti_work); in exit_to_user_mode_prepare()
277 void irqentry_enter_from_user_mode(struct pt_regs *regs);
292 void irqentry_exit_to_user_mode(struct pt_regs *regs);
[all …]
A Dftrace_regs.h12 struct pt_regs regs; member
20 instruction_pointer(&arch_ftrace_regs(fregs)->regs)
22 regs_get_kernel_argument(&arch_ftrace_regs(fregs)->regs, n)
24 kernel_stack_pointer(&arch_ftrace_regs(fregs)->regs)
26 regs_return_value(&arch_ftrace_regs(fregs)->regs)
28 regs_set_return_value(&arch_ftrace_regs(fregs)->regs, ret)
30 override_function_with_return(&arch_ftrace_regs(fregs)->regs)
34 frame_pointer(&arch_ftrace_regs(fregs)->regs)
A 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);
178 struct pt_regs *regs);
223 extern void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc);
269 void (*disable_hw_break)(struct pt_regs *regs);
304 extern unsigned long kgdb_arch_pc(int exception, struct pt_regs *regs);
319 struct pt_regs *regs);
320 extern int kgdb_nmicallback(int cpu, void *regs);
321 extern int kgdb_nmicallin(int cpu, int trapnr, void *regs, int err_code,
[all …]
A 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()
A Duprobes.h53 int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs, __u64 *data);
56 struct pt_regs *regs, __u64 *data);
195 extern unsigned long uprobe_get_swbp_addr(struct pt_regs *regs);
196 extern unsigned long uprobe_get_trap_addr(struct pt_regs *regs);
209 extern int uprobe_post_sstep_notifier(struct pt_regs *regs);
210 extern int uprobe_pre_sstep_notifier(struct pt_regs *regs);
211 extern void uprobe_notify_resume(struct pt_regs *regs);
223 extern bool arch_uprobe_ignore(struct arch_uprobe *aup, struct pt_regs *regs);
226 extern void uprobe_handle_trampoline(struct pt_regs *regs);
237 #define uprobe_get_trap_addr(regs) instruction_pointer(regs) argument
[all …]
A Drseq.h32 void __rseq_handle_notify_resume(struct ksignal *sig, struct pt_regs *regs);
35 struct pt_regs *regs) in rseq_handle_notify_resume() argument
38 __rseq_handle_notify_resume(ksig, regs); in rseq_handle_notify_resume()
42 struct pt_regs *regs) in rseq_signal_deliver() argument
47 rseq_handle_notify_resume(ksig, regs); in rseq_signal_deliver()
97 struct pt_regs *regs) in rseq_handle_notify_resume() argument
101 struct pt_regs *regs) in rseq_signal_deliver() argument
121 void rseq_syscall(struct pt_regs *regs);
125 static inline void rseq_syscall(struct pt_regs *regs) in rseq_syscall() argument
A Dcrash_core.h80 extern void __crash_kexec(struct pt_regs *regs);
81 extern void crash_kexec(struct pt_regs *regs);
84 void crash_save_cpu(struct pt_regs *regs, int cpu);
91 static inline void __crash_kexec(struct pt_regs *regs) { } in __crash_kexec() argument
92 static inline void crash_kexec(struct pt_regs *regs) { } in crash_kexec() argument
95 static inline void crash_save_cpu(struct pt_regs *regs, int cpu) {}; in crash_save_cpu() argument
A Drethook.h65 void rethook_hook(struct rethook_node *node, struct pt_regs *regs, bool mcount);
70 void arch_rethook_prepare(struct rethook_node *node, struct pt_regs *regs, bool mcount);
85 void arch_rethook_fixup_return(struct pt_regs *regs,
89 unsigned long rethook_trampoline_handler(struct pt_regs *regs,
A Dstacktrace.h39 struct task_struct *task, struct pt_regs *regs);
62 const struct pt_regs *regs);
75 unsigned int stack_trace_save_regs(struct pt_regs *regs, unsigned long *store,
89 extern void save_stack_trace_regs(struct pt_regs *regs,
A Dcfi.h17 enum bug_trap_type report_cfi_failure(struct pt_regs *regs, unsigned long addr,
20 static inline enum bug_trap_type report_cfi_failure_noaddr(struct pt_regs *regs, in report_cfi_failure_noaddr() argument
23 return report_cfi_failure(regs, addr, NULL, 0); in report_cfi_failure_noaddr()
A Delfcore.h77 static inline void elf_core_copy_regs(elf_gregset_t *elfregs, struct pt_regs *regs) in elf_core_copy_regs() argument
80 ELF_CORE_COPY_REGS((*elfregs), regs) in elf_core_copy_regs()
82 BUG_ON(sizeof(*elfregs) != sizeof(*regs)); in elf_core_copy_regs()
83 *(struct pt_regs *)elfregs = *regs; in elf_core_copy_regs()
A Dkdebug.h10 struct pt_regs *regs; member
21 struct pt_regs *regs, long err, int trap, int sig);
/include/asm-generic/
A Dsyscall.h38 int syscall_get_nr(struct task_struct *task, struct pt_regs *regs);
52 void syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr);
70 void syscall_rollback(struct task_struct *task, struct pt_regs *regs);
83 long syscall_get_error(struct task_struct *task, struct pt_regs *regs);
97 long syscall_get_return_value(struct task_struct *task, struct pt_regs *regs);
115 void syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
131 void syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
147 void syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
A Derror-injection.h35 void override_function_with_return(struct pt_regs *regs);
39 static inline void override_function_with_return(struct pt_regs *regs) { } in override_function_with_return() argument
/include/trace/events/
A Dexceptions.h12 TP_PROTO(unsigned long address, struct pt_regs *regs,
15 TP_ARGS(address, regs, error_code),
25 __entry->ip = instruction_pointer(regs);
34 TP_PROTO(unsigned long address, struct pt_regs *regs, unsigned long error_code),
35 TP_ARGS(address, regs, error_code));
37 TP_PROTO(unsigned long address, struct pt_regs *regs, unsigned long error_code),
38 TP_ARGS(address, regs, error_code));
A 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/
A Dnf_tables_core.h141 struct nft_regs *regs, const struct nft_pktinfo *pkt);
143 struct nft_regs *regs, const struct nft_pktinfo *pkt);
145 struct nft_regs *regs, const struct nft_pktinfo *pkt);
147 struct nft_regs *regs, const struct nft_pktinfo *pkt);
149 struct nft_regs *regs, const struct nft_pktinfo *pkt);
151 struct nft_regs *regs, const struct nft_pktinfo *pkt);
153 struct nft_regs *regs, const struct nft_pktinfo *pkt);
155 struct nft_regs *regs, const struct nft_pktinfo *pkt);
157 struct nft_regs *regs, const struct nft_pktinfo *pkt);
161 struct nft_regs *regs, const struct nft_pktinfo *pkt);
[all …]
A Dnft_fib.h56 void nft_fib4_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
58 void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs,
61 void nft_fib6_eval_type(const struct nft_expr *expr, struct nft_regs *regs,
63 void nft_fib6_eval(const struct nft_expr *expr, struct nft_regs *regs,
A Dnft_meta.h33 struct nft_regs *regs,
37 struct nft_regs *regs,
51 struct nft_regs *regs, const struct nft_pktinfo *pkt,
/include/linux/mfd/
A Docelot.h23 void __iomem *regs; in ocelot_regmap_from_resource_optional() local
31 regs = devm_ioremap_resource(dev, res); in ocelot_regmap_from_resource_optional()
32 if (IS_ERR(regs)) in ocelot_regmap_from_resource_optional()
33 return ERR_CAST(regs); in ocelot_regmap_from_resource_optional()
34 return devm_regmap_init_mmio(dev, regs, config); in ocelot_regmap_from_resource_optional()
/include/linux/clk/
A Dpxa.h6 extern int pxa25x_clocks_init(void __iomem *regs);
7 extern int pxa27x_clocks_init(void __iomem *regs);
8 extern int pxa3xx_clocks_init(void __iomem *regs, void __iomem *oscc_reg);
/include/linux/mfd/wm8994/
A 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/
A Dnewport.h386 static inline void newport_vc2_set(struct newport_regs *regs, in newport_vc2_set() argument
392 regs->set.dcbdata0.byword = (vc2ireg << 24) | (val << 8); in newport_vc2_set()
400 regs->set.dcbdata0.bybytes.b3 = vc2ireg; in newport_vc2_get()
403 return regs->set.dcbdata0.byshort.s1; in newport_vc2_get()
432 regs->set.dcbmode = (NPORT_DMODE_ACMALL | NCMAP_PROTOCOL | in newport_cmap_setaddr()
435 regs->set.dcbdata0.byshort.s1 = addr; in newport_cmap_setaddr()
436 regs->set.dcbmode = (NPORT_DMODE_ACMALL | NCMAP_PROTOCOL | in newport_cmap_setaddr()
445 regs->set.dcbdata0.byword = in newport_cmap_setrgb()
453 static __inline__ int newport_wait(struct newport_regs *regs) in newport_wait() argument
458 if (!(regs->cset.status & NPORT_STAT_GBUSY)) in newport_wait()
[all …]
/include/linux/fsl/bestcomm/
A 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()

Completed in 28 milliseconds

1234