Home
last modified time | relevance | path

Searched refs:__offsetof (Results 1 – 25 of 59) sorted by relevance

123

/freebsd-12.1/sys/net/
H A Drndis.h132 __offsetof(struct rndis_packet_msg, rm_dataoffset))
136 ((ofs) + __offsetof(struct rndis_packet_msg, rm_dataoffset))
151 __offsetof(struct rndis_pktinfo, rm_data[0])
214 __offsetof(struct rndis_init_comp, rm_aflistsz)
241 __offsetof(struct rndis_query_req, rm_rid))
254 ((ofs) + __offsetof(struct rndis_query_req, rm_rid))
272 __offsetof(struct rndis_set_req, rm_rid))
326 ((ofs) + __offsetof(struct rndis_status_msg, rm_status))
/freebsd-12.1/sys/dev/hyperv/netvsc/
H A Dndis.h124 __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 Dif_hnreg.h254 __offsetof(struct rndis_pktinfo, rm_data[dlen])
H A Dif_hn.c5045 __offsetof(struct hn_rx_ring, hn_lro_tried), in hn_create_rx_data()
5074 __offsetof(struct hn_rx_ring, hn_csum_ip), in hn_create_rx_data()
5078 __offsetof(struct hn_rx_ring, hn_csum_tcp), in hn_create_rx_data()
5082 __offsetof(struct hn_rx_ring, hn_csum_udp), in hn_create_rx_data()
5086 __offsetof(struct hn_rx_ring, hn_csum_trusted), in hn_create_rx_data()
5091 __offsetof(struct hn_rx_ring, hn_small_pkts), in hn_create_rx_data()
5095 __offsetof(struct hn_rx_ring, hn_ack_failed), in hn_create_rx_data()
5462 __offsetof(struct hn_tx_ring, hn_no_txdescs), in hn_create_tx_data()
5466 __offsetof(struct hn_tx_ring, hn_send_failed), in hn_create_tx_data()
5483 __offsetof(struct hn_tx_ring, hn_tx_chimney), in hn_create_tx_data()
[all …]
/freebsd-12.1/sys/sys/
H A Dcdefs.h245 #define __alignof(x) __offsetof(struct { char __a; x __b; }, __b)
476 #define __offsetof(type, field) __builtin_offsetof(type, field) macro
479 #define __offsetof(type, field) \ macro
482 #define __offsetof(type, field) \ macro
489 (__offsetof(type, end) - __offsetof(type, start))
500 __DEQUALIFY(s *, (const volatile char *)__x - __offsetof(s, m));\
504 __DEQUALIFY(s *, (const volatile char *)(x) - __offsetof(s, m))
H A Ddirent.h123 ((__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 Dpctrie.h47 CTASSERT((__offsetof(struct type, field) & (sizeof(uint32_t) - 1)) == 0); \
56 ((uintptr_t)val - __offsetof(struct type, field)); \
H A Dstddef.h43 #define offsetof(type, field) __offsetof(type, field)
H A Dtypes.h303 #define offsetof(type, field) __offsetof(type, field)
/freebsd-12.1/sys/dev/hyperv/utilities/
H A Dvmbus_icreg.h98 __offsetof(struct vmbus_icmsg_heartbeat, ic_rsvd[0])
110 __offsetof(struct vmbus_icmsg_shutdown, ic_msg[0])
H A Dvmbus_ic.c47 __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()
H A Dhv_snapshot.c437 __offsetof(struct hv_vss_opt_msg, reserved)); in hv_vss_daemon_acked()
491 __offsetof(struct hv_vss_opt_msg, reserved)); in hv_vss_app_acked()
713 memset(reqp, 0, __offsetof(hv_vss_req_internal, callout)); in hv_vss_init_req()
/freebsd-12.1/sys/dev/hyperv/vmbus/
H A Dvmbus_reg.h263 CTASSERT(__offsetof(struct vmbus_chanmsg_gpadl_conn,
276 CTASSERT(__offsetof(struct vmbus_chanmsg_gpadl_subconn,
H A Dvmbus_chan.c571 range_len = __offsetof(struct vmbus_gpa_range, gpa_page[page_count]); in vmbus_chan_gpadl_connect()
600 reqsz = __offsetof(struct vmbus_chanmsg_gpadl_conn, in vmbus_chan_gpadl_connect()
639 reqsz = __offsetof(struct vmbus_chanmsg_gpadl_subconn, in vmbus_chan_gpadl_connect()
1060 hlen = __offsetof(struct vmbus_chanpkt_sglist, cp_gpa[sglen]); in vmbus_chan_send_sglist()
1100 hlen = __offsetof(struct vmbus_chanpkt_prplist, in vmbus_chan_send_prplist()
1118 iov[1].iov_len = __offsetof(struct vmbus_gpa_range, gpa_page[prp_cnt]); in vmbus_chan_send_prplist()
2061 elem_size = __offsetof(struct vmbus_chanpkt_prplist, in vmbus_chan_prplist_nelem()
/freebsd-12.1/include/
H A Dstddef.h75 #define offsetof(type, field) __offsetof(type, field)
/freebsd-12.1/lib/libthr/arch/amd64/include/
H A Dpthread_md.h60 #define __tcb_offset(name) __offsetof(struct tcb, name)
/freebsd-12.1/lib/libthr/arch/i386/include/
H A Dpthread_md.h59 #define __tcb_offset(name) __offsetof(struct tcb, name)
/freebsd-12.1/sys/ufs/ufs/
H A Ddir.h115 (roundup2(__offsetof(struct direct, d_name) + (namlen) + 1, DIR_ROUNDUP))
/freebsd-12.1/sys/net80211/
H A Dieee80211_ht.c1508 __offsetof(struct ieee80211_ie_htcap, hc_cap)); in ieee80211_parse_htcap()
1509 ni->ni_htparam = ie[__offsetof(struct ieee80211_ie_htcap, hc_param)]; in ieee80211_parse_htcap()
3107 __offsetof(struct ieee80211_ie_htcap, hc_mcsset)); in ieee80211_add_htcap_body()
3118 frm += __offsetof(struct ieee80211_ie_htcap, hc_extcap) - in ieee80211_add_htcap_body()
3119 __offsetof(struct ieee80211_ie_htcap, hc_mcsset); in ieee80211_add_htcap_body()
3127 __offsetof(struct ieee80211_ie_htcap, hc_txbf); in ieee80211_add_htcap_body()
3196 __offsetof(struct ieee80211_ie_htcap, hc_mcsset)); in ieee80211_add_htcap_body_ch()
3207 frm += __offsetof(struct ieee80211_ie_htcap, hc_extcap) - in ieee80211_add_htcap_body_ch()
3208 __offsetof(struct ieee80211_ie_htcap, hc_mcsset); in ieee80211_add_htcap_body_ch()
3216 __offsetof(struct ieee80211_ie_htcap, hc_txbf); in ieee80211_add_htcap_body_ch()
[all …]
/freebsd-12.1/sys/dev/mlx5/mlx5_en/
H A Den_rl.h102 (__offsetof(struct mlx5e_rl_params, n) / sizeof(uint64_t))
/freebsd-12.1/sys/arm64/arm64/
H A Didentcpu.c260 .offset = __offsetof(struct cpu_desc, id_aa64isar0),
266 .offset = __offsetof(struct cpu_desc, id_aa64isar1),
272 .offset = __offsetof(struct cpu_desc, id_aa64pfr0),
278 .offset = __offsetof(struct cpu_desc, id_aa64dfr0),
/freebsd-12.1/sys/i386/include/
H A Dpcpu.h97 __offsetof(struct pcpu, name)
/freebsd-12.1/sys/amd64/include/
H A Dpcpu.h96 __offsetof(struct pcpu, name)
/freebsd-12.1/sys/dev/usb/net/
H A Dif_urndis.c880 (uint32_t)__offsetof(struct rndis_packet_msg, in urndis_bulk_read_callback()
884 (uint32_t)__offsetof(struct rndis_packet_msg, in urndis_bulk_read_callback()
910 __offsetof(struct rndis_packet_msg, in urndis_bulk_read_callback()
/freebsd-12.1/sbin/camcontrol/
H A Dpersist.c250 if (length < __offsetof(struct scsi_per_res_cap, type_mask)) { in persist_print_cap()
255 if (length >= __offsetof(struct scsi_per_res_cap, reserved)) in persist_print_cap()

123