Home
last modified time | relevance | path

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

123456

/arch/ia64/kvm/
Dasm-offsets.c38 offsetof(struct kvm_vcpu, arch.metaphysical_rr0)); in foo()
40 offsetof(struct kvm_vcpu, in foo()
43 offsetof(struct kvm_vcpu, arch.vrr[0])); in foo()
45 offsetof(struct vpd, irr[0])); in foo()
47 offsetof(struct kvm_vcpu, arch.itc_check)); in foo()
49 offsetof(struct kvm_vcpu, arch.irq_check)); in foo()
51 offsetof(struct vpd, vhpi)); in foo()
53 offsetof(struct kvm_vcpu, arch.vsa_base)); in foo()
55 offsetof(struct kvm_vcpu, arch.vpd)); in foo()
57 offsetof(struct kvm_vcpu, arch.irq_check)); in foo()
[all …]
/arch/ia64/kernel/
Dasm-offsets.c41 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo()
42 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in foo()
43 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in foo()
45 DEFINE(TI_AC_STAMP, offsetof(struct thread_info, ac_stamp)); in foo()
46 DEFINE(TI_AC_LEAVE, offsetof(struct thread_info, ac_leave)); in foo()
47 DEFINE(TI_AC_STIME, offsetof(struct thread_info, ac_stime)); in foo()
48 DEFINE(TI_AC_UTIME, offsetof(struct thread_info, ac_utime)); in foo()
53 DEFINE(IA64_TASK_BLOCKED_OFFSET,offsetof (struct task_struct, blocked)); in foo()
54 DEFINE(IA64_TASK_CLEAR_CHILD_TID_OFFSET,offsetof (struct task_struct, clear_child_tid)); in foo()
55 DEFINE(IA64_TASK_GROUP_LEADER_OFFSET, offsetof (struct task_struct, group_leader)); in foo()
[all …]
/arch/s390/kernel/
Dasm-offsets.c26 DEFINE(__THREAD_info, offsetof(struct task_struct, stack)); in main()
27 DEFINE(__THREAD_ksp, offsetof(struct task_struct, thread.ksp)); in main()
28 DEFINE(__THREAD_mm_segment, offsetof(struct task_struct, thread.mm_segment)); in main()
30 DEFINE(__TASK_pid, offsetof(struct task_struct, pid)); in main()
32 DEFINE(__THREAD_per_cause, offsetof(struct task_struct, thread.per_event.cause)); in main()
33 DEFINE(__THREAD_per_address, offsetof(struct task_struct, thread.per_event.address)); in main()
34 DEFINE(__THREAD_per_paid, offsetof(struct task_struct, thread.per_event.paid)); in main()
36 DEFINE(__TI_task, offsetof(struct thread_info, task)); in main()
37 DEFINE(__TI_domain, offsetof(struct thread_info, exec_domain)); in main()
38 DEFINE(__TI_flags, offsetof(struct thread_info, flags)); in main()
[all …]
/arch/blackfin/kernel/
Dasm-offsets.c22 DEFINE(TASK_STATE, offsetof(struct task_struct, state)); in main()
23 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
24 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
25 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); in main()
26 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
27 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main()
28 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
29 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
30 DEFINE(TASK_SIGPENDING, offsetof(struct task_struct, pending)); in main()
34 offsetof(irq_cpustat_t, __softirq_pending)); in main()
[all …]
/arch/powerpc/kernel/
Dasm-offsets.c71 DEFINE(THREAD, offsetof(struct task_struct, thread)); in main()
72 DEFINE(MM, offsetof(struct task_struct, mm)); in main()
73 DEFINE(MMCONTEXTID, offsetof(struct mm_struct, context.id)); in main()
75 DEFINE(AUDITCONTEXT, offsetof(struct task_struct, audit_context)); in main()
78 DEFINE(THREAD_DSCR, offsetof(struct thread_struct, dscr)); in main()
79 DEFINE(THREAD_DSCR_INHERIT, offsetof(struct thread_struct, dscr_inherit)); in main()
81 DEFINE(THREAD_INFO, offsetof(struct task_struct, stack)); in main()
84 DEFINE(KSP, offsetof(struct thread_struct, ksp)); in main()
85 DEFINE(KSP_LIMIT, offsetof(struct thread_struct, ksp_limit)); in main()
86 DEFINE(PT_REGS, offsetof(struct thread_struct, regs)); in main()
[all …]
Dkgdb.c252 { "r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[0]) },
253 { "r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[1]) },
254 { "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[2]) },
255 { "r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[3]) },
256 { "r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[4]) },
257 { "r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[5]) },
258 { "r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[6]) },
259 { "r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[7]) },
260 { "r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[8]) },
261 { "r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[9]) },
[all …]
/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 …]
/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 …]
/arch/xtensa/kernel/
Dasm-offsets.c31 DEFINE(PT_PC, offsetof (struct pt_regs, pc)); in main()
32 DEFINE(PT_PS, offsetof (struct pt_regs, ps)); in main()
33 DEFINE(PT_DEPC, offsetof (struct pt_regs, depc)); in main()
34 DEFINE(PT_EXCCAUSE, offsetof (struct pt_regs, exccause)); in main()
35 DEFINE(PT_EXCVADDR, offsetof (struct pt_regs, excvaddr)); in main()
36 DEFINE(PT_DEBUGCAUSE, offsetof (struct pt_regs, debugcause)); in main()
37 DEFINE(PT_WMASK, offsetof (struct pt_regs, wmask)); in main()
38 DEFINE(PT_LBEG, offsetof (struct pt_regs, lbeg)); in main()
39 DEFINE(PT_LEND, offsetof (struct pt_regs, lend)); in main()
40 DEFINE(PT_LCOUNT, offsetof (struct pt_regs, lcount)); in main()
[all …]
/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_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain)); in main()
46 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
47 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main()
48 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); in main()
50 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main()
[all …]
/arch/m68k/kernel/
Dasm-offsets.c25 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
26 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
27 DEFINE(TASK_STACK, offsetof(struct task_struct, stack)); in main()
30 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
31 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp)); in main()
32 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr)); in main()
33 DEFINE(THREAD_FS, offsetof(struct thread_struct, fs)); in main()
34 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main()
35 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0)); in main()
36 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, fp)); in main()
[all …]
/arch/arm/kernel/
Dasm-offsets.c46 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
48 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
51 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
52 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
53 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main()
54 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
55 DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain)); in main()
56 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
57 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main()
58 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main()
[all …]
Dkgdb.c19 { "r0", 4, offsetof(struct pt_regs, ARM_r0)},
20 { "r1", 4, offsetof(struct pt_regs, ARM_r1)},
21 { "r2", 4, offsetof(struct pt_regs, ARM_r2)},
22 { "r3", 4, offsetof(struct pt_regs, ARM_r3)},
23 { "r4", 4, offsetof(struct pt_regs, ARM_r4)},
24 { "r5", 4, offsetof(struct pt_regs, ARM_r5)},
25 { "r6", 4, offsetof(struct pt_regs, ARM_r6)},
26 { "r7", 4, offsetof(struct pt_regs, ARM_r7)},
27 { "r8", 4, offsetof(struct pt_regs, ARM_r8)},
28 { "r9", 4, offsetof(struct pt_regs, ARM_r9)},
[all …]
/arch/sh/kernel/
Dasm-offsets.c23 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
24 DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain)); 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()
28 DEFINE(TI_RESTART_BLOCK,offsetof(struct thread_info, restart_block)); in main()
32 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); in main()
33 DEFINE(PBE_ORIG_ADDRESS, offsetof(struct pbe, orig_address)); in main()
34 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); in main()
38 DEFINE(SH_SLEEP_MODE, offsetof(struct sh_sleep_data, mode)); in main()
[all …]
/arch/hexagon/kernel/
Dkgdb.c30 { " r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, r00)},
31 { " r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, r01)},
32 { " r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, r02)},
33 { " r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, r03)},
34 { " r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, r04)},
35 { " r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, r05)},
36 { " r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, r06)},
37 { " r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, r07)},
38 { " r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, r08)},
39 { " r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, r09)},
[all …]
/arch/h8300/kernel/
Dasm-offsets.c24 DEFINE(TASK_STATE, offsetof(struct task_struct, state)); in main()
25 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
26 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
27 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); in main()
28 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
29 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main()
30 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
31 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
34 DEFINE(CPUSTAT_SOFTIRQ_PENDING, offsetof(irq_cpustat_t, __softirq_pending)); in main()
37 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
[all …]
/arch/tile/kernel/
Dasm-offsets.c41 offsetof(struct single_step_state, buffer)); in foo()
43 offsetof(struct single_step_state, flags)); in foo()
45 offsetof(struct single_step_state, orig_pc)); in foo()
47 offsetof(struct single_step_state, next_pc)); in foo()
49 offsetof(struct single_step_state, branch_next_pc)); in foo()
51 offsetof(struct single_step_state, update_value)); in foo()
54 offsetof(struct thread_info, task)); in foo()
56 offsetof(struct thread_info, flags)); in foo()
58 offsetof(struct thread_info, status)); in foo()
60 offsetof(struct thread_info, homecache_cpu)); in foo()
[all …]
/arch/alpha/kernel/
Dasm-offsets.c16 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in foo()
17 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo()
18 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in foo()
21 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); in foo()
22 DEFINE(TASK_CRED, offsetof(struct task_struct, cred)); in foo()
23 DEFINE(TASK_REAL_PARENT, offsetof(struct task_struct, real_parent)); in foo()
24 DEFINE(TASK_GROUP_LEADER, offsetof(struct task_struct, group_leader)); in foo()
25 DEFINE(TASK_TGID, offsetof(struct task_struct, tgid)); in foo()
28 DEFINE(CRED_UID, offsetof(struct cred, uid)); in foo()
29 DEFINE(CRED_EUID, offsetof(struct cred, euid)); in foo()
[all …]
/arch/openrisc/kernel/
Dasm-offsets.c49 DEFINE(TASK_STATE, offsetof(struct task_struct, state)); in main()
50 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
51 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
52 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main()
53 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
54 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
57 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
58 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
59 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
60 DEFINE(TI_KSP, offsetof(struct thread_info, ksp)); in main()
/arch/mips/kernel/
Dkgdb.c55 { "zero", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[0]) },
56 { "at", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[1]) },
57 { "v0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[2]) },
58 { "v1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[3]) },
59 { "a0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[4]) },
60 { "a1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[5]) },
61 { "a2", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[6]) },
62 { "a3", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[7]) },
63 { "t0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[8]) },
64 { "t1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[9]) },
[all …]
/arch/x86/math-emu/
Dget_address.c32 offsetof(struct pt_regs, ax),
33 offsetof(struct pt_regs, cx),
34 offsetof(struct pt_regs, dx),
35 offsetof(struct pt_regs, bx),
36 offsetof(struct pt_regs, sp),
37 offsetof(struct pt_regs, bp),
38 offsetof(struct pt_regs, si),
39 offsetof(struct pt_regs, di)
45 offsetof(struct pt_regs, cs),
46 offsetof(struct kernel_vm86_regs, ds),
[all …]
/arch/x86/kernel/
Dptrace.c59 #define REG_OFFSET_NAME(r) {.name = #r, .offset = offsetof(struct pt_regs, r)}
129 [0] = offsetof(struct pt_regs, ax),
130 [1] = offsetof(struct pt_regs, dx),
131 [2] = offsetof(struct pt_regs, cx)
133 [0] = offsetof(struct pt_regs, di),
134 [1] = offsetof(struct pt_regs, si),
135 [2] = offsetof(struct pt_regs, dx),
136 [3] = offsetof(struct pt_regs, cx),
137 [4] = offsetof(struct pt_regs, r8),
138 [5] = offsetof(struct pt_regs, r9)
[all …]
/arch/sparc/kernel/
Dasm-offsets.c21 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
34 DEFINE(AOFF_task_thread, offsetof(struct task_struct, thread)); in foo()
36 DEFINE(AOFF_mm_context, offsetof(struct mm_struct, context)); in foo()
38 DEFINE(VMA_VM_MM, offsetof(struct vm_area_struct, vm_mm)); in foo()
/arch/x86/net/
Dbpf_jit_comp.c180 if (offsetof(struct sk_buff, len) <= 127) in bpf_jit_compile()
182 EMIT4(0x44, 0x8b, 0x4f, offsetof(struct sk_buff, len)); in bpf_jit_compile()
186 EMIT(offsetof(struct sk_buff, len), 4); in bpf_jit_compile()
188 if (is_imm8(offsetof(struct sk_buff, data_len))) in bpf_jit_compile()
190 EMIT4(0x44, 0x2b, 0x4f, offsetof(struct sk_buff, data_len)); in bpf_jit_compile()
193 EMIT(offsetof(struct sk_buff, data_len), 4); in bpf_jit_compile()
196 if (is_imm8(offsetof(struct sk_buff, data))) in bpf_jit_compile()
198 EMIT4(0x4c, 0x8b, 0x47, offsetof(struct sk_buff, data)); in bpf_jit_compile()
202 EMIT(offsetof(struct sk_buff, data), 4); in bpf_jit_compile()
399 if (is_imm8(offsetof(struct sk_buff, len))) in bpf_jit_compile()
[all …]
/arch/powerpc/platforms/cell/
Dbeat_spu_priv1.c84 offsetof(struct spu_priv1, mfc_dar_RW), &dar); in mfc_dar_get()
93 offsetof(struct spu_priv1, mfc_dsisr_RW), &dsisr); in mfc_dsisr_get()
101 offsetof(struct spu_priv1, mfc_dsisr_RW), dsisr); in mfc_dsisr_set()
113 offsetof(struct spu_priv1, mfc_sr1_RW), sr1); in mfc_sr1_set()
121 offsetof(struct spu_priv1, mfc_sr1_RW), &sr1); in mfc_sr1_get()
129 offsetof(struct spu_priv1, mfc_tclass_id_RW), tclass_id); in mfc_tclass_id_set()
137 offsetof(struct spu_priv1, mfc_tclass_id_RW), &tclass_id); in mfc_tclass_id_get()
145 offsetof(struct spu_priv1, tlb_invalidate_entry_W), 0ul); in tlb_invalidate()
152 offsetof(struct spu_priv1, resource_allocation_groupID_RW), in resource_allocation_groupID_set()
161 offsetof(struct spu_priv1, resource_allocation_groupID_RW), in resource_allocation_groupID_get()
[all …]

123456