Home
last modified time | relevance | path

Searched defs:regs (Results 1 – 25 of 2088) sorted by relevance

12345678910>>...84

/linux/arch/arm64/kernel/
A Dentry-common.c89 static void noinstr exit_to_kernel_mode(struct pt_regs *regs) in exit_to_kernel_mode()
154 static void noinstr arm64_enter_nmi(struct pt_regs *regs) in arm64_enter_nmi()
172 static void noinstr arm64_exit_nmi(struct pt_regs *regs) in arm64_exit_nmi()
248 static void do_interrupt_handler(struct pt_regs *regs, in do_interrupt_handler()
362 static void noinstr el1_undef(struct pt_regs *regs) in el1_undef()
452 static void noinstr el1_interrupt(struct pt_regs *regs, in el1_interrupt()
564 static void noinstr el0_undef(struct pt_regs *regs) in el0_undef()
572 static void noinstr el0_bti(struct pt_regs *regs) in el0_bti()
599 static void noinstr el0_svc(struct pt_regs *regs) in el0_svc()
668 static void noinstr el0_interrupt(struct pt_regs *regs, in el0_interrupt()
[all …]
A Dtraps.c210 void die(const char *str, struct pt_regs *regs, int err) in die()
247 struct pt_regs *regs = task_pt_regs(tsk); in arm64_show_signal() local
310 static u32 compat_get_it_state(struct pt_regs *regs) in compat_get_it_state()
331 static void advance_itstate(struct pt_regs *regs) in advance_itstate()
354 static void advance_itstate(struct pt_regs *regs) in advance_itstate()
397 static int call_undef_hook(struct pt_regs *regs) in call_undef_hook()
446 struct pt_regs *regs = current_pt_regs(); in force_signal_inject() local
489 void do_undefinstr(struct pt_regs *regs) in do_undefinstr()
503 void do_bti(struct pt_regs *regs) in do_bti()
948 void do_serror(struct pt_regs *regs, unsigned int esr) in do_serror()
[all …]
/linux/drivers/media/platform/s5p-jpeg/
A Djpeg-hw-s5p.c17 void s5p_jpeg_reset(void __iomem *regs) in s5p_jpeg_reset()
30 void s5p_jpeg_poweron(void __iomem *regs) in s5p_jpeg_poweron()
133 void s5p_jpeg_y(void __iomem *regs, unsigned int y) in s5p_jpeg_y()
148 void s5p_jpeg_x(void __iomem *regs, unsigned int x) in s5p_jpeg_x()
196 int s5p_jpeg_timer_stat(void __iomem *regs) in s5p_jpeg_timer_stat()
202 void s5p_jpeg_clear_timer_stat(void __iomem *regs) in s5p_jpeg_clear_timer_stat()
222 int s5p_jpeg_enc_stream_stat(void __iomem *regs) in s5p_jpeg_enc_stream_stat()
273 void s5p_jpeg_start(void __iomem *regs) in s5p_jpeg_start()
278 int s5p_jpeg_result_stat_ok(void __iomem *regs) in s5p_jpeg_result_stat_ok()
284 int s5p_jpeg_stream_stat_ok(void __iomem *regs) in s5p_jpeg_stream_stat_ok()
[all …]
A Djpeg-hw-exynos3250.c18 void exynos3250_jpeg_reset(void __iomem *regs) in exynos3250_jpeg_reset()
44 void exynos3250_jpeg_poweron(void __iomem *regs) in exynos3250_jpeg_poweron()
49 void exynos3250_jpeg_set_dma_num(void __iomem *regs) in exynos3250_jpeg_set_dma_num()
120 void exynos3250_jpeg_set_y16(void __iomem *regs, bool y16) in exynos3250_jpeg_set_y16()
245 void exynos3250_jpeg_interrupts_enable(void __iomem *regs) in exynos3250_jpeg_interrupts_enable()
409 void exynos3250_jpeg_start(void __iomem *regs) in exynos3250_jpeg_start()
414 void exynos3250_jpeg_rstart(void __iomem *regs) in exynos3250_jpeg_rstart()
424 void exynos3250_jpeg_clear_int_status(void __iomem *regs, in exynos3250_jpeg_clear_int_status()
430 unsigned int exynos3250_jpeg_operating(void __iomem *regs) in exynos3250_jpeg_operating()
440 void exynos3250_jpeg_dec_stream_size(void __iomem *regs, in exynos3250_jpeg_dec_stream_size()
[all …]
/linux/kernel/entry/
A Dcommon.c16 static __always_inline void __enter_from_user_mode(struct pt_regs *regs) in __enter_from_user_mode()
29 void noinstr enter_from_user_mode(struct pt_regs *regs) in enter_from_user_mode()
44 static long syscall_trace_enter(struct pt_regs *regs, long syscall, in syscall_trace_enter()
85 __syscall_enter_from_user_work(struct pt_regs *regs, long syscall) in __syscall_enter_from_user_work()
151 static unsigned long exit_to_user_mode_loop(struct pt_regs *regs, in exit_to_user_mode_loop()
197 static void exit_to_user_mode_prepare(struct pt_regs *regs) in exit_to_user_mode_prepare()
292 void syscall_exit_to_user_mode_work(struct pt_regs *regs) in syscall_exit_to_user_mode_work()
305 noinstr void irqentry_enter_from_user_mode(struct pt_regs *regs) in irqentry_enter_from_user_mode()
310 noinstr void irqentry_exit_to_user_mode(struct pt_regs *regs) in irqentry_exit_to_user_mode()
318 noinstr irqentry_state_t irqentry_enter(struct pt_regs *regs) in irqentry_enter()
[all …]
/linux/arch/arm/include/asm/
A Dptrace.h20 struct pt_regs regs; member
26 #define user_mode(regs) \ argument
30 #define thumb_mode(regs) \ argument
33 #define thumb_mode(regs) (0) argument
37 #define isa_mode(regs) \ argument
41 #define isa_mode(regs) 1 /* Thumb */ argument
44 #define processor_mode(regs) \ argument
47 #define interrupts_enabled(regs) \ argument
50 #define fast_interrupts_enabled(regs) \ argument
94 #define frame_pointer(regs) (regs)->ARM_r7 argument
[all …]
/linux/arch/csky/include/asm/
A Dptrace.h21 #define user_stack_pointer(regs) ((regs)->usp) argument
23 #define user_mode(regs) (!((regs)->sr & PS_S)) argument
24 #define instruction_pointer(regs) ((regs)->pc) argument
25 #define profile_pc(regs) instruction_pointer(regs) argument
26 #define trap_no(regs) ((regs->sr >> 16) & 0xff) argument
28 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set()
40 static inline bool in_syscall(struct pt_regs const *regs) in in_syscall()
45 static inline void forget_syscall(struct pt_regs *regs) in forget_syscall()
55 static inline void regs_set_return_value(struct pt_regs *regs, in regs_set_return_value()
67 static inline unsigned long frame_pointer(struct pt_regs *regs) in frame_pointer()
[all …]
/linux/arch/csky/kernel/probes/
A Dsimulate-insn.c10 static inline bool csky_insn_reg_get_val(struct pt_regs *regs, in csky_insn_reg_get_val()
39 static inline bool csky_insn_reg_set_val(struct pt_regs *regs, in csky_insn_reg_set_val()
69 simulate_br16(u32 opcode, long addr, struct pt_regs *regs) in simulate_br16()
76 simulate_br32(u32 opcode, long addr, struct pt_regs *regs) in simulate_br32()
83 simulate_bt16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt16()
93 simulate_bt32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt32()
103 simulate_bf16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf16()
113 simulate_bf32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf32()
123 simulate_jmp16(u32 opcode, long addr, struct pt_regs *regs) in simulate_jmp16()
133 simulate_jmp32(u32 opcode, long addr, struct pt_regs *regs) in simulate_jmp32()
[all …]
/linux/arch/sparc/include/asm/
A Dptrace.h14 static inline int pt_regs_trap_type(struct pt_regs *regs) in pt_regs_trap_type()
19 static inline bool pt_regs_is_syscall(struct pt_regs *regs) in pt_regs_is_syscall()
24 static inline bool pt_regs_clear_syscall(struct pt_regs *regs) in pt_regs_clear_syscall()
64 #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV)) argument
65 #define instruction_pointer(regs) ((regs)->tpc) argument
66 #define instruction_pointer_set(regs, val) do { \ argument
70 #define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP]) argument
71 static inline int is_syscall_success(struct pt_regs *regs) in is_syscall_success()
83 #define profile_pc(regs) instruction_pointer(regs) argument
143 #define user_mode(regs) (!((regs)->psr & PSR_PS)) argument
[all …]
A Dsyscall.h21 struct pt_regs *regs) in syscall_get_nr()
29 struct pt_regs *regs) in syscall_rollback()
41 static inline bool syscall_has_error(struct pt_regs *regs) in syscall_has_error()
45 static inline void syscall_set_error(struct pt_regs *regs) in syscall_set_error()
49 static inline void syscall_clear_error(struct pt_regs *regs) in syscall_clear_error()
54 static inline bool syscall_has_error(struct pt_regs *regs) in syscall_has_error()
58 static inline void syscall_set_error(struct pt_regs *regs) in syscall_set_error()
69 struct pt_regs *regs) in syscall_get_error()
77 struct pt_regs *regs) in syscall_get_return_value()
85 struct pt_regs *regs, in syscall_set_return_value()
[all …]
/linux/arch/mips/kernel/
A Dmips-r2-to-r6-emul.c199 static int movf_func(struct pt_regs *regs, u32 ir) in movf_func()
222 static int movt_func(struct pt_regs *regs, u32 ir) in movt_func()
247 static int jr_func(struct pt_regs *regs, u32 ir) in jr_func()
304 static int movz_func(struct pt_regs *regs, u32 ir) in movz_func()
320 static int movn_func(struct pt_regs *regs, u32 ir) in movn_func()
336 static int mfhi_func(struct pt_regs *regs, u32 ir) in mfhi_func()
353 static int mthi_func(struct pt_regs *regs, u32 ir) in mthi_func()
369 static int mflo_func(struct pt_regs *regs, u32 ir) in mflo_func()
386 static int mtlo_func(struct pt_regs *regs, u32 ir) in mtlo_func()
453 static int div_func(struct pt_regs *regs, u32 ir) in div_func()
[all …]
/linux/arch/mips/include/asm/
A Dptrace.h35 unsigned long regs[32]; member
54 static inline unsigned long kernel_stack_pointer(struct pt_regs *regs) in kernel_stack_pointer()
59 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set()
78 static inline unsigned long regs_get_register(struct pt_regs *regs, in regs_get_register()
95 static inline int regs_within_kernel_stack(struct pt_regs *regs, in regs_within_kernel_stack()
141 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER) argument
143 static inline int is_syscall_success(struct pt_regs *regs) in is_syscall_success()
148 static inline long regs_return_value(struct pt_regs *regs) in regs_return_value()
156 #define instruction_pointer(regs) ((regs)->cp0_epc) argument
157 #define profile_pc(regs) instruction_pointer(regs) argument
[all …]
/linux/arch/powerpc/include/asm/
A Dptrace.h155 #define profile_pc(regs) instruction_pointer(regs) argument
207 #define user_mode(regs) (((regs)->msr & MSR_PR) != 0) argument
231 #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) != 0) argument
232 #define IS_MCHECK_EXC(regs) (((regs)->trap & 4) != 0) argument
233 #define IS_DEBUG_EXC(regs) (((regs)->trap & 8) != 0) argument
235 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK) argument
242 static inline bool trap_is_scv(struct pt_regs *regs) in trap_is_scv()
252 static inline bool trap_is_syscall(struct pt_regs *regs) in trap_is_syscall()
257 static inline bool trap_norestart(struct pt_regs *regs) in trap_norestart()
267 #define kernel_stack_pointer(regs) ((regs)->gpr[1]) argument
[all …]
/linux/arch/s390/kernel/
A Dtraps.c34 static inline void __user *get_trap_ip(struct pt_regs *regs) in get_trap_ip()
72 void do_per_trap(struct pt_regs *regs) in do_per_trap()
83 static void default_trap_handler(struct pt_regs *regs) in default_trap_handler()
145 static void translation_exception(struct pt_regs *regs) in translation_exception()
151 static void illegal_op(struct pt_regs *regs) in illegal_op()
193 static void vector_exception(struct pt_regs *regs) in vector_exception()
227 static void data_exception(struct pt_regs *regs) in data_exception()
236 static void space_switch_exception(struct pt_regs *regs) in space_switch_exception()
245 static void monitor_event_exception(struct pt_regs *regs) in monitor_event_exception()
266 void kernel_stack_overflow(struct pt_regs *regs) in kernel_stack_overflow()
[all …]
/linux/arch/sh/include/asm/
A Dfpu.h12 static inline void release_fpu(struct pt_regs *regs) in release_fpu()
17 static inline void grab_fpu(struct pt_regs *regs) in grab_fpu()
29 #define release_fpu(regs) do { } while (0) argument
30 #define grab_fpu(regs) do { } while (0) argument
31 #define fpu_state_restore(regs) do { } while (0) argument
32 #define __fpu_state_restore(regs) do { } while (0) argument
40 static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in __unlazy_fpu()
50 static inline void unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in unlazy_fpu()
57 static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs) in clear_fpu()
/linux/arch/hexagon/kernel/
A Dtraps.c180 int die(const char *str, struct pt_regs *regs, long err) in die()
232 static void misaligned_instruction(struct pt_regs *regs) in misaligned_instruction()
243 static void misaligned_data_load(struct pt_regs *regs) in misaligned_data_load()
249 static void misaligned_data_store(struct pt_regs *regs) in misaligned_data_store()
255 static void illegal_instruction(struct pt_regs *regs) in illegal_instruction()
265 static void precise_bus_error(struct pt_regs *regs) in precise_bus_error()
276 static void cache_error(struct pt_regs *regs) in cache_error()
284 void do_genex(struct pt_regs *regs) in do_genex()
341 void do_trap0(struct pt_regs *regs) in do_trap0()
418 void do_machcheck(struct pt_regs *regs) in do_machcheck()
[all …]
/linux/arch/arm64/kernel/probes/
A Dsimulate-insn.c32 static inline void set_x_reg(struct pt_regs *regs, int reg, u64 val) in set_x_reg()
42 static inline u64 get_x_reg(struct pt_regs *regs, int reg) in get_x_reg()
47 static inline u32 get_w_reg(struct pt_regs *regs, int reg) in get_w_reg()
52 static bool __kprobes check_cbz(u32 opcode, struct pt_regs *regs) in check_cbz()
60 static bool __kprobes check_cbnz(u32 opcode, struct pt_regs *regs) in check_cbnz()
68 static bool __kprobes check_tbz(u32 opcode, struct pt_regs *regs) in check_tbz()
88 simulate_adr_adrp(u32 opcode, long addr, struct pt_regs *regs) in simulate_adr_adrp()
106 simulate_b_bl(u32 opcode, long addr, struct pt_regs *regs) in simulate_b_bl()
118 simulate_b_cond(u32 opcode, long addr, struct pt_regs *regs) in simulate_b_cond()
142 simulate_cbz_cbnz(u32 opcode, long addr, struct pt_regs *regs) in simulate_cbz_cbnz()
[all …]
/linux/arch/powerpc/kernel/
A Dtraps.c304 void user_single_step_report(struct pt_regs *regs) in user_single_step_report()
570 #define get_reason(regs) ((regs)->esr) argument
581 #define clear_br_trace(regs) do {} while(0) argument
585 #define get_reason(regs) ((regs)->msr) argument
602 int machine_check_e500mc(struct pt_regs *regs) in machine_check_e500mc()
709 int machine_check_e500(struct pt_regs *regs) in machine_check_e500()
751 int machine_check_generic(struct pt_regs *regs) in machine_check_generic()
756 int machine_check_generic(struct pt_regs *regs) in machine_check_generic()
1178 static void parse_fpe(struct pt_regs *regs) in parse_fpe()
1430 static int emulate_math(struct pt_regs *regs) in emulate_math()
[all …]
/linux/arch/x86/entry/
A Dcommon.c40 static __always_inline bool do_syscall_x64(struct pt_regs *regs, int nr) in do_syscall_x64()
56 static __always_inline bool do_syscall_x32(struct pt_regs *regs, int nr) in do_syscall_x32()
73 __visible noinstr void do_syscall_64(struct pt_regs *regs, int nr) in do_syscall_64()
91 static __always_inline int syscall_32_enter(struct pt_regs *regs) in syscall_32_enter()
102 static __always_inline void do_syscall_32_irqs_on(struct pt_regs *regs, int nr) in do_syscall_32_irqs_on()
119 __visible noinstr void do_int80_syscall_32(struct pt_regs *regs) in do_int80_syscall_32()
138 static noinstr bool __do_fast_syscall_32(struct pt_regs *regs) in __do_fast_syscall_32()
186 __visible noinstr long do_fast_syscall_32(struct pt_regs *regs) in do_fast_syscall_32()
238 __visible noinstr long do_SYSENTER_32(struct pt_regs *regs) in do_SYSENTER_32()
291 static void __xen_pv_evtchn_do_upcall(struct pt_regs *regs) in __xen_pv_evtchn_do_upcall()
[all …]
/linux/arch/arm/probes/kprobes/
A Dactions-thumb.c25 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_table_branch()
45 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_mrs()
54 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_cond_branch()
107 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_ldr_literal()
159 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_ldrdstrd()
186 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_ldrstr()
212 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_rd8rn16rm0_rwflags()
239 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_rd8pc16_noflags()
259 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_rd8rn16_noflags()
280 struct pt_regs *regs) in t32_emulate_rdlo12rdhi8rn16rm0_noflags()
[all …]
/linux/arch/x86/mm/
A Dextable.c19 struct pt_regs *regs) in ex_handler_default()
26 struct pt_regs *regs, int trapnr) in ex_handler_fault()
43 struct pt_regs *regs) in ex_handler_fprestore()
55 struct pt_regs *regs, int trapnr) in ex_handler_uaccess()
62 struct pt_regs *regs, int trapnr) in ex_handler_copy()
69 struct pt_regs *regs) in ex_handler_rdmsr_unsafe()
82 struct pt_regs *regs) in ex_handler_wrmsr_unsafe()
94 struct pt_regs *regs) in ex_handler_clear_fs()
109 int fixup_exception(struct pt_regs *regs, int trapnr, unsigned long error_code, in fixup_exception()
166 void __init early_fixup_exception(struct pt_regs *regs, int trapnr) in early_fixup_exception()
/linux/arch/ia64/include/asm/
A Dptrace.h53 # define instruction_pointer(regs) ((regs)->cr_iip + ia64_psr(regs)->ri) argument
54 # define instruction_pointer_set(regs, val) \ argument
60 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer()
65 static inline int is_syscall_success(struct pt_regs *regs) in is_syscall_success()
70 static inline long regs_return_value(struct pt_regs *regs) in regs_return_value()
81 #define profile_pc(regs) \ argument
89 # define ia64_psr(regs) ((struct ia64_psr *) &(regs)->cr_ipsr) argument
90 # define user_mode(regs) (((struct ia64_psr *) &(regs)->cr_ipsr)->cpl != 0) argument
91 # define user_stack(task,regs) ((long) regs - (long) task == IA64_STK_OFFSET - sizeof(*regs)) argument
92 # define fsys_mode(task,regs) \ argument
/linux/arch/x86/lib/
A Dinsn-eval.c415 static int get_reg_offset(struct insn *insn, struct pt_regs *regs, in get_reg_offset()
528 static int get_reg_offset_16(struct insn *insn, struct pt_regs *regs, in get_reg_offset_16()
659 unsigned long insn_get_seg_base(struct pt_regs *regs, int seg_reg_idx) in insn_get_seg_base()
774 int insn_get_code_seg_params(struct pt_regs *regs) in insn_get_code_seg_params()
833 int insn_get_modrm_rm_off(struct insn *insn, struct pt_regs *regs) in insn_get_modrm_rm_off()
848 int insn_get_modrm_reg_off(struct insn *insn, struct pt_regs *regs) in insn_get_modrm_reg_off()
874 static int get_seg_base_limit(struct insn *insn, struct pt_regs *regs, in get_seg_base_limit()
924 static int get_eff_addr_reg(struct insn *insn, struct pt_regs *regs, in get_eff_addr_reg()
1108 static int get_eff_addr_sib(struct insn *insn, struct pt_regs *regs, in get_eff_addr_sib()
1420 int insn_get_effective_ip(struct pt_regs *regs, unsigned long *ip) in insn_get_effective_ip()
[all …]
/linux/arch/arm64/include/asm/
A Dptrace.h182 u64 regs[31]; member
211 static inline void forget_syscall(struct pt_regs *regs) in forget_syscall()
221 #define compat_thumb_mode(regs) \ argument
224 #define compat_thumb_mode(regs) (0) argument
227 #define user_mode(regs) \ argument
230 #define compat_user_mode(regs) \ argument
234 #define processor_mode(regs) \ argument
237 #define irqs_priority_unmasked(regs) \ argument
242 #define interrupts_enabled(regs) \ argument
245 #define fast_interrupts_enabled(regs) \ argument
[all …]
/linux/arch/parisc/include/asm/
A Dptrace.h17 #define user_mode(regs) (((regs)->iaoq[0] & 3) != PRIV_KERNEL) argument
18 #define user_space(regs) ((regs)->iasq[1] != PRIV_KERNEL) argument
19 #define instruction_pointer(regs) ((regs)->iaoq[0] & ~3) argument
20 #define user_stack_pointer(regs) ((regs)->gr[30]) argument
23 static inline unsigned long regs_return_value(struct pt_regs *regs) in regs_return_value()
28 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set()
40 #define kernel_stack_pointer(regs) ((regs)->gr[30]) argument
42 static inline unsigned long regs_get_register(struct pt_regs *regs, in regs_get_register()

Completed in 56 milliseconds

12345678910>>...84