| /f-stack/freebsd/net/ |
| H A D | rndis.h | 132 __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 D | mp_ring.c | 263 r = malloc(__offsetof(struct ifmp_ring, items[size]), mt, flags | M_ZERO); in ifmp_ring_alloc()
|
| /f-stack/freebsd/sys/ |
| H A D | cdefs.h | 241 #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 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 | stddef.h | 43 #define offsetof(type, field) __offsetof(type, field)
|
| 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 | disk.h | 193 _Static_assert(__offsetof(struct diocskerneldump_arg, kda_iface) ==
|
| H A D | types.h | 295 #define offsetof(type, field) __offsetof(type, field)
|
| /f-stack/freebsd/net/route/ |
| H A D | route_var.h | 99 _Static_assert(__offsetof(_s1, _f1) == __offsetof(_s2, _f2), \ 116 _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))
|
| H A D | nhop_ctl.c | 95 _Static_assert(__offsetof(struct nhop_object, nh_ifp) == 32,
|
| /f-stack/lib/include/amd64/include/ |
| H A D | counter.h | 35 … counter_u64_t __read_mostly c = (void *)__offsetof(struct pcpu, pc_early_dummy_counter); \
|
| /f-stack/freebsd/amd64/include/ |
| H A D | counter.h | 36 #define EARLY_COUNTER (void *)__offsetof(struct pcpu, pc_early_dummy_counter)
|
| H A D | vmm.h | 603 _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 D | pcpu.h | 119 __offsetof(struct pcpu, name)
|
| /f-stack/tools/compat/include/net/route/ |
| H A D | nhop.h | 123 #define NHOP_END_CMP (__offsetof(struct nhop_object, nh_pksent))
|
| /f-stack/freebsd/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() 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 D | ieee80211_tdma.c | 699 frm += __offsetof(struct ieee80211_tdma_param, tdma_slot); in ieee80211_add_tdma()
|
| /f-stack/freebsd/i386/include/ |
| H A D | pcpu.h | 108 __offsetof(struct pcpu, name)
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | identcpu.c | 944 .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 D | sysmacros.h | 328 #define offsetof(type, field) __offsetof(type, field)
|
| /f-stack/freebsd/kern/ |
| H A D | vfs_bio.c | 214 __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 D | memstat_malloc.c | 507 objsize = __offsetof(struct memstat_kmemzone, kz_zone) + in memstat_malloc_zone_init_kvm()
|
| /f-stack/freebsd/vm/ |
| H A D | uma_int.h | 388 _Static_assert(sizeof(struct uma_slab) == __offsetof(struct uma_slab, us_free),
|