/linux-6.12.1/arch/um/kernel/ |
D | ptrace.c | 63 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/ |
D | ptrace.h | 35 #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/ |
D | ptrace.h | 61 #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/ |
D | ptrace.h | 38 #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/ |
D | extable.c | 32 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/ |
D | ptrace.h | 58 #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/ |
D | ptrace.h | 8 #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/ |
D | ptrace.h | 86 #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/ |
D | ptrace.h | 67 #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/ |
D | ptrace.h | 68 #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/ |
D | ptrace.h | 128 #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/ |
D | ptrace_32.h | 8 #define MAX_REG_OFFSET offsetof(struct pt_regs, tra) macro
|
D | ptrace.h | 80 if (unlikely(offset > MAX_REG_OFFSET)) in regs_get_register()
|
/linux-6.12.1/arch/x86/um/ |
D | ptrace_64.c | 116 if (addr < MAX_REG_OFFSET) in poke_user() 180 if (addr < MAX_REG_OFFSET) in peek_user()
|
D | ptrace_32.c | 104 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/ |
D | ptrace.h | 345 #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/ |
D | extable.c | 20 if (offset && offset <= MAX_REG_OFFSET) in regs_set_gpr()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | ptrace.h | 320 #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/ |
D | ptrace.h | 193 #define MAX_REG_OFFSET offsetof(struct pt_regs, pstate) macro
|