Home
last modified time | relevance | path

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

12345678910>>...34

/freebsd/contrib/ntp/ntpdc/
H A Dlayout.std2 offsetof(u32) = 0
3 offsetof(data) = 0
7 offsetof(auth_seq) = 1
9 offsetof(request) = 3
12 offsetof(u) = 8
15 offsetof(mac) = 196
19 offsetof(keyid) = 8
20 offsetof(mac) = 12
23 offsetof(data) = 0
24 offsetof(u32) = 0
[all …]
/freebsd/usr.sbin/ntp/ntpdc/
H A Dnl.c4 (int) offsetof(union req_data_u_tag, u32));
6 (int) offsetof(union req_data_u_tag, data));
12 (int) offsetof(struct req_pkt, rm_vn_mode));
14 (int) offsetof(struct req_pkt, auth_seq));
18 (int) offsetof(struct req_pkt, request));
24 (int) offsetof(struct req_pkt, u));
26 (int) offsetof(struct req_pkt, tstamp));
28 (int) offsetof(struct req_pkt, keyid));
30 (int) offsetof(struct req_pkt, mac));
40 (int) offsetof(struct req_pkt_tail, mac));
[all …]
/freebsd/sys/amd64/amd64/
H A Dgenassym.c73 ASSYM(P_MD, offsetof(struct proc, p_md));
74 ASSYM(MD_LDT, offsetof(struct mdproc, md_ldt));
86 ASSYM(TD_MD, offsetof(struct thread, td_md));
117 ASSYM(PCB_R15, offsetof(struct pcb, pcb_r15));
118 ASSYM(PCB_R14, offsetof(struct pcb, pcb_r14));
119 ASSYM(PCB_R13, offsetof(struct pcb, pcb_r13));
120 ASSYM(PCB_R12, offsetof(struct pcb, pcb_r12));
121 ASSYM(PCB_RBP, offsetof(struct pcb, pcb_rbp));
122 ASSYM(PCB_RSP, offsetof(struct pcb, pcb_rsp));
123 ASSYM(PCB_RBX, offsetof(struct pcb, pcb_rbx));
[all …]
/freebsd/sys/i386/i386/
H A Dgenassym.c89 ASSYM(TD_MD, offsetof(struct thread, td_md));
93 ASSYM(P_MD, offsetof(struct proc, p_md));
100 ASSYM(PCB_CR0, offsetof(struct pcb, pcb_cr0));
101 ASSYM(PCB_CR2, offsetof(struct pcb, pcb_cr2));
102 ASSYM(PCB_CR3, offsetof(struct pcb, pcb_cr3));
112 ASSYM(PCB_DS, offsetof(struct pcb, pcb_ds));
113 ASSYM(PCB_ES, offsetof(struct pcb, pcb_es));
114 ASSYM(PCB_FS, offsetof(struct pcb, pcb_fs));
115 ASSYM(PCB_GS, offsetof(struct pcb, pcb_gs));
116 ASSYM(PCB_SS, offsetof(struct pcb, pcb_ss));
[all …]
/freebsd/sys/powerpc/powerpc/
H A Dgenassym.c64 ASSYM(PC_FLAGS, offsetof(struct pcpu, pc_flags));
105 ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock));
119 ASSYM(PM_SR, offsetof(struct pmap, pm_sr));
124 ASSYM(PM_ROOT, offsetof(struct pmap, pm_root));
126 ASSYM(PM_PDIR, offsetof(struct pmap, pm_pdir));
196 ASSYM(PCB_CR, offsetof(struct pcb, pcb_cr));
199 ASSYM(PCB_TAR, offsetof(struct pcb, pcb_tar));
200 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp));
201 ASSYM(PCB_TOC, offsetof(struct pcb, pcb_toc));
202 ASSYM(PCB_LR, offsetof(struct pcb, pcb_lr));
[all …]
/freebsd/sys/arm/arm/
H A Dgenassym.c82 ASSYM(M_LEN, offsetof(struct mbuf, m_len));
83 ASSYM(M_DATA, offsetof(struct mbuf, m_data));
84 ASSYM(M_NEXT, offsetof(struct mbuf, m_next));
85 ASSYM(IP_SRC, offsetof(struct ip, ip_src));
86 ASSYM(IP_DST, offsetof(struct ip, ip_dst));
88 ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
90 ASSYM(TD_AST, offsetof(struct thread, td_ast));
92 ASSYM(TD_MD, offsetof(struct thread, td_md));
96 ASSYM(TF_R0, offsetof(struct trapframe, tf_r0));
99 ASSYM(P_PID, offsetof(struct proc, p_pid));
[all …]
/freebsd/sys/riscv/riscv/
H A Dgenassym.c66 ASSYM(PCB_RA, offsetof(struct pcb, pcb_ra));
67 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp));
68 ASSYM(PCB_GP, offsetof(struct pcb, pcb_gp));
69 ASSYM(PCB_TP, offsetof(struct pcb, pcb_tp));
70 ASSYM(PCB_S, offsetof(struct pcb, pcb_s));
71 ASSYM(PCB_X, offsetof(struct pcb, pcb_x));
74 ASSYM(SF_UC, offsetof(struct sigframe, sf_uc));
84 ASSYM(TD_MD, offsetof(struct thread, td_md));
92 ASSYM(TF_T, offsetof(struct trapframe, tf_t));
93 ASSYM(TF_S, offsetof(struct trapframe, tf_s));
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H 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 …]
/freebsd/sys/amd64/vmm/intel/
H A Dvmx_genassym.c46 ASSYM(VMXCTX_GUEST_R8, offsetof(struct vmxctx, guest_r8));
47 ASSYM(VMXCTX_GUEST_R9, offsetof(struct vmxctx, guest_r9));
59 ASSYM(VMXCTX_HOST_R15, offsetof(struct vmxctx, host_r15));
60 ASSYM(VMXCTX_HOST_R14, offsetof(struct vmxctx, host_r14));
61 ASSYM(VMXCTX_HOST_R13, offsetof(struct vmxctx, host_r13));
62 ASSYM(VMXCTX_HOST_R12, offsetof(struct vmxctx, host_r12));
63 ASSYM(VMXCTX_HOST_RBP, offsetof(struct vmxctx, host_rbp));
64 ASSYM(VMXCTX_HOST_RSP, offsetof(struct vmxctx, host_rsp));
75 ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
77 ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
[all …]
/freebsd/sys/arm64/arm64/
H A Dgenassym.c50 ASSYM(PC_SSBD, offsetof(struct pcpu, pc_ssbd));
55 ASSYM(PCB_REGS, offsetof(struct pcb, pcb_x));
57 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp));
62 ASSYM(SF_UC, offsetof(struct sigframe, sf_uc));
64 ASSYM(TD_PROC, offsetof(struct thread, td_proc));
65 ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
67 ASSYM(TD_AST, offsetof(struct thread, td_ast));
69 ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
73 ASSYM(TF_SP, offsetof(struct trapframe, tf_sp));
74 ASSYM(TF_LR, offsetof(struct trapframe, tf_lr));
[all …]
/freebsd/sys/compat/ia32/
H A Dia32_genassym.c10 ASSYM(IA32_SIGF_HANDLER, offsetof(struct ia32_sigframe, sf_ah));
11 ASSYM(IA32_SIGF_UC, offsetof(struct ia32_sigframe, sf_uc));
12 ASSYM(IA32_UC_GS, offsetof(struct ia32_ucontext, uc_mcontext.mc_gs));
13 ASSYM(IA32_UC_FS, offsetof(struct ia32_ucontext, uc_mcontext.mc_fs));
14 ASSYM(IA32_UC_ES, offsetof(struct ia32_ucontext, uc_mcontext.mc_es));
15 ASSYM(IA32_UC_DS, offsetof(struct ia32_ucontext, uc_mcontext.mc_ds));
16 ASSYM(IA32_UC_EDI, offsetof(struct ia32_ucontext, uc_mcontext.mc_edi));
17 ASSYM(IA32_UC_ESI, offsetof(struct ia32_ucontext, uc_mcontext.mc_esi));
18 ASSYM(IA32_UC_EBP, offsetof(struct ia32_ucontext, uc_mcontext.mc_ebp));
24 ASSYM(IA32_UC_CS, offsetof(struct ia32_ucontext, uc_mcontext.mc_cs));
[all …]
/freebsd/sys/amd64/linux/
H A Dlinux_genassym.c12 ASSYM(L_SC_R8, offsetof(struct l_sigcontext, sc_r8));
13 ASSYM(L_SC_R9, offsetof(struct l_sigcontext, sc_r9));
14 ASSYM(L_SC_R10, offsetof(struct l_sigcontext, sc_r10));
15 ASSYM(L_SC_R11, offsetof(struct l_sigcontext, sc_r11));
16 ASSYM(L_SC_R12, offsetof(struct l_sigcontext, sc_r12));
17 ASSYM(L_SC_R13, offsetof(struct l_sigcontext, sc_r13));
18 ASSYM(L_SC_R14, offsetof(struct l_sigcontext, sc_r14));
19 ASSYM(L_SC_R15, offsetof(struct l_sigcontext, sc_r15));
20 ASSYM(L_SC_RDI, offsetof(struct l_sigcontext, sc_rdi));
21 ASSYM(L_SC_RSI, offsetof(struct l_sigcontext, sc_rsi));
[all …]
/freebsd/sys/amd64/linux32/
H A Dlinux32_genassym.c11 ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc));
14 ASSYM(L_SC_GS, offsetof(struct l_sigcontext, sc_gs));
15 ASSYM(L_SC_FS, offsetof(struct l_sigcontext, sc_fs));
16 ASSYM(L_SC_ES, offsetof(struct l_sigcontext, sc_es));
17 ASSYM(L_SC_DS, offsetof(struct l_sigcontext, sc_ds));
18 ASSYM(L_SC_CS, offsetof(struct l_sigcontext, sc_cs));
19 ASSYM(L_SC_SS, offsetof(struct l_sigcontext, sc_ss));
21 ASSYM(L_SC_EDI, offsetof(struct l_sigcontext, sc_edi));
22 ASSYM(L_SC_ESI, offsetof(struct l_sigcontext, sc_esi));
23 ASSYM(L_SC_EBP, offsetof(struct l_sigcontext, sc_ebp));
[all …]
/freebsd/sys/i386/linux/
H A Dlinux_genassym.c10 ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc));
13 ASSYM(L_SC_GS, offsetof(struct l_sigcontext, sc_gs));
14 ASSYM(L_SC_FS, offsetof(struct l_sigcontext, sc_fs));
15 ASSYM(L_SC_ES, offsetof(struct l_sigcontext, sc_es));
16 ASSYM(L_SC_DS, offsetof(struct l_sigcontext, sc_ds));
17 ASSYM(L_SC_CS, offsetof(struct l_sigcontext, sc_cs));
18 ASSYM(L_SC_SS, offsetof(struct l_sigcontext, sc_ss));
20 ASSYM(L_SC_EDI, offsetof(struct l_sigcontext, sc_edi));
21 ASSYM(L_SC_ESI, offsetof(struct l_sigcontext, sc_esi));
22 ASSYM(L_SC_EBP, offsetof(struct l_sigcontext, sc_ebp));
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/offsetof/
H A Dtst.OffsetofArith.d49 add = offsetof(record_t, c) + offsetof(record_t, x) +
50 offsetof(record_t, y);
51 sub = offsetof(record_t, y) - offsetof(record_t, x);
52 mul = offsetof(record_t, x) * offsetof(record_t, c);
53 div = offsetof(record_t, y) / offsetof(record_t, x);
55 printf("offsetof(record_t, c) = %d\n", offsetof(record_t, c));
56 printf("offsetof(record_t, x) = %d\n", offsetof(record_t, x));
57 printf("offsetof(record_t, y) = %d\n", offsetof(record_t, y));
68 /(8 != offsetof(record_t, y)) || (4 != offsetof(record_t, x)) ||
69 (0 != offsetof(record_t, c)) || (12 != add) || (4 != sub) || (0 != mul)
H A Dtst.OffsetofAlias.d48 printf("offsetof(record_t, c) = %d\n", offsetof(record_t, c));
49 printf("offsetof(record_t, x) = %d\n", offsetof(record_t, x));
50 printf("offsetof(record_t, y) = %d\n", offsetof(record_t, y));
55 /(8 != offsetof(record_t, y)) || (4 != offsetof(record_t, x)) ||
56 (0 != offsetof(record_t, c))/
H A Dtst.OffsetofUnion.d48 printf("offsetof(record, x) = %d\n", offsetof(union D`record, x));
49 printf("offsetof(record, y) = %d\n", offsetof(union D`record, y));
50 printf("offsetof(record, c) = %d\n", offsetof(union D`record, c));
55 /(0 != offsetof(union D`record, y)) && (0 != offsetof(union D`record, x)) &&
56 (0 != offsetof(union D`record, c))/
/freebsd/sys/amd64/vmm/amd/
H A Dsvm_genassym.c35 ASSYM(SCTX_RBX, offsetof(struct svm_regctx, sctx_rbx));
36 ASSYM(SCTX_RCX, offsetof(struct svm_regctx, sctx_rcx));
37 ASSYM(SCTX_RBP, offsetof(struct svm_regctx, sctx_rbp));
38 ASSYM(SCTX_RDX, offsetof(struct svm_regctx, sctx_rdx));
39 ASSYM(SCTX_RDI, offsetof(struct svm_regctx, sctx_rdi));
40 ASSYM(SCTX_RSI, offsetof(struct svm_regctx, sctx_rsi));
41 ASSYM(SCTX_R8, offsetof(struct svm_regctx, sctx_r8));
42 ASSYM(SCTX_R9, offsetof(struct svm_regctx, sctx_r9));
43 ASSYM(SCTX_R10, offsetof(struct svm_regctx, sctx_r10));
44 ASSYM(SCTX_R11, offsetof(struct svm_regctx, sctx_r11));
[all …]
/freebsd/lib/libthr/thread/
H A Dthr_symbols.c42 int _thread_off_tcb = offsetof(struct pthread, tcb);
43 int _thread_off_tid = offsetof(struct pthread, tid);
44 int _thread_off_next = offsetof(struct pthread, tle.tqe_next);
45 int _thread_off_attr_flags = offsetof(struct pthread, attr.flags);
46 int _thread_off_linkmap = offsetof(Obj_Entry, linkmap);
47 int _thread_off_tlsindex = offsetof(Obj_Entry, tlsindex);
48 int _thread_off_report_events = offsetof(struct pthread, report_events);
49 int _thread_off_event_mask = offsetof(struct pthread, event_mask);
50 int _thread_off_event_buf = offsetof(struct pthread, event_buf);
55 int _thread_off_dtv = offsetof(struct tcb, tcb_dtv);
[all …]
/freebsd/usr.bin/elfdump/
H A Delfdump.c93 offsetof(Elf32_Dyn, d_tag), offsetof(Elf32_Dyn, d_un.d_ptr),
101 offsetof(Elf32_Ehdr, e_phoff), offsetof(Elf32_Ehdr, e_shoff),
107 offsetof(Elf_Note, n_namesz), offsetof(Elf_Note, n_descsz),
110 offsetof(Elf32_Phdr, p_type), offsetof(Elf32_Phdr, p_offset),
121 offsetof(Elf32_Sym, st_name), offsetof(Elf32_Sym, st_value),
122 offsetof(Elf32_Sym, st_size), offsetof(Elf32_Sym, st_info),
125 offsetof(Elf32_Rel, r_offset), offsetof(Elf32_Rel, r_info),
134 offsetof(Elf64_Dyn, d_tag), offsetof(Elf64_Dyn, d_un.d_ptr),
148 offsetof(Elf_Note, n_namesz), offsetof(Elf_Note, n_descsz),
163 offsetof(Elf64_Sym, st_size), offsetof(Elf64_Sym, st_info),
[all …]
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dqmi.c79 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
88 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
97 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
106 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
115 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
124 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
133 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
142 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
839 .offset = offsetof(struct qmi_wlanfw_mem_seg_s_v01,
1121 .offset = offsetof(struct qmi_wlanfw_cap_resp_msg_v01,
[all …]
/freebsd/sys/dev/cfi/
H A Dcfi_reg.h75 #define CFI_QRY_IDENT offsetof(struct cfi_qry, ident)
76 #define CFI_QRY_VEND offsetof(struct cfi_qry, pri_vend)
78 #define CFI_QRY_TTO_WRITE offsetof(struct cfi_qry, tto_byte_write)
79 #define CFI_QRY_TTO_BUFWRITE offsetof(struct cfi_qry, tto_buf_write)
80 #define CFI_QRY_TTO_ERASE offsetof(struct cfi_qry, tto_block_erase)
81 #define CFI_QRY_MTO_WRITE offsetof(struct cfi_qry, mto_byte_write)
83 #define CFI_QRY_MTO_ERASE offsetof(struct cfi_qry, mto_block_erase)
85 #define CFI_QRY_SIZE offsetof(struct cfi_qry, size)
86 #define CFI_QRY_IFACE offsetof(struct cfi_qry, iface)
88 #define CFI_QRY_NREGIONS offsetof(struct cfi_qry, nregions)
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dqmi.c53 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
62 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
71 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
80 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
89 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
98 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
107 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
116 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
125 .offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
614 .offset = offsetof(struct qmi_wlanfw_mem_seg_s_v01,
[all …]
/freebsd/sys/dev/sym/
H A Dsym_fw2.h344 offsetof (struct sym_dsb, smsg),
369 offsetof (struct sym_dsb, cmd),
882 offsetof(struct sym_tcb, head.wval),
884 offsetof(struct sym_tcb, head.sval),
891 offsetof(struct sym_tcb, head.uval),
1250 offsetof (struct sym_hcb, abrt_tbl),
1332 offsetof (struct sym_dsb, smsg_ext),
1553 offsetof (struct sym_dsb, sense),
1852 offsetof(struct sym_hcb, cache),
1857 offsetof(struct sym_hcb, cache),
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dcommon.h168 static_assert(offsetof(AllocatorState, VersionMagic) == 0, "");
172 static_assert(offsetof(AllocatorState, FailureAddress) == 48, "");
174 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 560, "");
177 static_assert(offsetof(AllocatorState, FailureAddress) == 48, "");
179 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 560, "");
182 static_assert(offsetof(AllocatorState, FailureAddress) == 28, "");
184 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 544, "");
187 static_assert(offsetof(AllocatorState, FailureAddress) == 28, "");
189 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 552, "");

12345678910>>...34