Home
last modified time | relevance | path

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

12

/f-stack/freebsd/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))
H A Dmp_ring.c263 r = malloc(__offsetof(struct ifmp_ring, items[size]), mt, flags | M_ZERO); in ifmp_ring_alloc()
/f-stack/freebsd/sys/
H A Dcdefs.h241 #define __alignof(x) __offsetof(struct { char __a; x __b; }, __b)
472 #define __offsetof(type, field) __builtin_offsetof(type, field) macro
475 #define __offsetof(type, field) \ macro
478 #define __offsetof(type, field) \ macro
485 (__offsetof(type, end) - __offsetof(type, start))
496 __DEQUALIFY(s *, (const volatile char *)__x - __offsetof(s, m));\
500 __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 Dstddef.h43 #define offsetof(type, field) __offsetof(type, field)
H A Dpctrie.h59 CTASSERT((__offsetof(struct type, field) & (sizeof(uint32_t) - 1)) == 0); \
68 ((uintptr_t)val - __offsetof(struct type, field)); \
H A Ddisk.h193 _Static_assert(__offsetof(struct diocskerneldump_arg, kda_iface) ==
H A Dtypes.h295 #define offsetof(type, field) __offsetof(type, field)
/f-stack/freebsd/net/route/
H A Droute_var.h99 _Static_assert(__offsetof(_s1, _f1) == __offsetof(_s2, _f2), \
116 _Static_assert(__offsetof(struct route, ro_dst) == __offsetof(_ro_new, _dst_new),\
H A Dnhop_var.h94 #define NH_PRIV_END_CMP (__offsetof(struct nhop_priv, nh_idx))
H A Dnhop.h123 #define NHOP_END_CMP (__offsetof(struct nhop_object, nh_pksent))
H A Dnhop_ctl.c95 _Static_assert(__offsetof(struct nhop_object, nh_ifp) == 32,
/f-stack/lib/include/amd64/include/
H A Dcounter.h35 … counter_u64_t __read_mostly c = (void *)__offsetof(struct pcpu, pc_early_dummy_counter); \
/f-stack/freebsd/amd64/include/
H A Dcounter.h36 #define EARLY_COUNTER (void *)__offsetof(struct pcpu, pc_early_dummy_counter)
H A Dvmm.h603 _Static_assert(__offsetof(struct vie, disp_bytes) == 22, "ABI");
604 _Static_assert(__offsetof(struct vie, scale) == 24, "ABI");
605 _Static_assert(__offsetof(struct vie, base_register) == 28, "ABI");
H A Dpcpu.h119 __offsetof(struct pcpu, name)
/f-stack/tools/compat/include/net/route/
H A Dnhop.h123 #define NHOP_END_CMP (__offsetof(struct nhop_object, nh_pksent))
/f-stack/freebsd/net80211/
H A Dieee80211_ht.c1687 __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()
3319 __offsetof(struct ieee80211_ie_htcap, hc_mcsset)); in ieee80211_add_htcap_body()
3330 frm += __offsetof(struct ieee80211_ie_htcap, hc_extcap) - in ieee80211_add_htcap_body()
3331 __offsetof(struct ieee80211_ie_htcap, hc_mcsset); in ieee80211_add_htcap_body()
3339 __offsetof(struct ieee80211_ie_htcap, hc_txbf); in ieee80211_add_htcap_body()
3408 __offsetof(struct ieee80211_ie_htcap, hc_mcsset)); in ieee80211_add_htcap_body_ch()
3419 frm += __offsetof(struct ieee80211_ie_htcap, hc_extcap) - in ieee80211_add_htcap_body_ch()
3420 __offsetof(struct ieee80211_ie_htcap, hc_mcsset); in ieee80211_add_htcap_body_ch()
3428 __offsetof(struct ieee80211_ie_htcap, hc_txbf); in ieee80211_add_htcap_body_ch()
[all …]
H A Dieee80211_tdma.c699 frm += __offsetof(struct ieee80211_tdma_param, tdma_slot); in ieee80211_add_tdma()
/f-stack/freebsd/i386/include/
H A Dpcpu.h108 __offsetof(struct pcpu, name)
/f-stack/freebsd/arm64/arm64/
H A Didentcpu.c944 .offset = __offsetof(struct cpu_desc, id_aa64isar0),
951 .offset = __offsetof(struct cpu_desc, id_aa64isar1),
958 .offset = __offsetof(struct cpu_desc, id_aa64pfr0),
965 .offset = __offsetof(struct cpu_desc, id_aa64pfr1),
972 .offset = __offsetof(struct cpu_desc, id_aa64dfr0),
979 .offset = __offsetof(struct cpu_desc, id_aa64mmfr0),
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsysmacros.h328 #define offsetof(type, field) __offsetof(type, field)
/f-stack/freebsd/kern/
H A Dvfs_bio.c214 __offsetof(struct bufdomain, bd_maxbufspace), sysctl_bufdomain_long, "L",
225 __offsetof(struct bufdomain, bd_lobufspace), sysctl_bufdomain_long, "L",
230 __offsetof(struct bufdomain, bd_hibufspace), sysctl_bufdomain_long, "L",
235 __offsetof(struct bufdomain, bd_bufspacethresh), sysctl_bufdomain_long, "L",
270 __offsetof(struct bufdomain, bd_lodirtybuffers), sysctl_bufdomain_int, "I",
275 __offsetof(struct bufdomain, bd_hidirtybuffers), sysctl_bufdomain_int, "I",
280 __offsetof(struct bufdomain, bd_dirtybufthresh), sysctl_bufdomain_int, "I",
288 __offsetof(struct bufdomain, bd_lofreebuffers), sysctl_bufdomain_int, "I",
293 __offsetof(struct bufdomain, bd_hifreebuffers), sysctl_bufdomain_int, "I",
/f-stack/tools/libmemstat/
H A Dmemstat_malloc.c507 objsize = __offsetof(struct memstat_kmemzone, kz_zone) + in memstat_malloc_zone_init_kvm()
/f-stack/freebsd/vm/
H A Duma_int.h388 _Static_assert(sizeof(struct uma_slab) == __offsetof(struct uma_slab, us_free),

12