Home
last modified time | relevance | path

Searched refs:offsetof (Results 1 – 25 of 1149) sorted by relevance

12345678910>>...46

/Linux-v4.19/arch/ia64/kernel/
Dasm-offsets.c39 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo()
40 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in foo()
41 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in foo()
43 DEFINE(TI_AC_STAMP, offsetof(struct thread_info, ac_stamp)); in foo()
44 DEFINE(TI_AC_LEAVE, offsetof(struct thread_info, ac_leave)); in foo()
45 DEFINE(TI_AC_STIME, offsetof(struct thread_info, ac_stime)); in foo()
46 DEFINE(TI_AC_UTIME, offsetof(struct thread_info, ac_utime)); in foo()
51 DEFINE(IA64_TASK_BLOCKED_OFFSET,offsetof (struct task_struct, blocked)); in foo()
52 DEFINE(IA64_TASK_CLEAR_CHILD_TID_OFFSET,offsetof (struct task_struct, clear_child_tid)); in foo()
53 DEFINE(IA64_TASK_THREAD_PID_OFFSET,offsetof (struct task_struct, thread_pid)); in foo()
[all …]
/Linux-v4.19/arch/parisc/kernel/
Dasm-offsets.c57 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main()
58 DEFINE(TASK_STATE, offsetof(struct task_struct, state)); in main()
59 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
60 DEFINE(TASK_SIGPENDING, offsetof(struct task_struct, pending)); in main()
61 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
62 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
63 DEFINE(TASK_PERSONALITY, offsetof(struct task_struct, personality)); in main()
64 DEFINE(TASK_PID, offsetof(struct task_struct, pid)); in main()
66 DEFINE(TASK_REGS, offsetof(struct task_struct, thread.regs)); in main()
67 DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0])); in main()
[all …]
/Linux-v4.19/arch/microblaze/kernel/
Dasm-offsets.c25 DEFINE(PT_MSR, offsetof(struct pt_regs, msr)); in main()
26 DEFINE(PT_EAR, offsetof(struct pt_regs, ear)); in main()
27 DEFINE(PT_ESR, offsetof(struct pt_regs, esr)); in main()
28 DEFINE(PT_FSR, offsetof(struct pt_regs, fsr)); in main()
29 DEFINE(PT_PC, offsetof(struct pt_regs, pc)); in main()
30 DEFINE(PT_R0, offsetof(struct pt_regs, r0)); in main()
31 DEFINE(PT_R1, offsetof(struct pt_regs, r1)); in main()
32 DEFINE(PT_R2, offsetof(struct pt_regs, r2)); in main()
33 DEFINE(PT_R3, offsetof(struct pt_regs, r3)); in main()
34 DEFINE(PT_R4, offsetof(struct pt_regs, r4)); in main()
[all …]
/Linux-v4.19/arch/arm64/kernel/
Dasm-offsets.c40 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
42 DEFINE(TSK_TI_FLAGS, offsetof(struct task_struct, thread_info.flags)); in main()
43 DEFINE(TSK_TI_PREEMPT, offsetof(struct task_struct, thread_info.preempt_count)); in main()
44 DEFINE(TSK_TI_ADDR_LIMIT, offsetof(struct task_struct, thread_info.addr_limit)); in main()
46 DEFINE(TSK_TI_TTBR0, offsetof(struct task_struct, thread_info.ttbr0)); in main()
48 DEFINE(TSK_STACK, offsetof(struct task_struct, stack)); in main()
50 DEFINE(THREAD_CPU_CONTEXT, offsetof(struct task_struct, thread.cpu_context)); in main()
52 DEFINE(S_X0, offsetof(struct pt_regs, regs[0])); in main()
53 DEFINE(S_X1, offsetof(struct pt_regs, regs[1])); in main()
54 DEFINE(S_X2, offsetof(struct pt_regs, regs[2])); in main()
[all …]
Dkgdb.c34 { "x0", 8, offsetof(struct pt_regs, regs[0])},
35 { "x1", 8, offsetof(struct pt_regs, regs[1])},
36 { "x2", 8, offsetof(struct pt_regs, regs[2])},
37 { "x3", 8, offsetof(struct pt_regs, regs[3])},
38 { "x4", 8, offsetof(struct pt_regs, regs[4])},
39 { "x5", 8, offsetof(struct pt_regs, regs[5])},
40 { "x6", 8, offsetof(struct pt_regs, regs[6])},
41 { "x7", 8, offsetof(struct pt_regs, regs[7])},
42 { "x8", 8, offsetof(struct pt_regs, regs[8])},
43 { "x9", 8, offsetof(struct pt_regs, regs[9])},
[all …]
/Linux-v4.19/arch/xtensa/kernel/
Dasm-offsets.c32 DEFINE(PT_PC, offsetof (struct pt_regs, pc)); in main()
33 DEFINE(PT_PS, offsetof (struct pt_regs, ps)); in main()
34 DEFINE(PT_DEPC, offsetof (struct pt_regs, depc)); in main()
35 DEFINE(PT_EXCCAUSE, offsetof (struct pt_regs, exccause)); in main()
36 DEFINE(PT_EXCVADDR, offsetof (struct pt_regs, excvaddr)); in main()
37 DEFINE(PT_DEBUGCAUSE, offsetof (struct pt_regs, debugcause)); in main()
38 DEFINE(PT_WMASK, offsetof (struct pt_regs, wmask)); in main()
39 DEFINE(PT_LBEG, offsetof (struct pt_regs, lbeg)); in main()
40 DEFINE(PT_LEND, offsetof (struct pt_regs, lend)); in main()
41 DEFINE(PT_LCOUNT, offsetof (struct pt_regs, lcount)); in main()
[all …]
/Linux-v4.19/arch/arm/kernel/
Dasm-offsets.c52 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
54 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
57 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
58 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
59 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main()
60 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
61 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
62 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main()
63 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main()
64 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); in main()
[all …]
/Linux-v4.19/arch/x86/kernel/
Dsignal_compat.c20 int _sifields_offset = offsetof(compat_siginfo_t, _sifields); in signal_compat_build_tests()
43 BUILD_BUG_ON(offsetof(compat_siginfo_t, _sifields) != 3 * sizeof(int)); in signal_compat_build_tests()
44 #define CHECK_CSI_OFFSET(name) BUILD_BUG_ON(_sifields_offset != offsetof(compat_siginfo_t, _sifie… in signal_compat_build_tests()
46 BUILD_BUG_ON(offsetof(siginfo_t, si_signo) != 0); in signal_compat_build_tests()
47 BUILD_BUG_ON(offsetof(siginfo_t, si_errno) != 4); in signal_compat_build_tests()
48 BUILD_BUG_ON(offsetof(siginfo_t, si_code) != 8); in signal_compat_build_tests()
50 BUILD_BUG_ON(offsetof(compat_siginfo_t, si_signo) != 0); in signal_compat_build_tests()
51 BUILD_BUG_ON(offsetof(compat_siginfo_t, si_errno) != 4); in signal_compat_build_tests()
52 BUILD_BUG_ON(offsetof(compat_siginfo_t, si_code) != 8); in signal_compat_build_tests()
73 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x10); in signal_compat_build_tests()
[all …]
/Linux-v4.19/arch/unicore32/kernel/
Dasm-offsets.c39 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
41 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
42 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
43 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main()
44 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
45 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
46 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main()
47 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); in main()
49 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main()
52 DEFINE(S_R0, offsetof(struct pt_regs, UCreg_00)); in main()
[all …]
/Linux-v4.19/arch/m68k/kernel/
Dasm-offsets.c26 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
27 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
28 DEFINE(TASK_STACK, offsetof(struct task_struct, stack)); in main()
31 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
32 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp)); in main()
33 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr)); in main()
34 DEFINE(THREAD_FS, offsetof(struct thread_struct, fs)); in main()
35 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main()
36 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0)); in main()
37 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, fp)); in main()
[all …]
/Linux-v4.19/arch/hexagon/kernel/
Dkgdb.c33 { " r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, r00)},
34 { " r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, r01)},
35 { " r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, r02)},
36 { " r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, r03)},
37 { " r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, r04)},
38 { " r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, r05)},
39 { " r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, r06)},
40 { " r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, r07)},
41 { " r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, r08)},
42 { " r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, r09)},
[all …]
/Linux-v4.19/arch/sh/kernel/
Dasm-offsets.c24 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
25 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
26 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
27 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in main()
31 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); in main()
32 DEFINE(PBE_ORIG_ADDRESS, offsetof(struct pbe, orig_address)); in main()
33 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); in main()
37 DEFINE(SH_SLEEP_MODE, offsetof(struct sh_sleep_data, mode)); in main()
38 DEFINE(SH_SLEEP_SF_PRE, offsetof(struct sh_sleep_data, sf_pre)); in main()
39 DEFINE(SH_SLEEP_SF_POST, offsetof(struct sh_sleep_data, sf_post)); in main()
[all …]
/Linux-v4.19/arch/riscv/kernel/
Dasm-offsets.c125 offsetof(struct task_struct, thread.ra) in asm_offsets()
126 - offsetof(struct task_struct, thread.ra) in asm_offsets()
129 offsetof(struct task_struct, thread.sp) in asm_offsets()
130 - offsetof(struct task_struct, thread.ra) in asm_offsets()
133 offsetof(struct task_struct, thread.s[0]) in asm_offsets()
134 - offsetof(struct task_struct, thread.ra) in asm_offsets()
137 offsetof(struct task_struct, thread.s[1]) in asm_offsets()
138 - offsetof(struct task_struct, thread.ra) in asm_offsets()
141 offsetof(struct task_struct, thread.s[2]) in asm_offsets()
142 - offsetof(struct task_struct, thread.ra) in asm_offsets()
[all …]
/Linux-v4.19/arch/arc/kernel/
Dasm-offsets.c20 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
21 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main()
25 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
26 DEFINE(THREAD_CALLEE_REG, offsetof(struct thread_struct, callee_reg)); in main()
28 offsetof(struct thread_struct, fault_address)); in main()
32 DEFINE(THREAD_INFO_FLAGS, offsetof(struct thread_info, flags)); in main()
34 offsetof(struct thread_info, preempt_count)); in main()
38 DEFINE(TASK_ACT_MM, offsetof(struct task_struct, active_mm)); in main()
39 DEFINE(TASK_TGID, offsetof(struct task_struct, tgid)); in main()
40 DEFINE(TASK_PID, offsetof(struct task_struct, pid)); in main()
[all …]
/Linux-v4.19/include/linux/
Dti-emif-sram.h66 offsetof(struct emif_regs_amx3, emif_sdcfg_val)); in ti_emif_asm_offsets()
68 offsetof(struct emif_regs_amx3, emif_timing1_val)); in ti_emif_asm_offsets()
70 offsetof(struct emif_regs_amx3, emif_timing2_val)); in ti_emif_asm_offsets()
72 offsetof(struct emif_regs_amx3, emif_timing3_val)); in ti_emif_asm_offsets()
74 offsetof(struct emif_regs_amx3, emif_ref_ctrl_val)); in ti_emif_asm_offsets()
76 offsetof(struct emif_regs_amx3, emif_zqcfg_val)); in ti_emif_asm_offsets()
78 offsetof(struct emif_regs_amx3, emif_pmcr_val)); in ti_emif_asm_offsets()
80 offsetof(struct emif_regs_amx3, emif_pmcr_shdw_val)); in ti_emif_asm_offsets()
82 offsetof(struct emif_regs_amx3, emif_rd_wr_level_ramp_ctrl)); in ti_emif_asm_offsets()
84 offsetof(struct emif_regs_amx3, emif_rd_wr_exec_thresh)); in ti_emif_asm_offsets()
[all …]
/Linux-v4.19/drivers/pci/hotplug/
Dcpqphp.h48 SMBIOS_SLOT_GENERIC_TYPE = offsetof(struct smbios_system_slot, type),
49 SMBIOS_SLOT_GENERIC_LENGTH = offsetof(struct smbios_system_slot, length),
50 SMBIOS_SLOT_GENERIC_HANDLE = offsetof(struct smbios_system_slot, handle),
51 SMBIOS_SLOT_NAME_STRING_NUM = offsetof(struct smbios_system_slot, name_string_num),
52 SMBIOS_SLOT_TYPE = offsetof(struct smbios_system_slot, slot_type),
53 SMBIOS_SLOT_WIDTH = offsetof(struct smbios_system_slot, slot_width),
54 SMBIOS_SLOT_CURRENT_USAGE = offsetof(struct smbios_system_slot, slot_current_usage),
55 SMBIOS_SLOT_LENGTH = offsetof(struct smbios_system_slot, slot_length),
56 SMBIOS_SLOT_NUMBER = offsetof(struct smbios_system_slot, slot_number),
57 SMBIOS_SLOT_PROPERTIES1 = offsetof(struct smbios_system_slot, properties1),
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Dkgdb.c274 { "r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[0]) },
275 { "r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[1]) },
276 { "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[2]) },
277 { "r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[3]) },
278 { "r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[4]) },
279 { "r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[5]) },
280 { "r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[6]) },
281 { "r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[7]) },
282 { "r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[8]) },
283 { "r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[9]) },
[all …]
/Linux-v4.19/arch/mips/kernel/
Dkgdb.c56 { "zero", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[0]) },
57 { "at", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[1]) },
58 { "v0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[2]) },
59 { "v1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[3]) },
60 { "a0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[4]) },
61 { "a1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[5]) },
62 { "a2", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[6]) },
63 { "a3", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[7]) },
64 { "t0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[8]) },
65 { "t1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[9]) },
[all …]
/Linux-v4.19/arch/nios2/kernel/
Dkgdb.c34 { "at", GDB_SIZEOF_REG, offsetof(struct pt_regs, r1) },
35 { "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, r2) },
36 { "r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, r3) },
37 { "r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, r4) },
38 { "r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, r5) },
39 { "r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, r6) },
40 { "r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, r7) },
41 { "r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, r8) },
42 { "r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, r9) },
43 { "r10", GDB_SIZEOF_REG, offsetof(struct pt_regs, r10) },
[all …]
/Linux-v4.19/arch/alpha/kernel/
Dasm-offsets.c17 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in foo()
18 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo()
19 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in foo()
22 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); in foo()
23 DEFINE(TASK_CRED, offsetof(struct task_struct, cred)); in foo()
24 DEFINE(TASK_REAL_PARENT, offsetof(struct task_struct, real_parent)); in foo()
25 DEFINE(TASK_GROUP_LEADER, offsetof(struct task_struct, group_leader)); in foo()
26 DEFINE(TASK_TGID, offsetof(struct task_struct, tgid)); in foo()
29 DEFINE(CRED_UID, offsetof(struct cred, uid)); in foo()
30 DEFINE(CRED_EUID, offsetof(struct cred, euid)); in foo()
[all …]
/Linux-v4.19/arch/h8300/kernel/
Dasm-offsets.c34 DEFINE(CPUSTAT_SOFTIRQ_PENDING, offsetof(irq_cpustat_t, in main()
43 DEFINE(LER0, offsetof(struct pt_regs, er0) - sizeof(long)); in main()
44 DEFINE(LER1, offsetof(struct pt_regs, er1) - sizeof(long)); in main()
45 DEFINE(LER2, offsetof(struct pt_regs, er2) - sizeof(long)); in main()
46 DEFINE(LER3, offsetof(struct pt_regs, er3) - sizeof(long)); in main()
47 DEFINE(LER4, offsetof(struct pt_regs, er4) - sizeof(long)); in main()
48 DEFINE(LER5, offsetof(struct pt_regs, er5) - sizeof(long)); in main()
49 DEFINE(LER6, offsetof(struct pt_regs, er6) - sizeof(long)); in main()
50 DEFINE(LORIG, offsetof(struct pt_regs, orig_er0) - sizeof(long)); in main()
51 DEFINE(LSP, offsetof(struct pt_regs, sp) - sizeof(long)); in main()
[all …]
/Linux-v4.19/arch/nds32/kernel/
Dasm-offsets.c12 DEFINE(TSK_TI_FLAGS, offsetof(struct task_struct, thread_info.flags)); in main()
14 offsetof(struct task_struct, thread_info.preempt_count)); in main()
16 offsetof(struct task_struct, thread.cpu_context)); in main()
17 DEFINE(OSP_OFFSET, offsetof(struct pt_regs, osp)); in main()
18 DEFINE(SP_OFFSET, offsetof(struct pt_regs, sp)); in main()
19 DEFINE(FUCOP_CTL_OFFSET, offsetof(struct pt_regs, fucop_ctl)); in main()
20 DEFINE(IPSW_OFFSET, offsetof(struct pt_regs, ipsw)); in main()
21 DEFINE(SYSCALLNO_OFFSET, offsetof(struct pt_regs, syscallno)); in main()
22 DEFINE(IPC_OFFSET, offsetof(struct pt_regs, ipc)); in main()
23 DEFINE(R0_OFFSET, offsetof(struct pt_regs, uregs[0])); in main()
[all …]
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_dbg.c46 (uint8_t) offsetof(struct isp_reg, mailbox[i]), i, in qla4xxx_dump_registers()
51 (uint8_t) offsetof(struct isp_reg, flash_address), in qla4xxx_dump_registers()
54 (uint8_t) offsetof(struct isp_reg, flash_data), in qla4xxx_dump_registers()
57 (uint8_t) offsetof(struct isp_reg, ctrl_status), in qla4xxx_dump_registers()
62 (uint8_t) offsetof(struct isp_reg, u1.isp4010.nvram), in qla4xxx_dump_registers()
66 (uint8_t) offsetof(struct isp_reg, u1.isp4022.intr_mask), in qla4xxx_dump_registers()
69 (uint8_t) offsetof(struct isp_reg, u1.isp4022.nvram), in qla4xxx_dump_registers()
72 (uint8_t) offsetof(struct isp_reg, u1.isp4022.semaphore), in qla4xxx_dump_registers()
76 (uint8_t) offsetof(struct isp_reg, req_q_in), in qla4xxx_dump_registers()
79 (uint8_t) offsetof(struct isp_reg, rsp_q_out), in qla4xxx_dump_registers()
[all …]
/Linux-v4.19/arch/openrisc/kernel/
Dasm-offsets.c45 DEFINE(TASK_STATE, offsetof(struct task_struct, state)); in main()
46 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
47 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
48 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
49 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
50 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
53 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
54 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
55 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
56 DEFINE(TI_KSP, offsetof(struct thread_info, ksp)); in main()
/Linux-v4.19/arch/mips/kvm/
Dentry.c156 UASM_i_SW(p, tmp, offsetof(struct pt_regs, cp0_epc), frame); in kvm_mips_build_save_scratch()
161 UASM_i_SW(p, tmp, offsetof(struct pt_regs, cp0_cause), frame); in kvm_mips_build_save_scratch()
172 UASM_i_LW(p, tmp, offsetof(struct pt_regs, cp0_epc), frame); in kvm_mips_build_restore_scratch()
176 UASM_i_LW(p, tmp, offsetof(struct pt_regs, cp0_cause), frame); in kvm_mips_build_restore_scratch()
229 UASM_i_SW(&p, i, offsetof(struct pt_regs, regs[i]), K1); in kvm_mips_build_vcpu_run()
234 UASM_i_SW(&p, V0, offsetof(struct pt_regs, cp0_status), K1); in kvm_mips_build_vcpu_run()
243 UASM_i_ADDIU(&p, K1, A1, offsetof(struct kvm_vcpu, arch)); in kvm_mips_build_vcpu_run()
249 UASM_i_SW(&p, SP, offsetof(struct kvm_vcpu_arch, host_stack), K1); in kvm_mips_build_vcpu_run()
252 UASM_i_SW(&p, GP, offsetof(struct kvm_vcpu_arch, host_gp), K1); in kvm_mips_build_vcpu_run()
263 UASM_i_LW(&p, K0, offsetof(struct kvm_vcpu_arch, guest_ebase), K1); in kvm_mips_build_vcpu_run()
[all …]

12345678910>>...46