Home
last modified time | relevance | path

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

12

/dflybsd-src/sys/sys/
H A Dcdefs.h364 #define __offsetof(type, field) __builtin_offsetof(type, field) macro
367 #define __offsetof(type, field) \ macro
370 #define __offsetof(type, field) \ macro
385 __DEQUALIFY(s *, (const volatile char *)__x - __offsetof(s, m)); \
389 __DEQUALIFY(s *, (const volatile char *)(x) - __offsetof(s, m))
550 #define __alignof(x) __offsetof(struct { char __a; x __b; }, __b)
H A Ddirent.h113 (__offsetof(struct dirent, d_name) + (dp)->d_namlen + 1)
115 ((__offsetof(struct dirent, d_name) + (namelen) + 1 + 7) & ~7)
H A Dstdint.h57 #define offsetof(type, field) __offsetof(type, field)
H A Dgpt.h61 #define GPT_MIN_HDR_SIZE __offsetof(struct gpt_hdr, padding)
/dflybsd-src/sys/dev/raid/hptmv/
H A Dvdevice.h80 #define ARRAY_VDEV_SIZE (__offsetof(VDevice, u) + sizeof(RaidArray))
81 #define DISK_VDEV_SIZE (__offsetof(VDevice, u) + sizeof(Device))
83 #define Map2pVDevice(pDev) ((PVDevice)((UINT_PTR)pDev - __offsetof(VDevice, u.disk)))
H A Darray.h151 #define ArrayDescript_3_0_size __offsetof(struct _ArrayDescript, bCheckSum31)
/dflybsd-src/include/
H A Dstddef.h61 #define offsetof(type, member) __offsetof(type, member)
/dflybsd-src/sys/kern/
H A Dkern_objcache.c61 #define MAGAZINE_HDRSIZE __offsetof(struct magazine, objects[0])
171 size = __offsetof(struct magazine, objects[capacity]); in mag_alloc()
187 __offsetof(struct magazine, objects[mag_capacity])); in mag_capacity_align()
234 oc = kmalloc(__offsetof(struct objcache, cache_percpu[ncpus]), in objcache_create()
H A Dvfs_init.c185 for (off = __offsetof(struct vop_ops, vop_ops_first_field); in vfs_calc_vnodeops()
186 off <= __offsetof(struct vop_ops, vop_ops_last_field); in vfs_calc_vnodeops()
H A Dkern_device.c62 __offsetof(struct dev_ops, __CONCAT(d_, name)), \
/dflybsd-src/sys/vfs/ufs/
H A Ddir.h114 ((__offsetof(struct direct, d_name) + \
/dflybsd-src/sys/net/ipfw/
H A Dip_fw2.c814 __offsetof(struct ipfw_context, ipfw_sts_reap), ipfw_sysctl_stat,
818 __offsetof(struct ipfw_context, ipfw_sts_reapfailed), ipfw_sysctl_stat,
822 __offsetof(struct ipfw_context, ipfw_sts_overflow), ipfw_sysctl_stat,
826 __offsetof(struct ipfw_context, ipfw_sts_nomem), ipfw_sysctl_stat,
830 __offsetof(struct ipfw_context, ipfw_sts_tcprecycled), ipfw_sysctl_stat,
835 __offsetof(struct ipfw_context, ipfw_tks_nomem), ipfw_sysctl_stat,
839 __offsetof(struct ipfw_context, ipfw_tks_reap), ipfw_sysctl_stat,
843 __offsetof(struct ipfw_context, ipfw_tks_reapfailed), ipfw_sysctl_stat,
847 __offsetof(struct ipfw_context, ipfw_tks_overflow), ipfw_sysctl_stat,
851 __offsetof(struct ipfw_context, ipfw_tks_cntnomem), ipfw_sysctl_stat,
[all …]
/dflybsd-src/sys/bus/u4b/net/
H A Dif_urndis.c847 (uint32_t)__offsetof(struct urndis_packet_msg, in urndis_bulk_read_callback()
851 (uint32_t)__offsetof(struct urndis_packet_msg, in urndis_bulk_read_callback()
876 __offsetof(struct urndis_packet_msg, in urndis_bulk_read_callback()
/dflybsd-src/sys/netproto/802_11/wlan/
H A Dieee80211_ht.c1433 __offsetof(struct ieee80211_ie_htcap, hc_cap)); in ieee80211_parse_htcap()
1434 ni->ni_htparam = ie[__offsetof(struct ieee80211_ie_htcap, hc_param)]; in ieee80211_parse_htcap()
2815 __offsetof(struct ieee80211_ie_htcap, hc_mcsset)); in ieee80211_add_htcap_body()
2826 frm += __offsetof(struct ieee80211_ie_htcap, hc_extcap) - in ieee80211_add_htcap_body()
2827 __offsetof(struct ieee80211_ie_htcap, hc_mcsset); in ieee80211_add_htcap_body()
2835 __offsetof(struct ieee80211_ie_htcap, hc_txbf); in ieee80211_add_htcap_body()
2967 __offsetof(struct ieee80211_ie_htinfo, hi_basicmcsset); in ieee80211_add_htinfo_body()
H A Dieee80211_sta.c1113 qosinfo = frm[__offsetof(struct ieee80211_wme_param, param_qosInfo)]; in ieee80211_parse_wmeparams()
1118 frm += __offsetof(struct ieee80211_wme_param, params_acParams); in ieee80211_parse_wmeparams()
H A Dieee80211_tdma.c698 frm += __offsetof(struct ieee80211_tdma_param, tdma_slot); in ieee80211_add_tdma()
H A Dieee80211_ioctl.c144 space = __offsetof(struct ieee80211req_chaninfo, in ieee80211_ioctl_getchaninfo()
217 const size_t off = __offsetof(struct ieee80211req_sta_stats, is_stats); in ieee80211_ioctl_getstastats()
523 const size_t off = __offsetof(struct ieee80211req_sta_req, info); in ieee80211_ioctl_getstainfo()
/dflybsd-src/sys/platform/pc64/apic/
H A Dapicreg.h477 (__offsetof(struct LAPIC, field) >> 4); \
/dflybsd-src/tools/tools/netrate/kq_sendrecv/kq_recvserv/
H A Dkq_recvserv.c138 info_sz = __offsetof(struct recv_info, dport[nthr]); in main()
/dflybsd-src/sys/netgraph/bpf/
H A Dng_bpf.c113 (buf - __offsetof(struct ng_bpf_hookprog, bpf_prog)); in ng_bpf_hookprogary_getLength()
/dflybsd-src/usr.sbin/dconschat/
H A Ddconschat.c330 dc->paddr + __offsetof(struct dcons_buf, magic)); in dconschat_get_ptr()
477 dc->paddr + __offsetof(struct dcons_buf, iptr[port])); in dconschat_write_dcons()
/dflybsd-src/sys/netgraph7/netgraph/
H A Dng_parse.c86 #define INT16_ALIGNMENT __offsetof(struct int16_temp, y)
87 #define INT32_ALIGNMENT __offsetof(struct int32_temp, y)
88 #define INT64_ALIGNMENT __offsetof(struct int64_temp, y)
/dflybsd-src/sys/netgraph7/bpf/
H A Dng_bpf.c127 (buf - __offsetof(struct ng_bpf_hookprog, bpf_prog)); in ng_bpf_hookprogary_getLength()
/dflybsd-src/sys/dev/netif/ath/ath/
H A Dif_ath_tdma.c555 __offsetof(struct ieee80211_tdma_param, tdma_tstamp), in ath_tdma_update()
/dflybsd-src/sys/platform/vkernel64/x86_64/
H A Dcpu_regs.c173 KKASSERT(__offsetof(struct trapframe, tf_rdi) == 0); in sendsig()

12