Home
last modified time | relevance | path

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

12345678910>>...54

/linux/arch/ia64/kernel/
A Dasm-offsets.c39 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo()
40 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in foo()
207 offsetof (struct cpuinfo_ia64, ptce_base)); in foo()
209 offsetof (struct cpuinfo_ia64, ptce_count)); in foo()
216 offsetof (struct time_sn_spec, snsec)); in foo()
225 offsetof (struct ia64_mca_cpu, mca_stack)); in foo()
227 offsetof (struct ia64_mca_cpu, init_stack)); in foo()
230 offsetof (struct ia64_sal_os_state, os_gp)); in foo()
275 offsetof (struct fsyscall_gtod_data_t, clk_mask)); in foo()
277 offsetof (struct fsyscall_gtod_data_t, clk_mult)); in foo()
[all …]
/linux/arch/parisc/kernel/
A Dasm-offsets.c127 DEFINE(PT_PSW, offsetof(struct pt_regs, gr[ 0])); in main()
128 DEFINE(PT_GR1, offsetof(struct pt_regs, gr[ 1])); in main()
129 DEFINE(PT_GR2, offsetof(struct pt_regs, gr[ 2])); in main()
130 DEFINE(PT_GR3, offsetof(struct pt_regs, gr[ 3])); in main()
203 DEFINE(PT_CR27, offsetof(struct pt_regs, cr27)); in main()
205 DEFINE(PT_KSP, offsetof(struct pt_regs, ksp)); in main()
206 DEFINE(PT_KPC, offsetof(struct pt_regs, kpc)); in main()
207 DEFINE(PT_SAR, offsetof(struct pt_regs, sar)); in main()
208 DEFINE(PT_IIR, offsetof(struct pt_regs, iir)); in main()
209 DEFINE(PT_ISR, offsetof(struct pt_regs, isr)); in main()
[all …]
/linux/arch/microblaze/kernel/
A Dasm-offsets.c29 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()
35 DEFINE(PT_R5, offsetof(struct pt_regs, r5)); in main()
36 DEFINE(PT_R6, offsetof(struct pt_regs, r6)); in main()
37 DEFINE(PT_R7, offsetof(struct pt_regs, r7)); in main()
38 DEFINE(PT_R8, offsetof(struct pt_regs, r8)); in main()
[all …]
/linux/arch/arm64/kernel/
A Dasm-offsets.c59 DEFINE(S_X0, offsetof(struct pt_regs, regs[0])); in main()
60 DEFINE(S_X2, offsetof(struct pt_regs, regs[2])); in main()
61 DEFINE(S_X4, offsetof(struct pt_regs, regs[4])); in main()
62 DEFINE(S_X6, offsetof(struct pt_regs, regs[6])); in main()
63 DEFINE(S_X8, offsetof(struct pt_regs, regs[8])); in main()
64 DEFINE(S_X10, offsetof(struct pt_regs, regs[10])); in main()
65 DEFINE(S_X12, offsetof(struct pt_regs, regs[12])); in main()
74 DEFINE(S_FP, offsetof(struct pt_regs, regs[29])); in main()
75 DEFINE(S_LR, offsetof(struct pt_regs, regs[30])); in main()
76 DEFINE(S_SP, offsetof(struct pt_regs, sp)); in main()
[all …]
A Dkgdb.c24 { "x0", 8, offsetof(struct pt_regs, regs[0])},
25 { "x1", 8, offsetof(struct pt_regs, regs[1])},
26 { "x2", 8, offsetof(struct pt_regs, regs[2])},
27 { "x3", 8, offsetof(struct pt_regs, regs[3])},
28 { "x4", 8, offsetof(struct pt_regs, regs[4])},
29 { "x5", 8, offsetof(struct pt_regs, regs[5])},
30 { "x6", 8, offsetof(struct pt_regs, regs[6])},
31 { "x7", 8, offsetof(struct pt_regs, regs[7])},
32 { "x8", 8, offsetof(struct pt_regs, regs[8])},
55 { "sp", 8, offsetof(struct pt_regs, sp)},
[all …]
/linux/arch/xtensa/kernel/
A 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()
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()
42 DEFINE(PT_SAR, offsetof (struct pt_regs, sar)); in main()
47 DEFINE(PT_AREG, offsetof (struct pt_regs, areg[0])); in main()
116 DEFINE(MM_PGD, offsetof (struct mm_struct, pgd)); in main()
[all …]
/linux/arch/arm/kernel/
A Dasm-offsets.c69 DEFINE(S_R0, offsetof(struct pt_regs, ARM_r0)); in main()
70 DEFINE(S_R1, offsetof(struct pt_regs, ARM_r1)); in main()
71 DEFINE(S_R2, offsetof(struct pt_regs, ARM_r2)); in main()
72 DEFINE(S_R3, offsetof(struct pt_regs, ARM_r3)); in main()
73 DEFINE(S_R4, offsetof(struct pt_regs, ARM_r4)); in main()
74 DEFINE(S_R5, offsetof(struct pt_regs, ARM_r5)); in main()
75 DEFINE(S_R6, offsetof(struct pt_regs, ARM_r6)); in main()
76 DEFINE(S_R7, offsetof(struct pt_regs, ARM_r7)); in main()
77 DEFINE(S_R8, offsetof(struct pt_regs, ARM_r8)); in main()
78 DEFINE(S_R9, offsetof(struct pt_regs, ARM_r9)); in main()
[all …]
/linux/arch/x86/kernel/
A Dsignal_compat.c52 BUILD_BUG_ON(offsetof(siginfo_t, si_signo) != 0); in signal_compat_build_tests()
53 BUILD_BUG_ON(offsetof(siginfo_t, si_errno) != 4); in signal_compat_build_tests()
54 BUILD_BUG_ON(offsetof(siginfo_t, si_code) != 8); in signal_compat_build_tests()
79 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x10); in signal_compat_build_tests()
80 BUILD_BUG_ON(offsetof(siginfo_t, si_uid) != 0x14); in signal_compat_build_tests()
99 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x10); in signal_compat_build_tests()
100 BUILD_BUG_ON(offsetof(siginfo_t, si_uid) != 0x14); in signal_compat_build_tests()
101 BUILD_BUG_ON(offsetof(siginfo_t, si_value) != 0x18); in signal_compat_build_tests()
133 BUILD_BUG_ON(offsetof(siginfo_t, si_addr) != 0x10); in signal_compat_build_tests()
142 BUILD_BUG_ON(offsetof(siginfo_t, si_lower) != 0x20); in signal_compat_build_tests()
[all …]
/linux/arch/csky/kernel/
A Dasm-offsets.c12 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main()
13 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
16 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
33 DEFINE(PT_PC, offsetof(struct pt_regs, pc)); in main()
35 DEFINE(PT_SR, offsetof(struct pt_regs, sr)); in main()
37 DEFINE(PT_A0, offsetof(struct pt_regs, a0)); in main()
38 DEFINE(PT_A1, offsetof(struct pt_regs, a1)); in main()
39 DEFINE(PT_A2, offsetof(struct pt_regs, a2)); in main()
40 DEFINE(PT_A3, offsetof(struct pt_regs, a3)); in main()
51 DEFINE(PT_R15, offsetof(struct pt_regs, lr)); in main()
[all …]
/linux/arch/m68k/kernel/
A Dasm-offsets.c27 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main()
46 DEFINE(PT_OFF_D0, offsetof(struct pt_regs, d0)); in main()
48 DEFINE(PT_OFF_D1, offsetof(struct pt_regs, d1)); in main()
49 DEFINE(PT_OFF_D2, offsetof(struct pt_regs, d2)); in main()
50 DEFINE(PT_OFF_D3, offsetof(struct pt_regs, d3)); in main()
51 DEFINE(PT_OFF_D4, offsetof(struct pt_regs, d4)); in main()
52 DEFINE(PT_OFF_D5, offsetof(struct pt_regs, d5)); in main()
53 DEFINE(PT_OFF_A0, offsetof(struct pt_regs, a0)); in main()
54 DEFINE(PT_OFF_A1, offsetof(struct pt_regs, a1)); in main()
55 DEFINE(PT_OFF_A2, offsetof(struct pt_regs, a2)); in main()
[all …]
/linux/arch/hexagon/kernel/
A Dkgdb.c20 { " r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, r00)},
21 { " r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, r01)},
22 { " r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, r02)},
23 { " r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, r03)},
24 { " r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, r04)},
25 { " r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, r05)},
26 { " r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, r06)},
27 { " r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, r07)},
28 { " r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, r08)},
29 { " r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, r09)},
[all …]
/linux/tools/testing/selftests/bpf/verifier/
A Dctx_sk_lookup.c6 offsetof(struct bpf_sk_lookup, family)),
8 offsetof(struct bpf_sk_lookup, family) + 1),
10 offsetof(struct bpf_sk_lookup, family) + 2),
12 offsetof(struct bpf_sk_lookup, family) + 3),
15 offsetof(struct bpf_sk_lookup, family)),
20 offsetof(struct bpf_sk_lookup, family)),
24 offsetof(struct bpf_sk_lookup, protocol)),
234 offsetof(struct bpf_sk_lookup, sk)),
359 offsetof(struct bpf_sk_lookup, sk)),
372 offsetof(struct bpf_sk_lookup, sk)),
[all …]
A Dctx_skb.c5 offsetof(struct __sk_buff, len)),
8 offsetof(struct __sk_buff, mark)),
11 offsetof(struct __sk_buff, pkt_type)),
17 offsetof(struct __sk_buff, protocol)),
23 offsetof(struct __sk_buff, vlan_tci)),
26 offsetof(struct __sk_buff, napi_id)),
89 offsetof(struct __sk_buff, len)),
274 offsetof(struct __sk_buff, mark)),
286 offsetof(struct __sk_buff, mark)),
319 offsetof(struct __sk_buff, data)),
[all …]
A Dcgroup_skb.c5 offsetof(struct __sk_buff, data)),
7 offsetof(struct __sk_buff, data_end)),
9 offsetof(struct __sk_buff, len)),
11 offsetof(struct __sk_buff, pkt_type)),
13 offsetof(struct __sk_buff, mark)),
15 offsetof(struct __sk_buff, mark)),
19 offsetof(struct __sk_buff, protocol)),
50 offsetof(struct __sk_buff, hash)),
61 offsetof(struct __sk_buff, cb[0])),
63 offsetof(struct __sk_buff, cb[1])),
[all …]
A Dxdp_direct_packet_access.c6 offsetof(struct xdp_md, data_end)),
24 offsetof(struct xdp_md, data_end)),
42 offsetof(struct xdp_md, data_end)),
59 offsetof(struct xdp_md, data_end)),
77 offsetof(struct xdp_md, data_end)),
95 offsetof(struct xdp_md, data_end)),
112 offsetof(struct xdp_md, data_end)),
130 offsetof(struct xdp_md, data_end)),
148 offsetof(struct xdp_md, data_end)),
167 offsetof(struct xdp_md, data_end)),
[all …]
/linux/drivers/net/wireless/ath/ath10k/
A Dqmi_wlfw_v01.c17 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01,
26 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01,
35 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01,
163 .offset = offsetof(struct wlfw_mem_cfg_s_v01,
172 .offset = offsetof(struct wlfw_mem_cfg_s_v01,
181 .offset = offsetof(struct wlfw_mem_cfg_s_v01,
194 .offset = offsetof(struct wlfw_mem_seg_s_v01,
203 .offset = offsetof(struct wlfw_mem_seg_s_v01,
212 .offset = offsetof(struct wlfw_mem_seg_s_v01,
221 .offset = offsetof(struct wlfw_mem_seg_s_v01,
[all …]
/linux/arch/arc/kernel/
A Dasm-offsets.c50 DEFINE(PT_sp, offsetof(struct pt_regs, sp)); in main()
51 DEFINE(PT_r0, offsetof(struct pt_regs, r0)); in main()
52 DEFINE(PT_r1, offsetof(struct pt_regs, r1)); in main()
53 DEFINE(PT_r2, offsetof(struct pt_regs, r2)); in main()
54 DEFINE(PT_r3, offsetof(struct pt_regs, r3)); in main()
55 DEFINE(PT_r4, offsetof(struct pt_regs, r4)); in main()
56 DEFINE(PT_r5, offsetof(struct pt_regs, r5)); in main()
57 DEFINE(PT_r6, offsetof(struct pt_regs, r6)); in main()
58 DEFINE(PT_r7, offsetof(struct pt_regs, r7)); in main()
59 DEFINE(PT_r8, offsetof(struct pt_regs, r8)); in main()
[all …]
/linux/arch/sh/kernel/
A 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()
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()
41 DEFINE(SH_SLEEP_VBR, offsetof(struct sh_sleep_data, vbr)); in main()
42 DEFINE(SH_SLEEP_SPC, offsetof(struct sh_sleep_data, spc)); in main()
43 DEFINE(SH_SLEEP_SR, offsetof(struct sh_sleep_data, sr)); in main()
[all …]
/linux/drivers/net/ipa/
A Dipa_qmi_msg.c20 .offset = offsetof(struct ipa_indication_register_req,
30 .offset = offsetof(struct ipa_indication_register_req,
40 .offset = offsetof(struct ipa_indication_register_req,
50 .offset = offsetof(struct ipa_indication_register_req,
180 .offset = offsetof(struct ipa_init_complete_ind,
196 .offset = offsetof(struct ipa_mem_bounds, start),
203 .offset = offsetof(struct ipa_mem_bounds, end),
217 .offset = offsetof(struct ipa_mem_array, start),
224 .offset = offsetof(struct ipa_mem_array, count),
238 .offset = offsetof(struct ipa_mem_range, start),
[all …]
/linux/include/linux/
A Dti-emif-sram.h67 offsetof(struct emif_regs_amx3, emif_sdcfg_val)); in ti_emif_asm_offsets()
69 offsetof(struct emif_regs_amx3, emif_timing1_val)); in ti_emif_asm_offsets()
71 offsetof(struct emif_regs_amx3, emif_timing2_val)); in ti_emif_asm_offsets()
73 offsetof(struct emif_regs_amx3, emif_timing3_val)); in ti_emif_asm_offsets()
77 offsetof(struct emif_regs_amx3, emif_zqcfg_val)); in ti_emif_asm_offsets()
79 offsetof(struct emif_regs_amx3, emif_pmcr_val)); in ti_emif_asm_offsets()
87 offsetof(struct emif_regs_amx3, emif_cos_config)); in ti_emif_asm_offsets()
119 offsetof(struct ti_emif_pm_data, regs_virt)); in ti_emif_asm_offsets()
121 offsetof(struct ti_emif_pm_data, regs_phys)); in ti_emif_asm_offsets()
133 offsetof(struct ti_emif_pm_functions, enter_sr)); in ti_emif_asm_offsets()
[all …]
/linux/drivers/pci/hotplug/
A Dcpqphp.h142 MISC = offsetof(struct ctrl_reg, misc),
184 SIG0 = offsetof(struct hrt, sig0),
185 SIG1 = offsetof(struct hrt, sig1),
186 SIG2 = offsetof(struct hrt, sig2),
187 SIG3 = offsetof(struct hrt, sig3),
188 UNUSED_IRQ = offsetof(struct hrt, unused_IRQ),
189 PCIIRQ = offsetof(struct hrt, PCIIRQ),
191 REVISION = offsetof(struct hrt, revision),
213 DEV_FUNC = offsetof(struct slot_rt, dev_func),
216 MAX_BUS = offsetof(struct slot_rt, max_bus),
[all …]
/linux/arch/riscv/kernel/
A Dasm-offsets.c275 offsetof(struct task_struct, thread.ra) in asm_offsets()
276 - offsetof(struct task_struct, thread.ra) in asm_offsets()
279 offsetof(struct task_struct, thread.sp) in asm_offsets()
280 - offsetof(struct task_struct, thread.ra) in asm_offsets()
284 - offsetof(struct task_struct, thread.ra) in asm_offsets()
288 - offsetof(struct task_struct, thread.ra) in asm_offsets()
292 - offsetof(struct task_struct, thread.ra) in asm_offsets()
296 - offsetof(struct task_struct, thread.ra) in asm_offsets()
300 - offsetof(struct task_struct, thread.ra) in asm_offsets()
304 - offsetof(struct task_struct, thread.ra) in asm_offsets()
[all …]
/linux/arch/mips/kernel/
A Dkgdb.c57 { "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]) },
89 { "lo", GDB_SIZEOF_REG, offsetof(struct pt_regs, lo) },
[all …]
/linux/arch/powerpc/kernel/
A Dkgdb.c248 { "r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[0]) },
249 { "r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[1]) },
250 { "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[2]) },
251 { "r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[3]) },
252 { "r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[4]) },
253 { "r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[5]) },
254 { "r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[6]) },
314 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, nip) },
315 { "msr", GDB_SIZEOF_REG, offsetof(struct pt_regs, msr) },
317 { "lr", GDB_SIZEOF_REG, offsetof(struct pt_regs, link) },
[all …]
/linux/arch/nios2/kernel/
A Dkgdb.c21 { "at", GDB_SIZEOF_REG, offsetof(struct pt_regs, r1) },
22 { "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, r2) },
23 { "r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, r3) },
24 { "r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, r4) },
25 { "r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, r5) },
26 { "r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, r6) },
27 { "r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, r7) },
28 { "r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, r8) },
29 { "r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, r9) },
46 { "gp", GDB_SIZEOF_REG, offsetof(struct pt_regs, gp) },
[all …]

Completed in 69 milliseconds

12345678910>>...54