Home
last modified time | relevance | path

Searched refs:MAX_REG_OFFSET (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/arch/um/kernel/
Dptrace.c63 if (!access_ok(p, MAX_REG_OFFSET)) { in arch_ptrace()
67 for ( i = 0; i < MAX_REG_OFFSET; i += sizeof(long) ) { in arch_ptrace()
78 if (!access_ok(p, MAX_REG_OFFSET)) { in arch_ptrace()
82 for ( i = 0; i < MAX_REG_OFFSET; i += sizeof(long) ) { in arch_ptrace()
/linux-6.12.1/arch/csky/include/asm/
Dptrace.h35 #define MAX_REG_OFFSET offsetof(struct pt_regs, dcsr) macro
37 #define MAX_REG_OFFSET offsetof(struct pt_regs, regs[9]) macro
93 if (unlikely(offset > MAX_REG_OFFSET)) in regs_get_register()
/linux-6.12.1/arch/arc/include/asm/
Dptrace.h61 #define MAX_REG_OFFSET offsetof(struct pt_regs, ecr) macro
103 #define MAX_REG_OFFSET offsetof(struct pt_regs, status32) macro
166 if (unlikely(offset > MAX_REG_OFFSET)) in regs_get_register()
/linux-6.12.1/arch/parisc/include/asm/
Dptrace.h38 #define MAX_REG_OFFSET (offsetof(struct pt_regs, ipsw)) macro
45 if (unlikely(offset > MAX_REG_OFFSET)) in regs_get_register()
/linux-6.12.1/arch/riscv/mm/
Dextable.c32 if (unlikely(!offset || offset > MAX_REG_OFFSET)) in regs_get_gpr()
41 if (unlikely(offset > MAX_REG_OFFSET)) in regs_set_gpr()
/linux-6.12.1/arch/loongarch/include/asm/
Dptrace.h58 #define MAX_REG_OFFSET (offsetof(struct pt_regs, __last)) macro
71 if (unlikely(offset > MAX_REG_OFFSET)) in regs_get_register()
/linux-6.12.1/arch/x86/um/shared/sysdep/
Dptrace.h8 #define MAX_REG_OFFSET (UM_FRAME_SIZE) macro
9 #define MAX_REG_NR ((MAX_REG_OFFSET) / sizeof(unsigned long))
/linux-6.12.1/arch/sparc/include/asm/
Dptrace.h86 #define MAX_REG_OFFSET (offsetof(struct pt_regs, magic)) macro
104 if (unlikely(offset >= MAX_REG_OFFSET)) in regs_get_register()
/linux-6.12.1/arch/riscv/include/asm/
Dptrace.h67 #define MAX_REG_OFFSET offsetof(struct pt_regs, orig_a0) macro
140 if (unlikely(offset > MAX_REG_OFFSET)) in regs_get_register()
/linux-6.12.1/arch/mips/include/asm/
Dptrace.h68 #define MAX_REG_OFFSET (offsetof(struct pt_regs, __last)) macro
82 if (unlikely(offset > MAX_REG_OFFSET)) in regs_get_register()
/linux-6.12.1/arch/arm/include/asm/
Dptrace.h128 #define MAX_REG_OFFSET (offsetof(struct pt_regs, ARM_ORIG_r0)) macro
148 if (unlikely(offset > MAX_REG_OFFSET)) in regs_get_register()
/linux-6.12.1/arch/sh/include/asm/
Dptrace_32.h8 #define MAX_REG_OFFSET offsetof(struct pt_regs, tra) macro
Dptrace.h80 if (unlikely(offset > MAX_REG_OFFSET)) in regs_get_register()
/linux-6.12.1/arch/x86/um/
Dptrace_64.c116 if (addr < MAX_REG_OFFSET) in poke_user()
180 if (addr < MAX_REG_OFFSET) in peek_user()
Dptrace_32.c104 if (addr < MAX_REG_OFFSET) in poke_user()
159 if (addr < MAX_REG_OFFSET) { in peek_user()
/linux-6.12.1/arch/powerpc/include/asm/
Dptrace.h345 #define MAX_REG_OFFSET (offsetof(struct pt_regs, dsisr)) macro
359 if (unlikely(offset > MAX_REG_OFFSET)) in regs_get_register()
/linux-6.12.1/arch/loongarch/mm/
Dextable.c20 if (offset && offset <= MAX_REG_OFFSET) in regs_set_gpr()
/linux-6.12.1/arch/x86/include/asm/
Dptrace.h320 #define MAX_REG_OFFSET (offsetof(struct pt_regs, ss)) macro
334 if (unlikely(offset > MAX_REG_OFFSET)) in regs_get_register()
/linux-6.12.1/arch/arm64/include/asm/
Dptrace.h193 #define MAX_REG_OFFSET offsetof(struct pt_regs, pstate) macro