Home
last modified time | relevance | path

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

12345678910>>...23

/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_stats.c22 {"rx_64b_frames", offsetof(struct rx_port_stats,
24 {"rx_65b_127b_frames", offsetof(struct rx_port_stats,
44 {"rx_total_frames", offsetof(struct rx_port_stats,
54 {"rx_ctrl_frames", offsetof(struct rx_port_stats,
58 {"rx_pfc_frames", offsetof(struct rx_port_stats,
76 {"rx_jbr_frames", offsetof(struct rx_port_stats,
108 {"rx_hcfc_msgs", offsetof(struct rx_port_stats,
112 {"rx_bytes", offsetof(struct rx_port_stats,
152 {"rx_stat_err", offsetof(struct rx_port_stats,
215 {"tx_err", offsetof(struct tx_port_stats,
[all …]
/f-stack/freebsd/mips/mips/
H A Dgenassym.c68 #ifndef offsetof
69 #define offsetof(t,m) (int)((&((t *)0L)->m)) macro
72 ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
73 ASSYM(TD_PROC, offsetof(struct thread, td_proc));
75 ASSYM(TD_KSTACK, offsetof(struct thread, td_kstack));
76 ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
77 ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
88 ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
89 ASSYM(PC_SEGBASE, offsetof(struct pcpu, pc_segbase));
92 ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
[all …]
/f-stack/freebsd/i386/i386/
H A Dgenassym.c92 ASSYM(TD_MD, offsetof(struct thread, td_md));
96 ASSYM(P_MD, offsetof(struct proc, p_md));
106 ASSYM(PCB_CR0, offsetof(struct pcb, pcb_cr0));
107 ASSYM(PCB_CR2, offsetof(struct pcb, pcb_cr2));
108 ASSYM(PCB_CR3, offsetof(struct pcb, pcb_cr3));
118 ASSYM(PCB_DS, offsetof(struct pcb, pcb_ds));
119 ASSYM(PCB_ES, offsetof(struct pcb, pcb_es));
120 ASSYM(PCB_FS, offsetof(struct pcb, pcb_fs));
121 ASSYM(PCB_GS, offsetof(struct pcb, pcb_gs));
122 ASSYM(PCB_SS, offsetof(struct pcb, pcb_ss));
[all …]
/f-stack/freebsd/amd64/amd64/
H A Dgenassym.c77 ASSYM(P_MD, offsetof(struct proc, p_md));
78 ASSYM(MD_LDT, offsetof(struct mdproc, md_ldt));
89 ASSYM(TD_MD, offsetof(struct thread, td_md));
122 ASSYM(PCB_R15, offsetof(struct pcb, pcb_r15));
123 ASSYM(PCB_R14, offsetof(struct pcb, pcb_r14));
124 ASSYM(PCB_R13, offsetof(struct pcb, pcb_r13));
125 ASSYM(PCB_R12, offsetof(struct pcb, pcb_r12));
126 ASSYM(PCB_RBP, offsetof(struct pcb, pcb_rbp));
127 ASSYM(PCB_RSP, offsetof(struct pcb, pcb_rsp));
128 ASSYM(PCB_RBX, offsetof(struct pcb, pcb_rbx));
[all …]
/f-stack/freebsd/arm/arm/
H A Dgenassym.c84 ASSYM(M_LEN, offsetof(struct mbuf, m_len));
85 ASSYM(M_DATA, offsetof(struct mbuf, m_data));
86 ASSYM(M_NEXT, offsetof(struct mbuf, m_next));
87 ASSYM(IP_SRC, offsetof(struct ip, ip_src));
88 ASSYM(IP_DST, offsetof(struct ip, ip_dst));
90 ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
93 ASSYM(TD_MD, offsetof(struct thread, td_md));
97 ASSYM(TF_R0, offsetof(struct trapframe, tf_r0));
98 ASSYM(TF_R1, offsetof(struct trapframe, tf_r1));
100 ASSYM(P_PID, offsetof(struct proc, p_pid));
[all …]
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_rxtx_vec.h34 S_ASSERT_RTE_MBUF(offsetof(struct rte_mbuf, pkt_len) ==
36 S_ASSERT_RTE_MBUF(offsetof(struct rte_mbuf, data_len) ==
38 S_ASSERT_RTE_MBUF(offsetof(struct rte_mbuf, hash) ==
43 offsetof(struct rte_mbuf, rearm_data) + 8);
48 S_ASSERT_RTE_MBUF(offsetof(struct rte_mbuf, pkt_len) ==
58 offsetof(struct mlx5_cqe, pkt_info) + 12);
60 offsetof(struct mlx5_cqe, hdr_type_etc));
62 offsetof(struct mlx5_cqe, hdr_type_etc) + 2);
64 offsetof(struct mlx5_cqe, byte_cnt));
67 S_ASSERT_MLX5_CQE(offsetof(struct mlx5_cqe, op_own) ==
[all …]
/f-stack/freebsd/amd64/vmm/intel/
H A Dvmx_genassym.c51 ASSYM(VMXCTX_GUEST_R8, offsetof(struct vmxctx, guest_r8));
52 ASSYM(VMXCTX_GUEST_R9, offsetof(struct vmxctx, guest_r9));
64 ASSYM(VMXCTX_HOST_R15, offsetof(struct vmxctx, host_r15));
65 ASSYM(VMXCTX_HOST_R14, offsetof(struct vmxctx, host_r14));
66 ASSYM(VMXCTX_HOST_R13, offsetof(struct vmxctx, host_r13));
67 ASSYM(VMXCTX_HOST_R12, offsetof(struct vmxctx, host_r12));
68 ASSYM(VMXCTX_HOST_RBP, offsetof(struct vmxctx, host_rbp));
69 ASSYM(VMXCTX_HOST_RSP, offsetof(struct vmxctx, host_rsp));
80 ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
82 ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
[all …]
/f-stack/freebsd/contrib/cloudabi/
H A Dcloudabi64_types.h40 _Static_assert(offsetof(cloudabi64_auxv_t, a_type) == 0, "Incorrect layout");
41 _Static_assert(offsetof(cloudabi64_auxv_t, a_val) == 8, "Incorrect layout");
42 _Static_assert(offsetof(cloudabi64_auxv_t, a_ptr) == 8, "Incorrect layout");
50 _Static_assert(offsetof(cloudabi64_ciovec_t, buf) == 0, "Incorrect layout");
51 _Static_assert(offsetof(cloudabi64_ciovec_t, buf_len) == 8, "Incorrect layout");
59 _Static_assert(offsetof(cloudabi64_iovec_t, buf) == 0, "Incorrect layout");
60 _Static_assert(offsetof(cloudabi64_iovec_t, buf_len) == 8, "Incorrect layout");
73 _Static_assert(offsetof(cloudabi64_recv_in_t, ri_data) == 0, "Incorrect layout");
75 _Static_assert(offsetof(cloudabi64_recv_in_t, ri_fds) == 16, "Incorrect layout");
101 _Static_assert(offsetof(cloudabi64_send_in_t, si_data) == 0, "Incorrect layout");
[all …]
H A Dcloudabi32_types.h40 _Static_assert(offsetof(cloudabi32_auxv_t, a_type) == 0, "Incorrect layout");
41 _Static_assert(offsetof(cloudabi32_auxv_t, a_val) == 4, "Incorrect layout");
42 _Static_assert(offsetof(cloudabi32_auxv_t, a_ptr) == 4, "Incorrect layout");
50 _Static_assert(offsetof(cloudabi32_ciovec_t, buf) == 0, "Incorrect layout");
51 _Static_assert(offsetof(cloudabi32_ciovec_t, buf_len) == 4, "Incorrect layout");
59 _Static_assert(offsetof(cloudabi32_iovec_t, buf) == 0, "Incorrect layout");
60 _Static_assert(offsetof(cloudabi32_iovec_t, buf_len) == 4, "Incorrect layout");
73 _Static_assert(offsetof(cloudabi32_recv_in_t, ri_data) == 0, "Incorrect layout");
75 _Static_assert(offsetof(cloudabi32_recv_in_t, ri_fds) == 8, "Incorrect layout");
103 _Static_assert(offsetof(cloudabi32_send_in_t, si_fds) == 8, "Incorrect layout");
[all …]
H A Dcloudabi_types_common.h349 _Static_assert(offsetof(cloudabi_dirent_t, d_next) == 0, "Incorrect layout");
350 _Static_assert(offsetof(cloudabi_dirent_t, d_ino) == 8, "Incorrect layout");
352 _Static_assert(offsetof(cloudabi_dirent_t, d_type) == 20, "Incorrect layout");
373 _Static_assert(offsetof(cloudabi_event_t, userdata) == 0, "Incorrect layout");
374 _Static_assert(offsetof(cloudabi_event_t, error) == 8, "Incorrect layout");
375 _Static_assert(offsetof(cloudabi_event_t, type) == 10, "Incorrect layout");
392 _Static_assert(offsetof(cloudabi_fdstat_t, fs_flags) == 2, "Incorrect layout");
408 _Static_assert(offsetof(cloudabi_filestat_t, st_dev) == 0, "Incorrect layout");
409 _Static_assert(offsetof(cloudabi_filestat_t, st_ino) == 8, "Incorrect layout");
423 _Static_assert(offsetof(cloudabi_lookup_t, fd) == 0, "Incorrect layout");
[all …]
/f-stack/freebsd/arm64/arm64/
H A Dgenassym.c57 ASSYM(PC_SSBD, offsetof(struct pcpu, pc_ssbd));
62 ASSYM(PCB_REGS, offsetof(struct pcb, pcb_x));
63 ASSYM(PCB_LR, offsetof(struct pcb, pcb_lr));
64 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp));
67 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
69 ASSYM(SF_UC, offsetof(struct sigframe, sf_uc));
71 ASSYM(TD_PROC, offsetof(struct thread, td_proc));
72 ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
75 ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
78 ASSYM(TF_SP, offsetof(struct trapframe, tf_sp));
[all …]
/f-stack/freebsd/amd64/vmm/amd/
H A Dsvm_genassym.c38 ASSYM(SCTX_RBX, offsetof(struct svm_regctx, sctx_rbx));
39 ASSYM(SCTX_RCX, offsetof(struct svm_regctx, sctx_rcx));
40 ASSYM(SCTX_RBP, offsetof(struct svm_regctx, sctx_rbp));
41 ASSYM(SCTX_RDX, offsetof(struct svm_regctx, sctx_rdx));
42 ASSYM(SCTX_RDI, offsetof(struct svm_regctx, sctx_rdi));
43 ASSYM(SCTX_RSI, offsetof(struct svm_regctx, sctx_rsi));
44 ASSYM(SCTX_R8, offsetof(struct svm_regctx, sctx_r8));
45 ASSYM(SCTX_R9, offsetof(struct svm_regctx, sctx_r9));
46 ASSYM(SCTX_R10, offsetof(struct svm_regctx, sctx_r10));
47 ASSYM(SCTX_R11, offsetof(struct svm_regctx, sctx_r11));
[all …]
/f-stack/freebsd/i386/linux/
H A Dlinux_genassym.c11 ASSYM(LINUX_SIGF_HANDLER, offsetof(struct l_sigframe, sf_handler));
12 ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc));
13 ASSYM(LINUX_SC_GS, offsetof(struct l_sigcontext, sc_gs));
14 ASSYM(LINUX_SC_EFLAGS, offsetof(struct l_sigcontext, sc_eflags));
15 ASSYM(LINUX_RT_SIGF_HANDLER, offsetof(struct l_rt_sigframe, sf_handler));
16 ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_sc));
17 ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext));
18 ASSYM(LINUX_SC_ESP, offsetof(struct l_sigcontext, sc_esp));
/f-stack/freebsd/contrib/octeon-sdk/
H A Docteon-pci-console.c155 base_addr = octeon_read_mem64(console_addr + offsetof(octeon_pci_console_t, input_base_addr)); in octeon_pci_console_host_write()
156 rd_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, input_read_index)); in octeon_pci_console_host_write()
157 wr_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, input_write_index)); in octeon_pci_console_host_write()
198 base_addr = octeon_read_mem64(console_addr + offsetof(octeon_pci_console_t, output_base_addr)); in octeon_pci_console_host_read()
199 rd_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, output_read_index)); in octeon_pci_console_host_read()
200 wr_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, output_write_index)); in octeon_pci_console_host_read()
242 base_addr = octeon_read_mem64(console_addr + offsetof(octeon_pci_console_t, input_base_addr)); in octeon_pci_console_host_write_avail()
243 rd_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, input_read_index)); in octeon_pci_console_host_write_avail()
244 wr_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, input_write_index)); in octeon_pci_console_host_write_avail()
273 rd_idx = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, output_read_index)); in octeon_pci_console_host_read_avail()
[all …]
/f-stack/freebsd/amd64/linux32/
H A Dlinux32_genassym.c12 ASSYM(LINUX_SIGF_HANDLER, offsetof(struct l_sigframe, sf_handler));
13 ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc));
14 ASSYM(LINUX_RT_SIGF_HANDLER, offsetof(struct l_rt_sigframe, sf_handler));
15 ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_sc));
16 ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext));
18 ASSYM(LINUX_SC_ESP, offsetof(struct l_sigcontext, sc_esp));
/f-stack/dpdk/lib/librte_cmdline/
H A Dcmdline_parse_ipaddr.h53 offsetof(structure, field), /* offset */ \
67 offsetof(structure, field), /* offset */ \
80 offsetof(structure, field), /* offset */ \
93 offsetof(structure, field), /* offset */ \
108 offsetof(structure, field), /* offset */ \
122 offsetof(structure, field), /* offset */ \
/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_tx.c196 offsetof(struct rte_mbuf, buf_iova)); in nix_xmit_pkts_vector()
206 offsetof(struct rte_mbuf, buf_iova)); in nix_xmit_pkts_vector()
215 offsetof(struct rte_mbuf, buf_iova)); in nix_xmit_pkts_vector()
224 offsetof(struct rte_mbuf, buf_iova)); in nix_xmit_pkts_vector()
243 offsetof(struct rte_mbuf, buf_iova)); in nix_xmit_pkts_vector()
248 offsetof(struct rte_mbuf, buf_iova)); in nix_xmit_pkts_vector()
253 offsetof(struct rte_mbuf, buf_iova)); in nix_xmit_pkts_vector()
266 offsetof(struct rte_mbuf, pool) - in nix_xmit_pkts_vector()
269 offsetof(struct rte_mbuf, pool) - in nix_xmit_pkts_vector()
272 offsetof(struct rte_mbuf, pool) - in nix_xmit_pkts_vector()
[all …]
/f-stack/dpdk/drivers/net/qede/
H A Dqede_ethdev.c166 offsetof(struct ecore_eth_stats_bb,
170 offsetof(struct ecore_eth_stats_bb,
174 offsetof(struct ecore_eth_stats_bb,
178 offsetof(struct ecore_eth_stats_bb,
182 offsetof(struct ecore_eth_stats_bb,
187 offsetof(struct ecore_eth_stats_bb,
191 offsetof(struct ecore_eth_stats_bb,
195 offsetof(struct ecore_eth_stats_bb,
199 offsetof(struct ecore_eth_stats_bb,
213 offsetof(struct ecore_eth_stats_ah,
[all …]
/f-stack/dpdk/app/test/
H A Dtest_bpf.c129 .off = offsetof(struct dummy_offset, u8),
135 .off = offsetof(struct dummy_offset, u16),
141 .off = offsetof(struct dummy_offset, u32),
147 .off = offsetof(struct dummy_offset, u64),
199 .off = offsetof(struct dummy_offset, u8),
205 .off = offsetof(struct dummy_offset, u16),
237 .off = offsetof(struct dummy_offset, u8),
1867 offsetof(struct dummy_offset, u64)),
1874 offsetof(struct dummy_offset, u32)),
1886 offsetof(struct dummy_offset, u16)),
[all …]
/f-stack/freebsd/amd64/linux/
H A Dlinux_genassym.c11 ASSYM(LINUX_RT_SIGF_HANDLER, offsetof(struct l_rt_sigframe, sf_handler));
12 ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_sc));
13 ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext));
15 ASSYM(LINUX_SC_RSP, offsetof(struct l_sigcontext, sc_rsp));
/f-stack/dpdk/drivers/net/ionic/
H A Dionic_ethdev.c135 {"rx_ucast_bytes", offsetof(struct ionic_lif_stats,
139 {"rx_mcast_bytes", offsetof(struct ionic_lif_stats,
143 {"rx_bcast_bytes", offsetof(struct ionic_lif_stats,
160 {"rx_dma_error", offsetof(struct ionic_lif_stats,
163 {"tx_ucast_bytes", offsetof(struct ionic_lif_stats,
167 {"tx_mcast_bytes", offsetof(struct ionic_lif_stats,
171 {"tx_bcast_bytes", offsetof(struct ionic_lif_stats,
188 {"tx_dma_error", offsetof(struct ionic_lif_stats,
193 {"rx_queue_empty", offsetof(struct ionic_lif_stats,
195 {"rx_queue_error", offsetof(struct ionic_lif_stats,
[all …]
/f-stack/dpdk/drivers/event/octeontx2/
H A Dotx2_evdev_stats.h19 {"last_grp_serviced", offsetof(struct sso_hws_stats, arbitration),
22 offsetof(struct sso_hws_stats, arbitration),
27 {"wrk_sched", offsetof(struct sso_grp_stats, ws_pc), ~0x0, 0,
29 {"xaq_dram", offsetof(struct sso_grp_stats, ext_pc), ~0x0,
31 {"add_wrk", offsetof(struct sso_grp_stats, wa_pc), ~0x0, 0,
33 {"tag_switch_req", offsetof(struct sso_grp_stats, ts_pc), ~0x0, 0,
35 {"desched_req", offsetof(struct sso_grp_stats, ds_pc), ~0x0, 0,
37 {"desched_wrk", offsetof(struct sso_grp_stats, dq_pc), ~0x0, 0,
39 {"xaq_cached", offsetof(struct sso_grp_stats, aw_status), 0x3,
41 {"work_inflight", offsetof(struct sso_grp_stats, aw_status), 0x3F,
[all …]
/f-stack/dpdk/drivers/net/iavf/
H A Diavf_rxtx_vec_sse.c58 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, buf_iova) != in iavf_rxq_rearm()
59 offsetof(struct rte_mbuf, buf_addr) + 8); in iavf_rxq_rearm()
182 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, ol_flags) != in desc_to_olflags_v()
183 offsetof(struct rte_mbuf, rearm_data) + 8); in desc_to_olflags_v()
185 RTE_ALIGN(offsetof(struct rte_mbuf, rearm_data), 16)); in desc_to_olflags_v()
334 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, ol_flags) != in flex_desc_to_olflags_v()
335 offsetof(struct rte_mbuf, rearm_data) + 8); in flex_desc_to_olflags_v()
412 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, pkt_len) != in _recv_raw_pkts_vec()
460 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, pkt_len) != in _recv_raw_pkts_vec()
466 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, hash) != in _recv_raw_pkts_vec()
[all …]
/f-stack/dpdk/examples/l3fwd/
H A Dl3fwd_em_hlm_neon.h17 offsetof(struct rte_ipv4_hdr, time_to_live))); in get_ipv4_5tuple()
29 offsetof(struct rte_ipv6_hdr, payload_len))); in get_ipv6_5tuple()
34 offsetof(struct rte_ipv6_hdr, payload_len) + 8)); in get_ipv6_5tuple()
39 offsetof(struct rte_ipv6_hdr, payload_len) + 16)); in get_ipv6_5tuple()
/f-stack/app/nginx-1.16.1/src/mail/
H A Dngx_mail_ssl_module.c70 offsetof(ngx_mail_ssl_conf_t, enable),
77 offsetof(ngx_mail_ssl_conf_t, starttls),
84 offsetof(ngx_mail_ssl_conf_t, certificates),
91 offsetof(ngx_mail_ssl_conf_t, certificate_keys),
105 offsetof(ngx_mail_ssl_conf_t, dhparam),
112 offsetof(ngx_mail_ssl_conf_t, ecdh_curve),
119 offsetof(ngx_mail_ssl_conf_t, protocols),
126 offsetof(ngx_mail_ssl_conf_t, ciphers),
168 offsetof(ngx_mail_ssl_conf_t, verify),
175 offsetof(ngx_mail_ssl_conf_t, verify_depth),
[all …]

12345678910>>...23