/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | asm-offsets.c | 24 OFFSET(__TASK_stack, task_struct, stack); in main() 25 OFFSET(__TASK_thread, task_struct, thread); in main() 26 OFFSET(__TASK_pid, task_struct, pid); in main() 29 OFFSET(__THREAD_ksp, thread_struct, ksp); in main() 30 OFFSET(__THREAD_sysc_table, thread_struct, sys_call_table); in main() 31 OFFSET(__THREAD_last_break, thread_struct, last_break); in main() 32 OFFSET(__THREAD_FPU_fpc, thread_struct, fpu.fpc); in main() 33 OFFSET(__THREAD_FPU_regs, thread_struct, fpu.regs); in main() 34 OFFSET(__THREAD_per_cause, thread_struct, per_event.cause); in main() 35 OFFSET(__THREAD_per_addres in main() [all...] |
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | asm-offsets.c | 23 OFFSET(__TASK_stack, task_struct, stack); in main() 24 OFFSET(__TASK_thread, task_struct, thread); in main() 25 OFFSET(__TASK_pid, task_struct, pid); in main() 28 OFFSET(__THREAD_ksp, thread_struct, ksp); in main() 31 OFFSET(__TI_flags, task_struct, thread_info.flags); in main() 34 OFFSET(__PT_PSW, pt_regs, psw); in main() 35 OFFSET(__PT_GPRS, pt_regs, gprs); in main() 36 OFFSET(__PT_R0, pt_regs, gprs[0]); in main() 37 OFFSET(__PT_R1, pt_regs, gprs[1]); in main() 38 OFFSET(__PT_R in main() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | asm-offsets.c | 81 OFFSET(THREAD, task_struct, thread); in main() 82 OFFSET(MM, task_struct, mm); in main() 84 OFFSET(TASK_CANARY, task_struct, stack_canary); in main() 86 OFFSET(PACA_CANARY, paca_struct, canary); in main() 89 OFFSET(MMCONTEXTID, mm_struct, context.id); in main() 94 OFFSET(KSP_LIMIT, thread_struct, ksp_limit); in main() 96 OFFSET(RTAS_SP, thread_struct, rtas_sp); in main() 99 OFFSET(TASK_STACK, task_struct, stack); in main() 101 OFFSET(TASK_CPU, task_struct, cpu); in main() 105 OFFSET(TI_livepatch_s in main() [all...] |
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | asm-offsets.c | 29 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines() 30 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines() 31 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines() 32 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines() 33 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines() 34 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines() 35 OFFSET(PT_R6, pt_regs, regs[6]); in output_ptreg_defines() 36 OFFSET(PT_R7, pt_regs, regs[7]); in output_ptreg_defines() 37 OFFSET(PT_R8, pt_regs, regs[8]); in output_ptreg_defines() 38 OFFSET(PT_R in output_ptreg_defines() [all...] |
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | asm-offsets.c | 30 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines() 31 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines() 32 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines() 33 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines() 34 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines() 35 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines() 36 OFFSET(PT_R6, pt_regs, regs[6]); in output_ptreg_defines() 37 OFFSET(PT_R7, pt_regs, regs[7]); in output_ptreg_defines() 38 OFFSET(PT_R8, pt_regs, regs[8]); in output_ptreg_defines() 39 OFFSET(PT_R in output_ptreg_defines() [all...] |
/kernel/linux/linux-5.10/arch/loongarch/kernel/ |
H A D | asm-offsets.c | 20 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines() 21 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines() 22 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines() 23 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines() 24 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines() 25 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines() 26 OFFSET(PT_R6, pt_regs, regs[6]); in output_ptreg_defines() 27 OFFSET(PT_R7, pt_regs, regs[7]); in output_ptreg_defines() 28 OFFSET(PT_R8, pt_regs, regs[8]); in output_ptreg_defines() 29 OFFSET(PT_R in output_ptreg_defines() [all...] |
/kernel/linux/linux-5.10/arch/c6x/kernel/ |
H A D | asm-offsets.c | 16 OFFSET(REGS_A16, pt_regs, a16); in foo() 17 OFFSET(REGS_A17, pt_regs, a17); in foo() 18 OFFSET(REGS_A18, pt_regs, a18); in foo() 19 OFFSET(REGS_A19, pt_regs, a19); in foo() 20 OFFSET(REGS_A20, pt_regs, a20); in foo() 21 OFFSET(REGS_A21, pt_regs, a21); in foo() 22 OFFSET(REGS_A22, pt_regs, a22); in foo() 23 OFFSET(REGS_A23, pt_regs, a23); in foo() 24 OFFSET(REGS_A24, pt_regs, a24); in foo() 25 OFFSET(REGS_A2 in foo() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | asm-offsets.c | 79 OFFSET(THREAD, task_struct, thread); in main() 80 OFFSET(MM, task_struct, mm); in main() 82 OFFSET(TASK_CANARY, task_struct, stack_canary); in main() 84 OFFSET(PACA_CANARY, paca_struct, canary); in main() 89 OFFSET(RTAS_SP, thread_struct, rtas_sp); in main() 92 OFFSET(TASK_STACK, task_struct, stack); in main() 94 OFFSET(TASK_CPU, task_struct, thread_info.cpu); in main() 98 OFFSET(TI_livepatch_sp, thread_info, livepatch_sp); in main() 101 OFFSET(KSP, thread_struct, ksp); in main() 102 OFFSET(PT_REG in main() [all...] |
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | asm-offsets.c | 20 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines() 21 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines() 22 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines() 23 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines() 24 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines() 25 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines() 26 OFFSET(PT_R6, pt_regs, regs[6]); in output_ptreg_defines() 27 OFFSET(PT_R7, pt_regs, regs[7]); in output_ptreg_defines() 28 OFFSET(PT_R8, pt_regs, regs[8]); in output_ptreg_defines() 29 OFFSET(PT_R in output_ptreg_defines() [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | asm-offsets.c | 37 OFFSET(TASK_threadsp, task_struct, thread.sp); in common() 39 OFFSET(TASK_stack_canary, task_struct, stack_canary); in common() 43 OFFSET(pbe_address, pbe, address); in common() 44 OFFSET(pbe_orig_address, pbe, orig_address); in common() 45 OFFSET(pbe_next, pbe, next); in common() 49 OFFSET(IA32_SIGCONTEXT_ax, sigcontext_32, ax); in common() 50 OFFSET(IA32_SIGCONTEXT_bx, sigcontext_32, bx); in common() 51 OFFSET(IA32_SIGCONTEXT_cx, sigcontext_32, cx); in common() 52 OFFSET(IA32_SIGCONTEXT_dx, sigcontext_32, dx); in common() 53 OFFSET(IA32_SIGCONTEXT_s in common() [all...] |
H A D | asm-offsets_32.c | 15 OFFSET(CPUINFO_x86, cpuinfo_x86, x86); in foo() 16 OFFSET(CPUINFO_x86_vendor, cpuinfo_x86, x86_vendor); in foo() 17 OFFSET(CPUINFO_x86_model, cpuinfo_x86, x86_model); in foo() 18 OFFSET(CPUINFO_x86_stepping, cpuinfo_x86, x86_stepping); in foo() 19 OFFSET(CPUINFO_cpuid_level, cpuinfo_x86, cpuid_level); in foo() 20 OFFSET(CPUINFO_x86_capability, cpuinfo_x86, x86_capability); in foo() 21 OFFSET(CPUINFO_x86_vendor_id, cpuinfo_x86, x86_vendor_id); in foo() 24 OFFSET(PT_EBX, pt_regs, bx); in foo() 25 OFFSET(PT_ECX, pt_regs, cx); in foo() 26 OFFSET(PT_ED in foo() [all...] |
/kernel/linux/linux-6.6/arch/riscv/kernel/ |
H A D | asm-offsets.c | 23 OFFSET(TASK_THREAD_RA, task_struct, thread.ra); in asm_offsets() 24 OFFSET(TASK_THREAD_SP, task_struct, thread.sp); in asm_offsets() 25 OFFSET(TASK_THREAD_S0, task_struct, thread.s[0]); in asm_offsets() 26 OFFSET(TASK_THREAD_S1, task_struct, thread.s[1]); in asm_offsets() 27 OFFSET(TASK_THREAD_S2, task_struct, thread.s[2]); in asm_offsets() 28 OFFSET(TASK_THREAD_S3, task_struct, thread.s[3]); in asm_offsets() 29 OFFSET(TASK_THREAD_S4, task_struct, thread.s[4]); in asm_offsets() 30 OFFSET(TASK_THREAD_S5, task_struct, thread.s[5]); in asm_offsets() 31 OFFSET(TASK_THREAD_S6, task_struct, thread.s[6]); in asm_offsets() 32 OFFSET(TASK_THREAD_S in asm_offsets() [all...] |
/kernel/linux/linux-5.10/arch/hexagon/kernel/ |
H A D | asm-offsets.c | 32 OFFSET(_PT_SYSCALL_NR, pt_regs, syscall_nr); in main() 33 OFFSET(_PT_GPUGP, pt_regs, gpugp); in main() 34 OFFSET(_PT_CS1CS0, pt_regs, cs1cs0); in main() 35 OFFSET(_PT_R3130, pt_regs, r3130); in main() 36 OFFSET(_PT_R2928, pt_regs, r2928); in main() 37 OFFSET(_PT_R2726, pt_regs, r2726); in main() 38 OFFSET(_PT_R2524, pt_regs, r2524); in main() 39 OFFSET(_PT_R2322, pt_regs, r2322); in main() 40 OFFSET(_PT_R2120, pt_regs, r2120); in main() 41 OFFSET(_PT_R191 in main() [all...] |
/kernel/linux/linux-6.6/arch/hexagon/kernel/ |
H A D | asm-offsets.c | 32 OFFSET(_PT_SYSCALL_NR, pt_regs, syscall_nr); in main() 33 OFFSET(_PT_GPUGP, pt_regs, gpugp); in main() 34 OFFSET(_PT_CS1CS0, pt_regs, cs1cs0); in main() 35 OFFSET(_PT_R3130, pt_regs, r3130); in main() 36 OFFSET(_PT_R2928, pt_regs, r2928); in main() 37 OFFSET(_PT_R2726, pt_regs, r2726); in main() 38 OFFSET(_PT_R2524, pt_regs, r2524); in main() 39 OFFSET(_PT_R2322, pt_regs, r2322); in main() 40 OFFSET(_PT_R2120, pt_regs, r2120); in main() 41 OFFSET(_PT_R191 in main() [all...] |
/kernel/linux/linux-5.10/arch/nios2/kernel/ |
H A D | asm-offsets.c | 17 OFFSET(TASK_THREAD, task_struct, thread); in main() 21 OFFSET(THREAD_KSP, thread_struct, ksp); in main() 22 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main() 26 OFFSET(PT_ORIG_R2, pt_regs, orig_r2); in main() 27 OFFSET(PT_ORIG_R7, pt_regs, orig_r7); in main() 29 OFFSET(PT_R1, pt_regs, r1); in main() 30 OFFSET(PT_R2, pt_regs, r2); in main() 31 OFFSET(PT_R3, pt_regs, r3); in main() 32 OFFSET(PT_R4, pt_regs, r4); in main() 33 OFFSET(PT_R in main() [all...] |
/kernel/linux/linux-6.6/arch/nios2/kernel/ |
H A D | asm-offsets.c | 17 OFFSET(TASK_THREAD, task_struct, thread); in main() 21 OFFSET(THREAD_KSP, thread_struct, ksp); in main() 22 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main() 26 OFFSET(PT_ORIG_R2, pt_regs, orig_r2); in main() 27 OFFSET(PT_ORIG_R7, pt_regs, orig_r7); in main() 29 OFFSET(PT_R1, pt_regs, r1); in main() 30 OFFSET(PT_R2, pt_regs, r2); in main() 31 OFFSET(PT_R3, pt_regs, r3); in main() 32 OFFSET(PT_R4, pt_regs, r4); in main() 33 OFFSET(PT_R in main() [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | asm-offsets.c | 35 OFFSET(TASK_threadsp, task_struct, thread.sp); in common() 37 OFFSET(TASK_stack_canary, task_struct, stack_canary); in common() 41 OFFSET(crypto_tfm_ctx_offset, crypto_tfm, __crt_ctx); in common() 44 OFFSET(pbe_address, pbe, address); in common() 45 OFFSET(pbe_orig_address, pbe, orig_address); in common() 46 OFFSET(pbe_next, pbe, next); in common() 50 OFFSET(IA32_SIGCONTEXT_ax, sigcontext_32, ax); in common() 51 OFFSET(IA32_SIGCONTEXT_bx, sigcontext_32, bx); in common() 52 OFFSET(IA32_SIGCONTEXT_cx, sigcontext_32, cx); in common() 53 OFFSET(IA32_SIGCONTEXT_d in common() [all...] |
H A D | asm-offsets_32.c | 15 OFFSET(CPUINFO_x86, cpuinfo_x86, x86); in foo() 16 OFFSET(CPUINFO_x86_vendor, cpuinfo_x86, x86_vendor); in foo() 17 OFFSET(CPUINFO_x86_model, cpuinfo_x86, x86_model); in foo() 18 OFFSET(CPUINFO_x86_stepping, cpuinfo_x86, x86_stepping); in foo() 19 OFFSET(CPUINFO_cpuid_level, cpuinfo_x86, cpuid_level); in foo() 20 OFFSET(CPUINFO_x86_capability, cpuinfo_x86, x86_capability); in foo() 21 OFFSET(CPUINFO_x86_vendor_id, cpuinfo_x86, x86_vendor_id); in foo() 24 OFFSET(PT_EBX, pt_regs, bx); in foo() 25 OFFSET(PT_ECX, pt_regs, cx); in foo() 26 OFFSET(PT_ED in foo() [all...] |
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
H A D | asm-offsets.c | 16 OFFSET(TASK_THREAD_RA, task_struct, thread.ra); in asm_offsets() 17 OFFSET(TASK_THREAD_SP, task_struct, thread.sp); in asm_offsets() 18 OFFSET(TASK_THREAD_S0, task_struct, thread.s[0]); in asm_offsets() 19 OFFSET(TASK_THREAD_S1, task_struct, thread.s[1]); in asm_offsets() 20 OFFSET(TASK_THREAD_S2, task_struct, thread.s[2]); in asm_offsets() 21 OFFSET(TASK_THREAD_S3, task_struct, thread.s[3]); in asm_offsets() 22 OFFSET(TASK_THREAD_S4, task_struct, thread.s[4]); in asm_offsets() 23 OFFSET(TASK_THREAD_S5, task_struct, thread.s[5]); in asm_offsets() 24 OFFSET(TASK_THREAD_S6, task_struct, thread.s[6]); in asm_offsets() 25 OFFSET(TASK_THREAD_S in asm_offsets() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
H A D | pm3393.c | 48 #define OFFSET(REG_ADDR) ((REG_ADDR) << 2) macro 96 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread() 102 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite() 429 t1_tpi_read((mac)->adapter, OFFSET(name), &val0); \ 430 t1_tpi_read((mac)->adapter, OFFSET((name)+1), &val1); \ 431 t1_tpi_read((mac)->adapter, OFFSET((name)+2), &val2); \ 600 t1_tpi_write(adapter, OFFSET(0x0001), 0x00008000); in pm3393_mac_create() 601 t1_tpi_write(adapter, OFFSET(0x0001), 0x00000000); in pm3393_mac_create() 602 t1_tpi_write(adapter, OFFSET(0x2308), 0x00009800); in pm3393_mac_create() 603 t1_tpi_write(adapter, OFFSET( in pm3393_mac_create() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb/ |
H A D | pm3393.c | 39 #define OFFSET(REG_ADDR) ((REG_ADDR) << 2) macro 87 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread() 93 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite() 420 t1_tpi_read((mac)->adapter, OFFSET(name), &val0); \ 421 t1_tpi_read((mac)->adapter, OFFSET((name)+1), &val1); \ 422 t1_tpi_read((mac)->adapter, OFFSET((name)+2), &val2); \ 591 t1_tpi_write(adapter, OFFSET(0x0001), 0x00008000); in pm3393_mac_create() 592 t1_tpi_write(adapter, OFFSET(0x0001), 0x00000000); in pm3393_mac_create() 593 t1_tpi_write(adapter, OFFSET(0x2308), 0x00009800); in pm3393_mac_create() 594 t1_tpi_write(adapter, OFFSET( in pm3393_mac_create() [all...] |
/kernel/linux/linux-5.10/arch/h8300/kernel/ |
H A D | asm-offsets.c | 24 OFFSET(TASK_STATE, task_struct, state); in main() 25 OFFSET(TASK_FLAGS, task_struct, flags); in main() 26 OFFSET(TASK_PTRACE, task_struct, ptrace); in main() 27 OFFSET(TASK_BLOCKED, task_struct, blocked); in main() 28 OFFSET(TASK_THREAD, task_struct, thread); in main() 29 OFFSET(TASK_THREAD_INFO, task_struct, stack); in main() 30 OFFSET(TASK_MM, task_struct, mm); in main() 31 OFFSET(TASK_ACTIVE_MM, task_struct, active_mm); in main() 38 OFFSET(THREAD_KSP, thread_struct, ksp); in main() 39 OFFSET(THREAD_US in main() [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | asm-offsets.c | 33 OFFSET(SC_REG_FP, saved_context, fp); in sparc64_foo() 34 OFFSET(SC_REG_CWP, saved_context, cwp); in sparc64_foo() 35 OFFSET(SC_REG_WSTATE, saved_context, wstate); in sparc64_foo() 37 OFFSET(SC_REG_TICK, saved_context, tick); in sparc64_foo() 38 OFFSET(SC_REG_PSTATE, saved_context, pstate); in sparc64_foo() 40 OFFSET(SC_REG_G4, saved_context, g4); in sparc64_foo() 41 OFFSET(SC_REG_G5, saved_context, g5); in sparc64_foo() 42 OFFSET(SC_REG_G6, saved_context, g6); in sparc64_foo()
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | asm-offsets.c | 33 OFFSET(SC_REG_FP, saved_context, fp); in sparc64_foo() 34 OFFSET(SC_REG_CWP, saved_context, cwp); in sparc64_foo() 35 OFFSET(SC_REG_WSTATE, saved_context, wstate); in sparc64_foo() 37 OFFSET(SC_REG_TICK, saved_context, tick); in sparc64_foo() 38 OFFSET(SC_REG_PSTATE, saved_context, pstate); in sparc64_foo() 40 OFFSET(SC_REG_G4, saved_context, g4); in sparc64_foo() 41 OFFSET(SC_REG_G5, saved_context, g5); in sparc64_foo() 42 OFFSET(SC_REG_G6, saved_context, g6); in sparc64_foo()
|
/kernel/linux/linux-6.6/arch/x86/kvm/ |
H A D | kvm-asm-offsets.c | 17 OFFSET(SVM_vcpu_arch_regs, vcpu_svm, vcpu.arch.regs); in common() 18 OFFSET(SVM_current_vmcb, vcpu_svm, current_vmcb); in common() 19 OFFSET(SVM_spec_ctrl, vcpu_svm, spec_ctrl); in common() 20 OFFSET(SVM_vmcb01, vcpu_svm, vmcb01); in common() 21 OFFSET(KVM_VMCB_pa, kvm_vmcb_info, pa); in common() 22 OFFSET(SD_save_area_pa, svm_cpu_data, save_area_pa); in common() 27 OFFSET(VMX_spec_ctrl, vcpu_vmx, spec_ctrl); in common()
|