__offsetof
#define offsetof(type, member) __offsetof(type, member)
smeta.dls_size = __offsetof(struct dl_serinfo, dls_serpath);
hmeta.dls_size = __offsetof(struct dl_serinfo, dls_serpath);
_info.dls_size = __offsetof(struct dl_serinfo, dls_serpath);
len1 = __offsetof(struct ipfw_ioc_tbllist, tables[table_max]);
len = __offsetof(struct ipfw_ioc_tblcont, ent[count]);
(uint32_t)__offsetof(struct urndis_packet_msg,
(uint32_t)__offsetof(struct urndis_packet_msg,
__offsetof(struct urndis_packet_msg,
__offsetof(struct ieee80211_tdma_param, tdma_tstamp),
#define ArrayDescript_3_0_size __offsetof(struct _ArrayDescript, bCheckSum31)
#define ARRAY_VDEV_SIZE (__offsetof(VDevice, u) + sizeof(RaidArray))
#define DISK_VDEV_SIZE (__offsetof(VDevice, u) + sizeof(Device))
#define Map2pVDevice(pDev) ((PVDevice)((UINT_PTR)pDev - __offsetof(VDevice, u.disk)))
__offsetof(struct dev_ops, __CONCAT(d_, name)), \
size = __offsetof(struct magazine, objects[capacity]);
__offsetof(struct magazine, objects[mag_capacity]));
oc = kmalloc(__offsetof(struct objcache, cache_percpu[ncpus]),
#define MAGAZINE_HDRSIZE __offsetof(struct magazine, objects[0])
for (off = __offsetof(struct vop_ops, vop_ops_first_field);
off <= __offsetof(struct vop_ops, vop_ops_last_field);
__offsetof(struct vop_ops, __CONCAT(vop_, name)), \
x->idle_heap.offset = __offsetof(struct dn_flow_queue, heap_pos);
x->idle_heap.offset = __offsetof(struct dn_flow_queue, heap_pos);
arr = kmalloc(__offsetof(struct ifnet_array, ifnet_arr[count]),
rm = kmalloc(__offsetof(struct if_ringmap, rm_cpumap[ring_cnt]),
sz = __offsetof(struct ipfw_ioc_tbllist, tables[cnt]);
sz = __offsetof(struct ipfw_ioc_tblcont, ent[cnt]);
ctx = kmalloc(__offsetof(struct ipfw_context,
__offsetof(struct ipfw_context, ipfw_sts_reap), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_sts_reapfailed), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_sts_overflow), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_sts_nomem), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_sts_tcprecycled), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_tks_nomem), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_tks_reap), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_tks_reapfailed), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_tks_overflow), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_tks_cntnomem), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_frags), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_defraged), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_defrag_remote), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_xlated), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_xlate_split), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_xlate_conflicts), ipfw_sysctl_stat,
__offsetof(struct ipfw_context, ipfw_xlate_cresolved), ipfw_sysctl_stat,
(buf - __offsetof(struct ng_bpf_hookprog, bpf_prog));
(buf - __offsetof(struct ng_bpf_hookprog, bpf_prog));
#define INT16_ALIGNMENT __offsetof(struct int16_temp, y)
#define INT32_ALIGNMENT __offsetof(struct int32_temp, y)
#define INT64_ALIGNMENT __offsetof(struct int64_temp, y)
grp = kmalloc(__offsetof(struct inp_localgroup, il_inp[size]),
__offsetof(struct ieee80211_ie_htcap, hc_cap));
ni->ni_htparam = ie[__offsetof(struct ieee80211_ie_htcap, hc_param)];
__offsetof(struct ieee80211_ie_htcap, hc_mcsset));
frm += __offsetof(struct ieee80211_ie_htcap, hc_extcap) -
__offsetof(struct ieee80211_ie_htcap, hc_mcsset);
__offsetof(struct ieee80211_ie_htcap, hc_txbf);
__offsetof(struct ieee80211_ie_htinfo, hi_basicmcsset);
space = __offsetof(struct ieee80211req_chaninfo,
const size_t off = __offsetof(struct ieee80211req_sta_stats, is_stats);
const size_t off = __offsetof(struct ieee80211req_sta_req, info);
frm += __offsetof(struct ieee80211_wme_info, wme_info);
qosinfo = frm[__offsetof(struct ieee80211_wme_param, param_qosInfo)];
frm += __offsetof(struct ieee80211_wme_param, params_acParams);
frm += __offsetof(struct ieee80211_tdma_param, tdma_slot);
(__offsetof(struct LAPIC, field) >> 4); \
KKASSERT(__offsetof(struct trapframe, tf_rdi) == 0);
KKASSERT(__offsetof(struct trapframe, tf_rdi) == 0);
__DEQUALIFY(s *, (const volatile char *)__x - __offsetof(s, m)); \
__DEQUALIFY(s *, (const volatile char *)(x) - __offsetof(s, m))
#define __alignof(x) __offsetof(struct { char __a; x __b; }, __b)
(__offsetof(struct dirent, d_name) + (dp)->d_namlen + 1)
((__offsetof(struct dirent, d_name) + (namelen) + 1 + 7) & ~7)
#define GPT_MIN_HDR_SIZE __offsetof(struct gpt_hdr, padding)
#define offsetof(type, field) __offsetof(type, field)
((__offsetof(struct direct, d_name) + \
info_sz = __offsetof(struct recv_info, dport[nthr]);
dc->paddr + __offsetof(struct dcons_buf, magic));
dc->paddr + __offsetof(struct dcons_buf, iptr[port]));