| /freebsd-13.1/sys/net/ |
| H A D | rndis.h | 132 __offsetof(struct rndis_packet_msg, rm_dataoffset)) 136 ((ofs) + __offsetof(struct rndis_packet_msg, rm_dataoffset)) 152 __offsetof(struct rndis_pktinfo, rm_data[0]) 219 __offsetof(struct rndis_init_comp, rm_aflistsz) 246 __offsetof(struct rndis_query_req, rm_rid)) 259 ((ofs) + __offsetof(struct rndis_query_req, rm_rid)) 277 __offsetof(struct rndis_set_req, rm_rid)) 331 ((ofs) + __offsetof(struct rndis_status_msg, rm_status))
|
| /freebsd-13.1/sys/dev/hyperv/netvsc/ |
| H A D | ndis.h | 124 __offsetof(struct ndis_offload_params, ndis_rsc_ip4) 174 __offsetof(struct ndis_rss_caps, ndis_pad) 176 __offsetof(struct ndis_rss_caps, ndis_nind) 212 __offsetof(struct ndis_rss_params, ndis_cpumaskoffset) 234 __offsetof(struct ndis_rssprm_toeplitz, rss_ind[nind]) 351 __offsetof(struct ndis_offload, ndis_ipsecv2) 353 __offsetof(struct ndis_offload, ndis_rsc)
|
| H A D | if_hnreg.h | 268 __offsetof(struct rndis_pktinfo, rm_data[dlen])
|
| /freebsd-13.1/tools/build/cross-build/include/common/sys/ |
| H A D | cdefs.h | 208 #ifndef __offsetof 209 #define __offsetof(type, field) __builtin_offsetof(type, field) macro 213 (__offsetof(type, end) - __offsetof(type, start)) 220 s *, (const volatile char *)__x - __offsetof(s, m)); \
|
| /freebsd-13.1/sys/sys/ |
| H A D | cdefs.h | 237 #define __alignof(x) __offsetof(struct { char __a; x __b; }, __b) 468 #define __offsetof(type, field) __builtin_offsetof(type, field) macro 471 #define __offsetof(type, field) \ macro 474 #define __offsetof(type, field) \ macro 481 (__offsetof(type, end) - __offsetof(type, start)) 492 __DEQUALIFY(s *, (const volatile char *)__x - __offsetof(s, m));\ 496 __DEQUALIFY(s *, (const volatile char *)(x) - __offsetof(s, m))
|
| H A D | dirent.h | 123 ((__offsetof(struct dirent, d_name) + (namlen) + 1 + 7) & ~7) 140 dp->d_reclen - (__offsetof(struct dirent, d_name) + dp->d_namlen)); in dirent_terminate()
|
| H A D | pctrie.h | 59 CTASSERT((__offsetof(struct type, field) & (sizeof(uint32_t) - 1)) == 0); \ 68 ((uintptr_t)val - __offsetof(struct type, field)); \
|
| H A D | stddef.h | 43 #define offsetof(type, field) __offsetof(type, field)
|
| H A D | disk.h | 193 _Static_assert(__offsetof(struct diocskerneldump_arg, kda_iface) ==
|
| /freebsd-13.1/sys/dev/hyperv/utilities/ |
| H A D | vmbus_icreg.h | 98 __offsetof(struct vmbus_icmsg_heartbeat, ic_rsvd[0]) 110 __offsetof(struct vmbus_icmsg_shutdown, ic_msg[0])
|
| H A D | vmbus_ic.c | 47 __offsetof(struct vmbus_icmsg_negotiate, ic_ver[VMBUS_IC_VERCNT]) 84 if (dlen < __offsetof(struct vmbus_icmsg_negotiate, ic_ver[cnt])) { in vmbus_ic_negomsg()
|
| /freebsd-13.1/sys/net/route/ |
| H A D | route_var.h | 101 _Static_assert(__offsetof(_s1, _f1) == __offsetof(_s2, _f2), \ 118 _Static_assert(__offsetof(struct route, ro_dst) == __offsetof(_ro_new, _dst_new),\
|
| H A D | nhop_var.h | 94 #define NH_PRIV_END_CMP (__offsetof(struct nhop_priv, nh_idx))
|
| H A D | nhop.h | 123 #define NHOP_END_CMP (__offsetof(struct nhop_object, nh_pksent))
|
| /freebsd-13.1/include/ |
| H A D | stddef.h | 75 #define offsetof(type, field) __offsetof(type, field)
|
| /freebsd-13.1/sys/dev/hyperv/vmbus/ |
| H A D | vmbus_reg.h | 326 CTASSERT(__offsetof(struct vmbus_chanmsg_gpadl_conn, 339 CTASSERT(__offsetof(struct vmbus_chanmsg_gpadl_subconn,
|
| H A D | vmbus_chan.c | 588 range_len = __offsetof(struct vmbus_gpa_range, gpa_page[page_count]); in vmbus_chan_gpadl_connect() 617 reqsz = __offsetof(struct vmbus_chanmsg_gpadl_conn, in vmbus_chan_gpadl_connect() 656 reqsz = __offsetof(struct vmbus_chanmsg_gpadl_subconn, in vmbus_chan_gpadl_connect() 1130 hlen = __offsetof(struct vmbus_chanpkt_sglist, cp_gpa[sglen]); in vmbus_chan_send_sglist() 1170 hlen = __offsetof(struct vmbus_chanpkt_prplist, in vmbus_chan_send_prplist() 1188 iov[1].iov_len = __offsetof(struct vmbus_gpa_range, gpa_page[prp_cnt]); in vmbus_chan_send_prplist() 2245 elem_size = __offsetof(struct vmbus_chanpkt_prplist, in vmbus_chan_prplist_nelem()
|
| /freebsd-13.1/lib/libthr/arch/i386/include/ |
| H A D | pthread_md.h | 59 #define __tcb_offset(name) __offsetof(struct tcb, name)
|
| /freebsd-13.1/lib/libthr/arch/amd64/include/ |
| H A D | pthread_md.h | 60 #define __tcb_offset(name) __offsetof(struct tcb, name)
|
| /freebsd-13.1/sys/amd64/include/ |
| H A D | counter.h | 36 #define EARLY_COUNTER (void *)__offsetof(struct pcpu, pc_early_dummy_counter)
|
| H A D | vmm.h | 604 _Static_assert(__offsetof(struct vie, disp_bytes) == 22, "ABI"); 605 _Static_assert(__offsetof(struct vie, scale) == 24, "ABI"); 606 _Static_assert(__offsetof(struct vie, base_register) == 28, "ABI");
|
| /freebsd-13.1/sys/ufs/ufs/ |
| H A D | dir.h | 115 (roundup2(__offsetof(struct direct, d_name) + (namlen) + 1, DIR_ROUNDUP))
|
| /freebsd-13.1/sys/net80211/ |
| H A D | ieee80211_ht.c | 1687 __offsetof(struct ieee80211_ie_htcap, hc_cap)); in ieee80211_parse_htcap() 1688 ni->ni_htparam = ie[__offsetof(struct ieee80211_ie_htcap, hc_param)]; in ieee80211_parse_htcap() 3330 __offsetof(struct ieee80211_ie_htcap, hc_mcsset)); in ieee80211_add_htcap_body() 3341 frm += __offsetof(struct ieee80211_ie_htcap, hc_extcap) - in ieee80211_add_htcap_body() 3342 __offsetof(struct ieee80211_ie_htcap, hc_mcsset); in ieee80211_add_htcap_body() 3350 __offsetof(struct ieee80211_ie_htcap, hc_txbf); in ieee80211_add_htcap_body() 3419 __offsetof(struct ieee80211_ie_htcap, hc_mcsset)); in ieee80211_add_htcap_body_ch() 3430 frm += __offsetof(struct ieee80211_ie_htcap, hc_extcap) - in ieee80211_add_htcap_body_ch() 3431 __offsetof(struct ieee80211_ie_htcap, hc_mcsset); in ieee80211_add_htcap_body_ch() 3439 __offsetof(struct ieee80211_ie_htcap, hc_txbf); in ieee80211_add_htcap_body_ch() [all …]
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_en/ |
| H A D | en_rl.h | 102 (__offsetof(struct mlx5e_rl_params, n) / sizeof(uint64_t))
|
| /freebsd-13.1/tests/sys/kern/ |
| H A D | sysctl_kern_proc.c | 155 ATF_REQUIRE(sz >= __offsetof(struct kinfo_file, kf_structsize) + in ATF_TC_BODY()
|