Symbol: offsetof
bin/ps/keyword.c
58
#define KOFF(x) offsetof(struct kinfo_proc, x)
bin/ps/keyword.c
59
#define ROFF(x) offsetof(struct rusage, x)
crypto/krb5/src/include/k5-queue.h
314
((char *)((head)->stqh_last) - offsetof(struct type, field))))
crypto/krb5/src/include/k5-queue.h
407
((char *)((head)->sqh_last) - offsetof(struct type, field))))
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.h
574
(offsetof(TYPE, FIELD) \
crypto/krb5/src/lib/krb5/os/localaddr.c
1005
- offsetof (struct ifreq, ifr_addr.sa_data)))) {
crypto/krb5/src/lib/rpc/pmap_clnt.c
106
+ offsetof(struct sockaddr_un, sun_path)),
crypto/krb5/src/util/profile/prof_file.c
146
slen = offsetof(struct _prf_data_t, filespec);
crypto/krb5/src/util/verto/ev.c
4464
ev_stat *w = (ev_stat *)(((char *)w_) - offsetof (ev_stat, timer));
crypto/krb5/src/util/verto/ev.c
4690
ev_embed *w = (ev_embed *)(((char *)io) - offsetof (ev_embed, io));
crypto/krb5/src/util/verto/ev.c
4701
ev_embed *w = (ev_embed *)(((char *)prepare) - offsetof (ev_embed, prepare));
crypto/krb5/src/util/verto/ev.c
4717
ev_embed *w = (ev_embed *)(((char *)fork_w) - offsetof (ev_embed, fork));
crypto/krb5/src/util/verto/ev.c
4943
struct ev_once *once = (struct ev_once *)(((char *)w) - offsetof (struct ev_once, io));
crypto/krb5/src/util/verto/ev.c
4951
struct ev_once *once = (struct ev_once *)(((char *)w) - offsetof (struct ev_once, to));
crypto/krb5/src/util/verto/ev.c
5004
cb (EV_A_ EV_EMBED, ((char *)wl) - offsetof (struct ev_embed, io));
crypto/krb5/src/util/verto/ev.c
5027
cb (EV_A_ EV_STAT, ((char *)ANHE_w (timers [i])) - offsetof (struct ev_stat, timer));
crypto/openssh/openbsd-compat/port-prngd.c
89
addr_len = offsetof(struct sockaddr_un, sun_path) +
crypto/openssh/sandbox-seccomp-filter.c
107
offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_LO_OFFSET), \
crypto/openssh/sandbox-seccomp-filter.c
112
offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_HI_OFFSET), \
crypto/openssh/sandbox-seccomp-filter.c
118
offsetof(struct seccomp_data, nr))
crypto/openssh/sandbox-seccomp-filter.c
124
offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_LO_OFFSET), \
crypto/openssh/sandbox-seccomp-filter.c
129
offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_HI_OFFSET), \
crypto/openssh/sandbox-seccomp-filter.c
136
offsetof(struct seccomp_data, nr))
crypto/openssh/sandbox-seccomp-filter.c
142
offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_LO_OFFSET), \
crypto/openssh/sandbox-seccomp-filter.c
147
offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_HI_OFFSET), \
crypto/openssh/sandbox-seccomp-filter.c
154
offsetof(struct seccomp_data, nr))
crypto/openssh/sandbox-seccomp-filter.c
163
offsetof(struct seccomp_data, args[1]) + ARG_LO_OFFSET), \
crypto/openssh/sandbox-seccomp-filter.c
170
offsetof(struct seccomp_data, args[1]) + ARG_HI_OFFSET), \
crypto/openssh/sandbox-seccomp-filter.c
179
BPF_STMT(BPF_LD+BPF_W+BPF_ABS, offsetof(struct seccomp_data, nr))
crypto/openssh/sandbox-seccomp-filter.c
207
offsetof(struct seccomp_data, arch)),
crypto/openssh/sandbox-seccomp-filter.c
212
offsetof(struct seccomp_data, nr)),
crypto/openssl/crypto/rand/rand_egd.c
123
i = offsetof(struct sockaddr_un, sun_path) + strlen(path);
crypto/openssl/include/openssl/asn1t.h
206
static const ASN1_AUX tname##_aux = { NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), offsetof(tname, lock), cb, 0, NULL }; \
crypto/openssl/include/openssl/asn1t.h
210
static const ASN1_AUX tname##_aux = { NULL, ASN1_AFLG_ENCODING, 0, 0, cb, offsetof(tname, enc), NULL }; \
crypto/openssl/include/openssl/asn1t.h
313
offsetof(stname, selname), \
crypto/openssl/include/openssl/asn1t.h
324
offsetof(stname, selname), \
crypto/openssl/include/openssl/asn1t.h
335
offsetof(stname, selname), \
crypto/openssl/include/openssl/asn1t.h
354
(flags), (tag), offsetof(stname, field), \
crypto/openssl/include/openssl/asn1t.h
456
offsetof(name, field), \
crypto/openssl/ssl/quic/quic_stream_map.c
66
offsetof(QUIC_STREAM, active_node))
crypto/openssl/ssl/quic/quic_stream_map.c
68
offsetof(QUIC_STREAM, accept_node))
crypto/openssl/ssl/quic/quic_stream_map.c
70
offsetof(QUIC_STREAM, accept_node))
crypto/openssl/ssl/quic/quic_stream_map.c
72
offsetof(QUIC_STREAM, ready_for_gc_node))
crypto/openssl/ssl/ssl_sess.c
148
memcpy(dest, src, offsetof(SSL_SESSION, prev));
lib/libc/gen/readdir-compat11.c
61
dstdp->d_reclen - offsetof(struct freebsd11_dirent, d_name) -
lib/libc/locale/lmessages.c
41
(offsetof(struct lc_messages_T, yesstr) / sizeof(char *))
lib/libc/locale/lmonetary.c
45
(offsetof(struct lc_monetary_T, int_p_cs_precedes) / \
lib/libc/net/getaddrinfo.c
136
offsetof(struct sockaddr_in6, sin6_addr),
lib/libc/net/getaddrinfo.c
146
offsetof(struct sockaddr_in, sin_addr),
lib/libc/net/getaddrinfo.c
151
offsetof(struct sockaddr_un, sun_path),
lib/libc/net/getnameinfo.c
102
offsetof(struct sockaddr_un, sun_path),
lib/libc/net/getnameinfo.c
106
offsetof(struct sockaddr_dl, sdl_data),
lib/libc/net/getnameinfo.c
93
offsetof(struct sockaddr_in6, sin6_addr),
lib/libc/net/getnameinfo.c
97
offsetof(struct sockaddr_in, sin_addr),
lib/libc/net/sctp_sys_calls.c
441
fr_addr = (void *)((caddr_t)addrs - offsetof(struct sctp_getaddresses, addr));
lib/libc/net/sctp_sys_calls.c
500
fr_addr = (void *)((caddr_t)addrs - offsetof(struct sctp_getaddresses, addr));
lib/libc/rpc/rpc_generic.c
620
offsetof(struct sockaddr_un, sun_path)),
lib/libc/rpc/svc_nl.c
166
#define OUT(field) offsetof(struct nl_request_parsed, field)
lib/libc/tests/net/link_addr_test.cc
308
auto actual_size = datalen + offsetof(sockaddr_dl, sdl_data);
lib/libc/tests/net/link_addr_test.cc
95
auto dlen = sdl.sdl_len - offsetof(sockaddr_dl, sdl_data);
lib/libifconfig/libifconfig_carp.c
50
#define _OUT(_field) offsetof(struct ifconfig_carp, _field)
lib/libmemstat/memstat_uma.c
389
offsetof(struct uma_zone, uz_cpu[0]));
lib/libnetgraph/internal.h
59
#define NGSA_OVERHEAD (offsetof(struct sockaddr_ng, sg_data))
lib/libnvmf/nvmf_controller.c
255
offsetof(struct nvmf_fabric_connect_cmd, sqsize));
lib/libnvmf/nvmf_controller.c
264
offsetof(struct nvmf_fabric_connect_cmd, qid));
lib/libnvmf/nvmf_controller.c
274
offsetof(struct nvmf_fabric_connect_cmd, sqsize));
lib/libnvmf/nvmf_controller.c
283
offsetof(struct nvmf_fabric_connect_cmd, kato));
lib/libnvmf/nvmf_controller.c
295
offsetof(struct nvmf_fabric_connect_cmd, sgl1));
lib/libnvmf/nvmf_controller.c
312
offsetof(struct nvmf_fabric_connect_data, hostid));
lib/libnvmf/nvmf_controller.c
323
offsetof(struct nvmf_fabric_connect_data,
lib/libnvmf/nvmf_controller.c
333
offsetof(struct nvmf_fabric_connect_data,
lib/libnvmf/nvmf_controller.c
343
offsetof(struct nvmf_fabric_connect_data, cntlid));
lib/libnvmf/nvmf_controller.c
353
offsetof(struct nvmf_fabric_connect_data, subnqn));
lib/libnvmf/nvmf_controller.c
360
offsetof(struct nvmf_fabric_connect_data, hostnqn));
lib/libnvmf/nvmf_tcp.c
516
offsetof(struct nvme_tcp_h2c_data_hdr, ttag), pdu->hdr,
lib/libnvmf/nvmf_tcp.c
526
offsetof(struct nvme_tcp_h2c_data_hdr, datal), pdu->hdr,
lib/libnvmf/nvmf_tcp.c
586
offsetof(struct nvme_tcp_c2h_data_hdr, cccid), pdu->hdr,
lib/libnvmf/nvmf_tcp.c
596
offsetof(struct nvme_tcp_c2h_data_hdr, datal), pdu->hdr,
lib/libnvmf/nvmf_tcp.c
715
offsetof(struct nvme_tcp_r2t_hdr, cccid), pdu->hdr,
lib/libpfctl/libpfctl.c
1384
#define _IN(_field) offsetof(struct genlmsghdr, _field)
lib/libpfctl/libpfctl.c
1385
#define _OUT(_field) offsetof(struct pfctl_rules_info, _field)
lib/libpfctl/libpfctl.c
1463
#define _OUT(_field) offsetof(struct pf_addr_wrap, _field)
lib/libpfctl/libpfctl.c
1477
#define _OUT(_field) offsetof(struct pf_rule_addr, _field)
lib/libpfctl/libpfctl.c
1512
#define _OUT(_field) offsetof(struct nl_parsed_labels, _field)
lib/libpfctl/libpfctl.c
1536
#define _OUT(_field) offsetof(struct pf_mape_portset, _field)
lib/libpfctl/libpfctl.c
1545
#define _OUT(_field) offsetof(struct pfctl_pool, _field)
lib/libpfctl/libpfctl.c
1581
#define _OUT(_field) offsetof(struct nl_parsed_timeout, _field)
lib/libpfctl/libpfctl.c
1605
#define _OUT(_field) offsetof(struct pf_rule_uid, _field)
lib/libpfctl/libpfctl.c
1614
#define _OUT(_field) offsetof(struct pfctl_threshold, _field)
lib/libpfctl/libpfctl.c
1627
#define _OUT(_field) offsetof(struct pfctl_nl_get_rule, _field)
lib/libpfctl/libpfctl.c
1827
#define _IN(_field) offsetof(struct genlmsghdr, _field)
lib/libpfctl/libpfctl.c
1828
#define _OUT(_field) offsetof(struct pfctl_creator, _field)
lib/libpfctl/libpfctl.c
1909
#define _OUT(_field) offsetof(struct pfctl_state_peer, _field)
lib/libpfctl/libpfctl.c
1920
#define _OUT(_field) offsetof(struct pfctl_state_key, _field)
lib/libpfctl/libpfctl.c
1932
#define _IN(_field) offsetof(struct genlmsghdr, _field)
lib/libpfctl/libpfctl.c
1933
#define _OUT(_field) offsetof(struct pfctl_state, _field)
lib/libpfctl/libpfctl.c
2084
#define _OUT(_field) offsetof(struct pfctl_nl_clear_states, _field)
lib/libpfctl/libpfctl.c
2611
#define _OUT(_field) offsetof(struct pfctl_change, _field)
lib/libpfctl/libpfctl.c
2758
#define _OUT(_field) offsetof(struct pfr_addr, _field)
lib/libpfctl/libpfctl.c
2786
#define _OUT(_field) offsetof(struct nl_addrs, _field)
lib/libpfctl/libpfctl.c
2865
#define _IN(_field) offsetof(struct genlmsghdr, _field)
lib/libpfctl/libpfctl.c
2866
#define _OUT(_field) offsetof(struct pfctl_natlook, _field)
lib/libpfctl/libpfctl.c
298
#define _OUT(_field) offsetof(struct pfctl_status_counter, _field)
lib/libpfctl/libpfctl.c
2987
#define _OUT(_field) offsetof(struct pfctl_nl_timeout, _field)
lib/libpfctl/libpfctl.c
3069
#define _OUT(_field) offsetof(struct pfctl_nl_limit, _field)
lib/libpfctl/libpfctl.c
3118
#define _OUT(_field) offsetof(struct pfctl_nl_begin_addrs, _field)
lib/libpfctl/libpfctl.c
3247
#define _OUT(_field) offsetof(struct pf_pooladdr, _field)
lib/libpfctl/libpfctl.c
3255
#define _OUT(_field) offsetof(struct pfioc_pooladdr, _field)
lib/libpfctl/libpfctl.c
3311
#define _OUT(_field) offsetof(struct pfioc_ruleset, _field)
lib/libpfctl/libpfctl.c
3394
#define _OUT(_field) offsetof(struct pfctl_src_node, _field)
lib/libpfctl/libpfctl.c
3604
#define _OUT(_field) offsetof(struct pfr_table, _field)
lib/libpfctl/libpfctl.c
3612
#define _OUT(_field) offsetof(struct pfr_tstats, _field)
lib/libpfctl/libpfctl.c
3770
#define _OUT(_field) offsetof(struct pfr_astats, _field)
lib/libpfctl/libpfctl.c
379
#define _OUT(_field) offsetof(struct pfctl_status, _field)
lib/libpfctl/libpfctl.c
3798
#define _OUT(_field) offsetof(struct nl_astats, _field)
lib/libpfctl/libpfctl.c
4000
#define _OUT(_field) offsetof(struct pfctl_limit_rate, _field)
lib/libpfctl/libpfctl.c
4008
#define _OUT(_field) offsetof(struct pfctl_state_lim, _field)
lib/libpfctl/libpfctl.c
4094
#define _OUT(_field) offsetof(struct pfctl_source_lim, _field)
lib/libpfctl/libpfctl.c
4208
#define _OUT(_field) offsetof(struct pfctl_source, _field)
lib/libpmc/pmclog.c
297
(P) = (E) - offsetof(struct TYPE, pl_pathname); \
lib/libpmc/pmclog.c
303
(SZ) = ((E) - offsetof(struct pmclog_callchain, pl_pc)) \
lib/libpmc/pmu-events/list.h
35
(type *)((uintptr_t)__p - offsetof(type, member)); \
lib/libprocstat/zfs.c
76
if ((size_t)size < offsetof(znode_t, z_id) + sizeof(znode->z_id) ||
lib/libprocstat/zfs.c
77
(size_t)size < offsetof(znode_t, z_mode) + sizeof(znode->z_mode) ||
lib/libprocstat/zfs.c
78
(size_t)size < offsetof(znode_t, z_size) + sizeof(znode->z_size)) {
lib/libtacplus/taclib.c
1016
htonl(offsetof(struct tac_authen_start, rest[0]));
lib/libtacplus/taclib.c
1028
htonl(offsetof(struct tac_authen_cont, rest[0]));
lib/libtacplus/taclib.c
1040
h->srvr_pos = offsetof(struct tac_authen_reply, rest[0]);
lib/libtacplus/taclib.c
1065
htonl(offsetof(struct tac_author_request, rest[0]));
lib/libtacplus/taclib.c
1099
h->srvr_pos = offsetof(struct tac_author_response, rest[0]) +
lib/libtacplus/taclib.c
1137
h->request.length = htonl(offsetof(struct tac_acct_start, rest[0]));
lib/libtacplus/taclib.c
1158
h->srvr_pos = offsetof(struct tac_acct_reply, rest[0]);
lib/libthr/arch/amd64/include/pthread_md.h
51
: "i" (offsetof(struct tcb, tcb_thread)));
lib/libthr/arch/i386/include/pthread_md.h
51
: "i" (offsetof(struct tcb, tcb_thread)));
lib/libthr/thread/thr_symbols.c
42
int _thread_off_tcb = offsetof(struct pthread, tcb);
lib/libthr/thread/thr_symbols.c
43
int _thread_off_tid = offsetof(struct pthread, tid);
lib/libthr/thread/thr_symbols.c
44
int _thread_off_next = offsetof(struct pthread, tle.tqe_next);
lib/libthr/thread/thr_symbols.c
45
int _thread_off_attr_flags = offsetof(struct pthread, attr.flags);
lib/libthr/thread/thr_symbols.c
46
int _thread_off_linkmap = offsetof(Obj_Entry, linkmap);
lib/libthr/thread/thr_symbols.c
47
int _thread_off_tlsindex = offsetof(Obj_Entry, tlsindex);
lib/libthr/thread/thr_symbols.c
48
int _thread_off_report_events = offsetof(struct pthread, report_events);
lib/libthr/thread/thr_symbols.c
49
int _thread_off_event_mask = offsetof(struct pthread, event_mask);
lib/libthr/thread/thr_symbols.c
50
int _thread_off_event_buf = offsetof(struct pthread, event_buf);
lib/libthr/thread/thr_symbols.c
52
int _thread_off_key_allocated = offsetof(struct pthread_key, allocated);
lib/libthr/thread/thr_symbols.c
53
int _thread_off_key_destructor = offsetof(struct pthread_key, destructor);
lib/libthr/thread/thr_symbols.c
55
int _thread_off_dtv = offsetof(struct tcb, tcb_dtv);
lib/libthr/thread/thr_symbols.c
56
int _thread_off_state = offsetof(struct pthread, state);
lib/libthread_db/libpthread_db.c
1005
offsetof(struct kse_thr_mailbox, tm_dflags),
lib/libthread_db/libpthread_db.c
1015
offsetof(struct kse_thr_mailbox, tm_dflags),
lib/libthread_db/libpthread_db.c
1022
offsetof(struct kse_thr_mailbox, tm_lwp),
lib/libthread_db/libpthread_db.c
247
offsetof(struct kse_thr_mailbox, tm_lwp), &lwp);
lib/libthread_db/libpthread_db.c
311
offsetof(struct kse_thr_mailbox, tm_lwp), &lwp1);
lib/libthread_db/libpthread_db.c
473
ptr = tmbx_addr + offsetof(struct kse_thr_mailbox, tm_lwp);
lib/libthread_db/libpthread_db.c
530
tmbx_addr + offsetof(struct kse_thr_mailbox, tm_dflags),
lib/libthread_db/libpthread_db.c
539
tmbx_addr + offsetof(struct kse_thr_mailbox, tm_dflags),
lib/libthread_db/libpthread_db.c
615
offsetof(struct kse_thr_mailbox, tm_lwp),
lib/libthread_db/libpthread_db.c
621
offsetof(struct kse_thr_mailbox, tm_dflags),
lib/libthread_db/libpthread_db.c
626
offsetof(struct kse_thr_mailbox, tm_lwp), &lwp, sizeof(lwpid_t));
lib/libthread_db/libpthread_db.c
701
ptr = tmbx_addr + offsetof(struct kse_thr_mailbox, tm_lwp);
lib/libthread_db/libpthread_db.c
743
ptr = tmbx_addr + offsetof(struct kse_thr_mailbox, tm_lwp);
lib/libthread_db/libpthread_db.c
785
ptr = tmbx_addr + offsetof(struct kse_thr_mailbox, tm_lwp);
lib/libthread_db/libpthread_db.c
829
ptr = tmbx_addr + offsetof(struct kse_thr_mailbox, tm_lwp);
lib/libthread_db/libpthread_db.c
877
ptr = tmbx_addr + offsetof(struct kse_thr_mailbox, tm_lwp);
lib/libthread_db/libpthread_db.c
924
ptr = tmbx_addr + offsetof(struct kse_thr_mailbox, tm_lwp);
lib/libusb/libusb10_hotplug.c
116
#define _OUT(_field) offsetof(struct nlevent, _field)
libexec/tftpd/tftp-io.c
191
size = offsetof(struct tftphdr, th_stuff);
libexec/tftpd/tftp-io.c
239
size = offsetof(struct tftphdr, th_stuff);
sbin/ifconfig/ifieee80211.c
2751
ie += offsetof(struct ieee80211_wme_param, params_acParams);
sbin/ipf/common/ipf_y.y
2302
n->ipn_addr.adf_len = offsetof(addrfamily_t,
sbin/ipf/common/ipf_y.y
2306
n->ipn_mask.adf_len = offsetof(addrfamily_t,
sbin/ipf/common/ipf_y.y
2313
n->ipn_addr.adf_len = offsetof(addrfamily_t,
sbin/ipf/common/ipf_y.y
2317
n->ipn_mask.adf_len = offsetof(addrfamily_t,
sbin/ipf/ipftest/ipftest.c
678
csump += offsetof(tcphdr_t, th_sum);
sbin/ipf/ipftest/ipftest.c
682
csump += offsetof(udphdr_t, uh_sum);
sbin/ipf/ipftest/ipftest.c
686
csump += offsetof(icmphdr_t, icmp_cksum);
sbin/ipf/ippool/ippool.c
1087
node->ipn_addr.adf_len = offsetof(addrfamily_t,
sbin/ipf/ippool/ippool.c
1093
node->ipn_addr.adf_len = offsetof(addrfamily_t,
sbin/ipf/ippool/ippool_y.y
809
afp->adf_len = offsetof(addrfamily_t, adf_addr);
sbin/ipf/libipf/parsewhoisline.c
111
addrp->adf_len = offsetof(addrfamily_t, adf_addr) +
sbin/ipf/libipf/parsewhoisline.c
64
addrp->adf_len = offsetof(addrfamily_t, adf_addr) +
sbin/nvmecontrol/identify.c
201
hexlength = offsetof(struct nvme_controller_data,
sbin/nvmecontrol/identify.c
225
hexlength = offsetof(struct nvme_namespace_data,
sbin/pfctl/pfctl_optimize.c
100
offsetof(struct pfctl_rule, field), \
sbin/pflowctl/pflowctl.c
135
#define _IN(_field) offsetof(struct genlmsghsdr, _field)
sbin/pflowctl/pflowctl.c
136
#define _OUT(_field) offsetof(struct pflowctl_create, _field)
sbin/pflowctl/pflowctl.c
242
#define _OUT(_field) offsetof(struct pflowctl_sockaddr, _field)
sbin/pflowctl/pflowctl.c
260
#define _IN(_field) offsetof(struct genlmsghdr, _field)
sbin/pflowctl/pflowctl.c
261
#define _OUT(_field) offsetof(struct pflowctl_get, _field)
sbin/pflowctl/pflowctl.c
83
#define _IN(_field) offsetof(struct genlmsghdr, _field)
sbin/pflowctl/pflowctl.c
84
#define _OUT(_field) offsetof(struct pflowctl_list, _field)
sbin/ping/ping.c
1048
memcpy(outpack + offsetof(struct icmp, icmp_cksum), &icp.icmp_cksum,
sbin/ping/ping.c
1057
memcpy(outpackhdr + offsetof(struct ip, ip_len), &ip.ip_len,
sbin/ping/ping.c
1061
memcpy(outpackhdr + offsetof(struct ip, ip_sum), &ip.ip_sum,
sbin/ping/ping.c
1141
icmp_data_raw_len = cc - (hlen + offsetof(struct icmp, icmp_data));
sbin/ping/ping.c
1142
icmp_data_raw = buf + hlen + offsetof(struct icmp, icmp_data);
sbin/ping/ping.c
1231
cp = (u_char*)(buf + hlen + offsetof(struct icmp,
sbin/ping/ping.c
1248
offsetof(struct icmp, icmp_data));
share/examples/scsi_target/scsi_cmds.c
255
offsetof(struct scsi_sense_data_fixed, sense_key_spec[2]) -
share/examples/scsi_target/scsi_cmds.c
256
offsetof(struct scsi_sense_data_fixed, extra_len);
share/examples/scsi_target/scsi_cmds.c
316
offsetof(struct scsi_inquiry, byte2);
share/examples/scsi_target/scsi_cmds.c
322
offsetof(struct scsi_inquiry, page_code);
share/examples/scsi_target/scsi_cmds.c
364
offsetof(struct scsi_inquiry_data, additional_length);
share/examples/scsi_target/scsi_cmds.c
399
dlen = offsetof(struct scsi_sense_data_fixed, extra_len) +
stand/i386/libi386/biossmap.c
47
#define SMAP_BUFSIZE offsetof(struct smap_buf, bufs)
stand/i386/loader/main.c
228
if (zargs->size > offsetof(struct zfs_boot_args, gelidata)) {
stand/i386/loader/main.c
319
offsetof(struct zfs_boot_args, primary_pool)) {
stand/i386/loader/main.c
54
_Static_assert(offsetof(struct bootargs, bootinfo) == BA_BOOTINFO, "BA_BOOTINFO");
stand/i386/loader/main.c
55
_Static_assert(offsetof(struct bootargs, bootflags) == BA_BOOTFLAGS, "BA_BOOTFLAGS");
stand/i386/loader/main.c
56
_Static_assert(offsetof(struct bootinfo, bi_size) == BI_SIZE, "BI_SIZE");
stand/libsa/bootp.c
285
int vsize = n - offsetof(struct bootp, bp_vend);
stand/libsa/dosfs.c
827
{offsetof(DOS_XDE, name1), sizeof(xde->name1) / 2},
stand/libsa/dosfs.c
828
{offsetof(DOS_XDE, name2), sizeof(xde->name2) / 2},
stand/libsa/dosfs.c
829
{offsetof(DOS_XDE, name3), sizeof(xde->name3) / 2}
stand/libsa/nfs.c
426
hlen = offsetof(struct repl, data[0]);
stand/libsa/zfs/zfs.c
250
fp->f_seekp = offsetof(mzap_phys_t, mz_chunk);
stand/libsa/zfs/zfs.c
253
offsetof(zap_phys_t, zap_num_leafs),
stand/libsa/zfs/zfsimpl.c
1688
o_phys = offsetof(vdev_label_t, vl_vdev_phys);
stand/libsa/zfs/zfsimpl.c
1755
offsetof(vdev_label_t, vl_be));
stand/libsa/zfs/zfsimpl.c
1853
offsetof(vdev_label_t, vl_be),
stand/libsa/zfs/zfsimpl.c
1984
offsetof(vdev_label_t, vl_vdev_phys),
stand/libsa/zfs/zfsimpl.c
568
malloc(offsetof(indirect_split_t, is_child[n]));
stand/libsa/zfs/zfsimpl.c
573
bzero(is, offsetof(indirect_split_t, is_child[n]));
stand/libsa/zfs/zfsimpl.c
610
offsetof(remap_segment_t, rs_node));
stand/libsa/zfs/zfsimpl.c
708
sizeof (indirect_split_t), offsetof(indirect_split_t, is_node));
sys/amd64/amd64/db_trace.c
148
rip = db_get_value(*fp + offsetof(struct amd64_frame, f_retaddr), 8,
sys/amd64/amd64/db_trace.c
150
rbp = db_get_value(*fp + offsetof(struct amd64_frame, f_frame), 8,
sys/amd64/amd64/db_trace.c
321
offsetof(struct amd64_frame, f_retaddr), 8, false);
sys/amd64/amd64/db_trace.c
352
callpc = db_get_value(rbp + offsetof(struct amd64_frame, f_retaddr), 8,
sys/amd64/amd64/db_trace.c
354
frame = db_get_value(rbp + offsetof(struct amd64_frame, f_frame), 8,
sys/amd64/amd64/db_trace.c
57
#define DB_OFFSET(x) (db_expr_t *)offsetof(struct trapframe, x)
sys/amd64/amd64/fpu.c
150
CTASSERT(X86_XSTATE_XCR0_OFFSET >= offsetof(struct savefpu, sv_pad) &&
sys/amd64/amd64/fpu.c
456
offsetof(struct xstate_hdr, xstate_bv));
sys/amd64/amd64/fpu.c
882
offsetof(struct xstate_hdr, xstate_bv));
sys/amd64/amd64/genassym.c
117
ASSYM(PCB_R15, offsetof(struct pcb, pcb_r15));
sys/amd64/amd64/genassym.c
118
ASSYM(PCB_R14, offsetof(struct pcb, pcb_r14));
sys/amd64/amd64/genassym.c
119
ASSYM(PCB_R13, offsetof(struct pcb, pcb_r13));
sys/amd64/amd64/genassym.c
120
ASSYM(PCB_R12, offsetof(struct pcb, pcb_r12));
sys/amd64/amd64/genassym.c
121
ASSYM(PCB_RBP, offsetof(struct pcb, pcb_rbp));
sys/amd64/amd64/genassym.c
122
ASSYM(PCB_RSP, offsetof(struct pcb, pcb_rsp));
sys/amd64/amd64/genassym.c
123
ASSYM(PCB_RBX, offsetof(struct pcb, pcb_rbx));
sys/amd64/amd64/genassym.c
124
ASSYM(PCB_RIP, offsetof(struct pcb, pcb_rip));
sys/amd64/amd64/genassym.c
125
ASSYM(PCB_FSBASE, offsetof(struct pcb, pcb_fsbase));
sys/amd64/amd64/genassym.c
126
ASSYM(PCB_GSBASE, offsetof(struct pcb, pcb_gsbase));
sys/amd64/amd64/genassym.c
127
ASSYM(PCB_KGSBASE, offsetof(struct pcb, pcb_kgsbase));
sys/amd64/amd64/genassym.c
128
ASSYM(PCB_CR0, offsetof(struct pcb, pcb_cr0));
sys/amd64/amd64/genassym.c
129
ASSYM(PCB_CR2, offsetof(struct pcb, pcb_cr2));
sys/amd64/amd64/genassym.c
130
ASSYM(PCB_CR3, offsetof(struct pcb, pcb_cr3));
sys/amd64/amd64/genassym.c
131
ASSYM(PCB_CR4, offsetof(struct pcb, pcb_cr4));
sys/amd64/amd64/genassym.c
132
ASSYM(PCB_DR0, offsetof(struct pcb, pcb_dr0));
sys/amd64/amd64/genassym.c
133
ASSYM(PCB_DR1, offsetof(struct pcb, pcb_dr1));
sys/amd64/amd64/genassym.c
134
ASSYM(PCB_DR2, offsetof(struct pcb, pcb_dr2));
sys/amd64/amd64/genassym.c
135
ASSYM(PCB_DR3, offsetof(struct pcb, pcb_dr3));
sys/amd64/amd64/genassym.c
136
ASSYM(PCB_DR6, offsetof(struct pcb, pcb_dr6));
sys/amd64/amd64/genassym.c
137
ASSYM(PCB_DR7, offsetof(struct pcb, pcb_dr7));
sys/amd64/amd64/genassym.c
138
ASSYM(PCB_GDT, offsetof(struct pcb, pcb_gdt));
sys/amd64/amd64/genassym.c
139
ASSYM(PCB_IDT, offsetof(struct pcb, pcb_idt));
sys/amd64/amd64/genassym.c
140
ASSYM(PCB_LDT, offsetof(struct pcb, pcb_ldt));
sys/amd64/amd64/genassym.c
141
ASSYM(PCB_TR, offsetof(struct pcb, pcb_tr));
sys/amd64/amd64/genassym.c
142
ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
sys/amd64/amd64/genassym.c
143
ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
sys/amd64/amd64/genassym.c
144
ASSYM(PCB_SAVED_UCR3, offsetof(struct pcb, pcb_saved_ucr3));
sys/amd64/amd64/genassym.c
145
ASSYM(PCB_TSSP, offsetof(struct pcb, pcb_tssp));
sys/amd64/amd64/genassym.c
146
ASSYM(PCB_SAVEFPU, offsetof(struct pcb, pcb_save));
sys/amd64/amd64/genassym.c
147
ASSYM(PCB_EFER, offsetof(struct pcb, pcb_efer));
sys/amd64/amd64/genassym.c
148
ASSYM(PCB_STAR, offsetof(struct pcb, pcb_star));
sys/amd64/amd64/genassym.c
149
ASSYM(PCB_LSTAR, offsetof(struct pcb, pcb_lstar));
sys/amd64/amd64/genassym.c
150
ASSYM(PCB_CSTAR, offsetof(struct pcb, pcb_cstar));
sys/amd64/amd64/genassym.c
151
ASSYM(PCB_SFMASK, offsetof(struct pcb, pcb_sfmask));
sys/amd64/amd64/genassym.c
157
ASSYM(TSS_RSP0, offsetof(struct amd64tss, tss_rsp0));
sys/amd64/amd64/genassym.c
159
ASSYM(TF_R15, offsetof(struct trapframe, tf_r15));
sys/amd64/amd64/genassym.c
160
ASSYM(TF_R14, offsetof(struct trapframe, tf_r14));
sys/amd64/amd64/genassym.c
161
ASSYM(TF_R13, offsetof(struct trapframe, tf_r13));
sys/amd64/amd64/genassym.c
162
ASSYM(TF_R12, offsetof(struct trapframe, tf_r12));
sys/amd64/amd64/genassym.c
163
ASSYM(TF_R11, offsetof(struct trapframe, tf_r11));
sys/amd64/amd64/genassym.c
164
ASSYM(TF_R10, offsetof(struct trapframe, tf_r10));
sys/amd64/amd64/genassym.c
165
ASSYM(TF_R9, offsetof(struct trapframe, tf_r9));
sys/amd64/amd64/genassym.c
166
ASSYM(TF_R8, offsetof(struct trapframe, tf_r8));
sys/amd64/amd64/genassym.c
167
ASSYM(TF_RDI, offsetof(struct trapframe, tf_rdi));
sys/amd64/amd64/genassym.c
168
ASSYM(TF_RSI, offsetof(struct trapframe, tf_rsi));
sys/amd64/amd64/genassym.c
169
ASSYM(TF_RBP, offsetof(struct trapframe, tf_rbp));
sys/amd64/amd64/genassym.c
170
ASSYM(TF_RBX, offsetof(struct trapframe, tf_rbx));
sys/amd64/amd64/genassym.c
171
ASSYM(TF_RDX, offsetof(struct trapframe, tf_rdx));
sys/amd64/amd64/genassym.c
172
ASSYM(TF_RCX, offsetof(struct trapframe, tf_rcx));
sys/amd64/amd64/genassym.c
173
ASSYM(TF_RAX, offsetof(struct trapframe, tf_rax));
sys/amd64/amd64/genassym.c
174
ASSYM(TF_TRAPNO, offsetof(struct trapframe, tf_trapno));
sys/amd64/amd64/genassym.c
175
ASSYM(TF_ADDR, offsetof(struct trapframe, tf_addr));
sys/amd64/amd64/genassym.c
176
ASSYM(TF_ERR, offsetof(struct trapframe, tf_err));
sys/amd64/amd64/genassym.c
177
ASSYM(TF_RIP, offsetof(struct trapframe, tf_rip));
sys/amd64/amd64/genassym.c
178
ASSYM(TF_CS, offsetof(struct trapframe, tf_cs));
sys/amd64/amd64/genassym.c
179
ASSYM(TF_RFLAGS, offsetof(struct trapframe, tf_rflags));
sys/amd64/amd64/genassym.c
180
ASSYM(TF_RSP, offsetof(struct trapframe, tf_rsp));
sys/amd64/amd64/genassym.c
181
ASSYM(TF_SS, offsetof(struct trapframe, tf_ss));
sys/amd64/amd64/genassym.c
182
ASSYM(TF_DS, offsetof(struct trapframe, tf_ds));
sys/amd64/amd64/genassym.c
183
ASSYM(TF_ES, offsetof(struct trapframe, tf_es));
sys/amd64/amd64/genassym.c
184
ASSYM(TF_FS, offsetof(struct trapframe, tf_fs));
sys/amd64/amd64/genassym.c
185
ASSYM(TF_GS, offsetof(struct trapframe, tf_gs));
sys/amd64/amd64/genassym.c
186
ASSYM(TF_FLAGS, offsetof(struct trapframe, tf_flags));
sys/amd64/amd64/genassym.c
190
ASSYM(PTI_RDX, offsetof(struct pti_frame, pti_rdx));
sys/amd64/amd64/genassym.c
191
ASSYM(PTI_RAX, offsetof(struct pti_frame, pti_rax));
sys/amd64/amd64/genassym.c
192
ASSYM(PTI_ERR, offsetof(struct pti_frame, pti_err));
sys/amd64/amd64/genassym.c
193
ASSYM(PTI_RIP, offsetof(struct pti_frame, pti_rip));
sys/amd64/amd64/genassym.c
194
ASSYM(PTI_CS, offsetof(struct pti_frame, pti_cs));
sys/amd64/amd64/genassym.c
195
ASSYM(PTI_RFLAGS, offsetof(struct pti_frame, pti_rflags));
sys/amd64/amd64/genassym.c
196
ASSYM(PTI_RSP, offsetof(struct pti_frame, pti_rsp));
sys/amd64/amd64/genassym.c
197
ASSYM(PTI_SS, offsetof(struct pti_frame, pti_ss));
sys/amd64/amd64/genassym.c
200
ASSYM(SIGF_HANDLER, offsetof(struct sigframe, sf_ahu.sf_handler));
sys/amd64/amd64/genassym.c
201
ASSYM(SIGF_UC, offsetof(struct sigframe, sf_uc));
sys/amd64/amd64/genassym.c
202
ASSYM(UC_EFLAGS, offsetof(ucontext_t, uc_mcontext.mc_rflags));
sys/amd64/amd64/genassym.c
203
ASSYM(UC_RDI, offsetof(ucontext_t, uc_mcontext.mc_rdi));
sys/amd64/amd64/genassym.c
204
ASSYM(UC_RSI, offsetof(ucontext_t, uc_mcontext.mc_rsi));
sys/amd64/amd64/genassym.c
205
ASSYM(UC_RDX, offsetof(ucontext_t, uc_mcontext.mc_rdx));
sys/amd64/amd64/genassym.c
206
ASSYM(UC_RCX, offsetof(ucontext_t, uc_mcontext.mc_rcx));
sys/amd64/amd64/genassym.c
207
ASSYM(UC_R8, offsetof(ucontext_t, uc_mcontext.mc_r8));
sys/amd64/amd64/genassym.c
208
ASSYM(UC_R9, offsetof(ucontext_t, uc_mcontext.mc_r9));
sys/amd64/amd64/genassym.c
209
ASSYM(UC_RAX, offsetof(ucontext_t, uc_mcontext.mc_rax));
sys/amd64/amd64/genassym.c
210
ASSYM(UC_RBX, offsetof(ucontext_t, uc_mcontext.mc_rbx));
sys/amd64/amd64/genassym.c
211
ASSYM(UC_RBP, offsetof(ucontext_t, uc_mcontext.mc_rbp));
sys/amd64/amd64/genassym.c
212
ASSYM(UC_R10, offsetof(ucontext_t, uc_mcontext.mc_r10));
sys/amd64/amd64/genassym.c
213
ASSYM(UC_R11, offsetof(ucontext_t, uc_mcontext.mc_r11));
sys/amd64/amd64/genassym.c
214
ASSYM(UC_R12, offsetof(ucontext_t, uc_mcontext.mc_r12));
sys/amd64/amd64/genassym.c
215
ASSYM(UC_R13, offsetof(ucontext_t, uc_mcontext.mc_r13));
sys/amd64/amd64/genassym.c
216
ASSYM(UC_R14, offsetof(ucontext_t, uc_mcontext.mc_r14));
sys/amd64/amd64/genassym.c
217
ASSYM(UC_R15, offsetof(ucontext_t, uc_mcontext.mc_r15));
sys/amd64/amd64/genassym.c
218
ASSYM(UC_FS, offsetof(ucontext_t, uc_mcontext.mc_fs));
sys/amd64/amd64/genassym.c
219
ASSYM(UC_GS, offsetof(ucontext_t, uc_mcontext.mc_gs));
sys/amd64/amd64/genassym.c
220
ASSYM(UC_ES, offsetof(ucontext_t, uc_mcontext.mc_es));
sys/amd64/amd64/genassym.c
221
ASSYM(UC_DS, offsetof(ucontext_t, uc_mcontext.mc_ds));
sys/amd64/amd64/genassym.c
222
ASSYM(UC_RIP, offsetof(ucontext_t, uc_mcontext.mc_rip));
sys/amd64/amd64/genassym.c
223
ASSYM(UC_CS, offsetof(ucontext_t, uc_mcontext.mc_cs));
sys/amd64/amd64/genassym.c
224
ASSYM(UC_RFLAGS, offsetof(ucontext_t, uc_mcontext.mc_rflags));
sys/amd64/amd64/genassym.c
225
ASSYM(UC_RSP, offsetof(ucontext_t, uc_mcontext.mc_rsp));
sys/amd64/amd64/genassym.c
226
ASSYM(UC_SS, offsetof(ucontext_t, uc_mcontext.mc_ss));
sys/amd64/amd64/genassym.c
227
ASSYM(UC_FSBASE, offsetof(ucontext_t, uc_mcontext.mc_fsbase));
sys/amd64/amd64/genassym.c
228
ASSYM(UC_GSBASE, offsetof(ucontext_t, uc_mcontext.mc_gsbase));
sys/amd64/amd64/genassym.c
236
ASSYM(PC_PRVSPACE, offsetof(struct pcpu, pc_prvspace));
sys/amd64/amd64/genassym.c
237
ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
sys/amd64/amd64/genassym.c
238
ASSYM(PC_FPCURTHREAD, offsetof(struct pcpu, pc_fpcurthread));
sys/amd64/amd64/genassym.c
239
ASSYM(PC_IDLETHREAD, offsetof(struct pcpu, pc_idlethread));
sys/amd64/amd64/genassym.c
240
ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
sys/amd64/amd64/genassym.c
241
ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
sys/amd64/amd64/genassym.c
242
ASSYM(PC_SCRATCH_RSP, offsetof(struct pcpu, pc_scratch_rsp));
sys/amd64/amd64/genassym.c
243
ASSYM(PC_SCRATCH_RAX, offsetof(struct pcpu, pc_scratch_rax));
sys/amd64/amd64/genassym.c
244
ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap));
sys/amd64/amd64/genassym.c
245
ASSYM(PC_TSSP, offsetof(struct pcpu, pc_tssp));
sys/amd64/amd64/genassym.c
246
ASSYM(PC_RSP0, offsetof(struct pcpu, pc_rsp0));
sys/amd64/amd64/genassym.c
247
ASSYM(PC_FS32P, offsetof(struct pcpu, pc_fs32p));
sys/amd64/amd64/genassym.c
248
ASSYM(PC_GS32P, offsetof(struct pcpu, pc_gs32p));
sys/amd64/amd64/genassym.c
249
ASSYM(PC_LDT, offsetof(struct pcpu, pc_ldt));
sys/amd64/amd64/genassym.c
250
ASSYM(PC_COMMONTSS, offsetof(struct pcpu, pc_common_tss));
sys/amd64/amd64/genassym.c
251
ASSYM(PC_TSS, offsetof(struct pcpu, pc_tss));
sys/amd64/amd64/genassym.c
252
ASSYM(PC_KCR3, offsetof(struct pcpu, pc_kcr3));
sys/amd64/amd64/genassym.c
253
ASSYM(PC_UCR3, offsetof(struct pcpu, pc_ucr3));
sys/amd64/amd64/genassym.c
254
ASSYM(PC_UCR3_LOAD_MASK, offsetof(struct pcpu, pc_ucr3_load_mask));
sys/amd64/amd64/genassym.c
255
ASSYM(PC_SAVED_UCR3, offsetof(struct pcpu, pc_saved_ucr3));
sys/amd64/amd64/genassym.c
256
ASSYM(PC_PTI_STACK, offsetof(struct pcpu, pc_pti_stack));
sys/amd64/amd64/genassym.c
258
ASSYM(PC_PTI_RSP0, offsetof(struct pcpu, pc_pti_rsp0));
sys/amd64/amd64/genassym.c
259
ASSYM(PC_IBPB_SET, offsetof(struct pcpu, pc_ibpb_set));
sys/amd64/amd64/genassym.c
260
ASSYM(PC_MDS_TMP, offsetof(struct pcpu, pc_mds_tmp));
sys/amd64/amd64/genassym.c
261
ASSYM(PC_MDS_BUF, offsetof(struct pcpu, pc_mds_buf));
sys/amd64/amd64/genassym.c
262
ASSYM(PC_MDS_BUF64, offsetof(struct pcpu, pc_mds_buf64));
sys/amd64/amd64/genassym.c
284
ASSYM(EC_EFI_STATUS, offsetof(struct efirt_callinfo, ec_efi_status));
sys/amd64/amd64/genassym.c
285
ASSYM(EC_FPTR, offsetof(struct efirt_callinfo, ec_fptr));
sys/amd64/amd64/genassym.c
286
ASSYM(EC_ARGCNT, offsetof(struct efirt_callinfo, ec_argcnt));
sys/amd64/amd64/genassym.c
287
ASSYM(EC_ARG1, offsetof(struct efirt_callinfo, ec_arg1));
sys/amd64/amd64/genassym.c
288
ASSYM(EC_ARG2, offsetof(struct efirt_callinfo, ec_arg2));
sys/amd64/amd64/genassym.c
289
ASSYM(EC_ARG3, offsetof(struct efirt_callinfo, ec_arg3));
sys/amd64/amd64/genassym.c
290
ASSYM(EC_ARG4, offsetof(struct efirt_callinfo, ec_arg4));
sys/amd64/amd64/genassym.c
291
ASSYM(EC_ARG5, offsetof(struct efirt_callinfo, ec_arg5));
sys/amd64/amd64/genassym.c
292
ASSYM(EC_RBX, offsetof(struct efirt_callinfo, ec_rbx));
sys/amd64/amd64/genassym.c
293
ASSYM(EC_RSP, offsetof(struct efirt_callinfo, ec_rsp));
sys/amd64/amd64/genassym.c
294
ASSYM(EC_RBP, offsetof(struct efirt_callinfo, ec_rbp));
sys/amd64/amd64/genassym.c
295
ASSYM(EC_R12, offsetof(struct efirt_callinfo, ec_r12));
sys/amd64/amd64/genassym.c
296
ASSYM(EC_R13, offsetof(struct efirt_callinfo, ec_r13));
sys/amd64/amd64/genassym.c
297
ASSYM(EC_R14, offsetof(struct efirt_callinfo, ec_r14));
sys/amd64/amd64/genassym.c
298
ASSYM(EC_R15, offsetof(struct efirt_callinfo, ec_r15));
sys/amd64/amd64/genassym.c
299
ASSYM(EC_RFLAGS, offsetof(struct efirt_callinfo, ec_rflags));
sys/amd64/amd64/genassym.c
302
ASSYM(KEXEC_ENTRY, offsetof(struct kexec_image, entry));
sys/amd64/amd64/genassym.c
303
ASSYM(KEXEC_SEGMENTS, offsetof(struct kexec_image, segments));
sys/amd64/amd64/genassym.c
307
ASSYM(KEXEC_SEGMENT_SIZE, offsetof(struct kexec_segment_stage, size));
sys/amd64/amd64/genassym.c
308
ASSYM(KEXEC_SEGMENT_MAP, offsetof(struct kexec_segment_stage, map_buf));
sys/amd64/amd64/genassym.c
309
ASSYM(KEXEC_SEGMENT_TARGET, offsetof(struct kexec_segment_stage, target));
sys/amd64/amd64/genassym.c
71
ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace));
sys/amd64/amd64/genassym.c
72
ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap));
sys/amd64/amd64/genassym.c
73
ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
sys/amd64/amd64/genassym.c
75
ASSYM(P_MD, offsetof(struct proc, p_md));
sys/amd64/amd64/genassym.c
76
ASSYM(MD_LDT, offsetof(struct mdproc, md_ldt));
sys/amd64/amd64/genassym.c
77
ASSYM(MD_LDT_SD, offsetof(struct mdproc, md_ldt_sd));
sys/amd64/amd64/genassym.c
79
ASSYM(MD_EFIRT_TMP, offsetof(struct mdthread, md_efirt_tmp));
sys/amd64/amd64/genassym.c
81
ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
sys/amd64/amd64/genassym.c
82
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
sys/amd64/amd64/genassym.c
83
ASSYM(TD_AST, offsetof(struct thread, td_ast));
sys/amd64/amd64/genassym.c
84
ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
sys/amd64/amd64/genassym.c
85
ASSYM(TD_PFLAGS, offsetof(struct thread, td_pflags));
sys/amd64/amd64/genassym.c
86
ASSYM(TD_PROC, offsetof(struct thread, td_proc));
sys/amd64/amd64/genassym.c
87
ASSYM(TD_FRAME, offsetof(struct thread, td_frame));
sys/amd64/amd64/genassym.c
88
ASSYM(TD_MD, offsetof(struct thread, td_md));
sys/amd64/amd64/genassym.c
89
ASSYM(TD_MD_PCB, offsetof(struct thread, td_md.md_pcb));
sys/amd64/amd64/genassym.c
90
ASSYM(TD_MD_STACK_BASE, offsetof(struct thread, td_md.md_stack_base));
sys/amd64/amd64/machdep.c
152
CTASSERT(offsetof(struct pcpu, pc_curthread) == 0);
sys/amd64/amd64/machdep.c
160
offsetof(struct pti_frame, pti_rip));
sys/amd64/amd64/pmap.c
2235
offsetof(struct pcpu, pc_kpmap_store);
sys/amd64/amd64/vm_machdep.c
83
_Static_assert(OFFSETOF_MONITORBUF == offsetof(struct pcpu, pc_monitorbuf),
sys/amd64/ia32/ia32_signal.c
264
#define UC_COPY_SIZE offsetof(struct ia32_ucontext, uc_link)
sys/amd64/include/pcpu_aux.h
58
: "i" (offsetof(struct pcpu, pc_curthread)));
sys/amd64/linux/linux_genassym.c
10
ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_uc));
sys/amd64/linux/linux_genassym.c
11
ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext));
sys/amd64/linux/linux_genassym.c
12
ASSYM(L_SC_R8, offsetof(struct l_sigcontext, sc_r8));
sys/amd64/linux/linux_genassym.c
13
ASSYM(L_SC_R9, offsetof(struct l_sigcontext, sc_r9));
sys/amd64/linux/linux_genassym.c
14
ASSYM(L_SC_R10, offsetof(struct l_sigcontext, sc_r10));
sys/amd64/linux/linux_genassym.c
15
ASSYM(L_SC_R11, offsetof(struct l_sigcontext, sc_r11));
sys/amd64/linux/linux_genassym.c
16
ASSYM(L_SC_R12, offsetof(struct l_sigcontext, sc_r12));
sys/amd64/linux/linux_genassym.c
17
ASSYM(L_SC_R13, offsetof(struct l_sigcontext, sc_r13));
sys/amd64/linux/linux_genassym.c
18
ASSYM(L_SC_R14, offsetof(struct l_sigcontext, sc_r14));
sys/amd64/linux/linux_genassym.c
19
ASSYM(L_SC_R15, offsetof(struct l_sigcontext, sc_r15));
sys/amd64/linux/linux_genassym.c
20
ASSYM(L_SC_RDI, offsetof(struct l_sigcontext, sc_rdi));
sys/amd64/linux/linux_genassym.c
21
ASSYM(L_SC_RSI, offsetof(struct l_sigcontext, sc_rsi));
sys/amd64/linux/linux_genassym.c
22
ASSYM(L_SC_RBP, offsetof(struct l_sigcontext, sc_rbp));
sys/amd64/linux/linux_genassym.c
23
ASSYM(L_SC_RBX, offsetof(struct l_sigcontext, sc_rbx));
sys/amd64/linux/linux_genassym.c
24
ASSYM(L_SC_RDX, offsetof(struct l_sigcontext, sc_rdx));
sys/amd64/linux/linux_genassym.c
25
ASSYM(L_SC_RAX, offsetof(struct l_sigcontext, sc_rax));
sys/amd64/linux/linux_genassym.c
26
ASSYM(L_SC_RCX, offsetof(struct l_sigcontext, sc_rcx));
sys/amd64/linux/linux_genassym.c
27
ASSYM(L_SC_RSP, offsetof(struct l_sigcontext, sc_rsp));
sys/amd64/linux/linux_genassym.c
28
ASSYM(L_SC_RIP, offsetof(struct l_sigcontext, sc_rip));
sys/amd64/linux/linux_genassym.c
29
ASSYM(L_SC_RFLAGS, offsetof(struct l_sigcontext, sc_rflags));
sys/amd64/linux/linux_genassym.c
30
ASSYM(L_SC_CS, offsetof(struct l_sigcontext, sc_cs));
sys/amd64/linux/linux_machdep.c
326
#define LINUX_URO(a,m) ((uintptr_t)a == offsetof(struct linux_pt_regset, m))
sys/amd64/linux/linux_machdep.c
369
.reg = offsetof(struct linux_pt_regset, gs),
sys/amd64/linux/linux_machdep.c
373
.reg = offsetof(struct linux_pt_regset, fs),
sys/amd64/linux/linux_machdep.c
377
.reg = offsetof(struct linux_pt_regset, ds),
sys/amd64/linux/linux_machdep.c
381
.reg = offsetof(struct linux_pt_regset, es),
sys/amd64/linux/linux_machdep.c
385
.reg = offsetof(struct linux_pt_regset, cs),
sys/amd64/linux/linux_machdep.c
389
.reg = offsetof(struct linux_pt_regset, ss),
sys/amd64/linux32/linux32_genassym.c
11
ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc));
sys/amd64/linux32/linux32_genassym.c
12
ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_uc));
sys/amd64/linux32/linux32_genassym.c
13
ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext));
sys/amd64/linux32/linux32_genassym.c
14
ASSYM(L_SC_GS, offsetof(struct l_sigcontext, sc_gs));
sys/amd64/linux32/linux32_genassym.c
15
ASSYM(L_SC_FS, offsetof(struct l_sigcontext, sc_fs));
sys/amd64/linux32/linux32_genassym.c
16
ASSYM(L_SC_ES, offsetof(struct l_sigcontext, sc_es));
sys/amd64/linux32/linux32_genassym.c
17
ASSYM(L_SC_DS, offsetof(struct l_sigcontext, sc_ds));
sys/amd64/linux32/linux32_genassym.c
18
ASSYM(L_SC_CS, offsetof(struct l_sigcontext, sc_cs));
sys/amd64/linux32/linux32_genassym.c
19
ASSYM(L_SC_SS, offsetof(struct l_sigcontext, sc_ss));
sys/amd64/linux32/linux32_genassym.c
20
ASSYM(L_SC_EFLAGS, offsetof(struct l_sigcontext, sc_eflags));
sys/amd64/linux32/linux32_genassym.c
21
ASSYM(L_SC_EDI, offsetof(struct l_sigcontext, sc_edi));
sys/amd64/linux32/linux32_genassym.c
22
ASSYM(L_SC_ESI, offsetof(struct l_sigcontext, sc_esi));
sys/amd64/linux32/linux32_genassym.c
23
ASSYM(L_SC_EBP, offsetof(struct l_sigcontext, sc_ebp));
sys/amd64/linux32/linux32_genassym.c
24
ASSYM(L_SC_EBX, offsetof(struct l_sigcontext, sc_ebx));
sys/amd64/linux32/linux32_genassym.c
25
ASSYM(L_SC_EDX, offsetof(struct l_sigcontext, sc_edx));
sys/amd64/linux32/linux32_genassym.c
26
ASSYM(L_SC_ECX, offsetof(struct l_sigcontext, sc_ecx));
sys/amd64/linux32/linux32_genassym.c
27
ASSYM(L_SC_EAX, offsetof(struct l_sigcontext, sc_eax));
sys/amd64/linux32/linux32_genassym.c
28
ASSYM(L_SC_EIP, offsetof(struct l_sigcontext, sc_eip));
sys/amd64/linux32/linux32_genassym.c
29
ASSYM(L_SC_ESP, offsetof(struct l_sigcontext, sc_esp_at_signal));
sys/amd64/vmm/amd/amdvi_priv.h
251
CTASSERT(offsetof(struct amdvi_ctrl, pad1)== 0x58);
sys/amd64/vmm/amd/amdvi_priv.h
252
CTASSERT(offsetof(struct amdvi_ctrl, pad2)== 0x2028);
sys/amd64/vmm/amd/amdvi_priv.h
253
CTASSERT(offsetof(struct amdvi_ctrl, pad3)== 0x2040);
sys/amd64/vmm/amd/svm_genassym.c
35
ASSYM(SCTX_RBX, offsetof(struct svm_regctx, sctx_rbx));
sys/amd64/vmm/amd/svm_genassym.c
36
ASSYM(SCTX_RCX, offsetof(struct svm_regctx, sctx_rcx));
sys/amd64/vmm/amd/svm_genassym.c
37
ASSYM(SCTX_RBP, offsetof(struct svm_regctx, sctx_rbp));
sys/amd64/vmm/amd/svm_genassym.c
38
ASSYM(SCTX_RDX, offsetof(struct svm_regctx, sctx_rdx));
sys/amd64/vmm/amd/svm_genassym.c
39
ASSYM(SCTX_RDI, offsetof(struct svm_regctx, sctx_rdi));
sys/amd64/vmm/amd/svm_genassym.c
40
ASSYM(SCTX_RSI, offsetof(struct svm_regctx, sctx_rsi));
sys/amd64/vmm/amd/svm_genassym.c
41
ASSYM(SCTX_R8, offsetof(struct svm_regctx, sctx_r8));
sys/amd64/vmm/amd/svm_genassym.c
42
ASSYM(SCTX_R9, offsetof(struct svm_regctx, sctx_r9));
sys/amd64/vmm/amd/svm_genassym.c
43
ASSYM(SCTX_R10, offsetof(struct svm_regctx, sctx_r10));
sys/amd64/vmm/amd/svm_genassym.c
44
ASSYM(SCTX_R11, offsetof(struct svm_regctx, sctx_r11));
sys/amd64/vmm/amd/svm_genassym.c
45
ASSYM(SCTX_R12, offsetof(struct svm_regctx, sctx_r12));
sys/amd64/vmm/amd/svm_genassym.c
46
ASSYM(SCTX_R13, offsetof(struct svm_regctx, sctx_r13));
sys/amd64/vmm/amd/svm_genassym.c
47
ASSYM(SCTX_R14, offsetof(struct svm_regctx, sctx_r14));
sys/amd64/vmm/amd/svm_genassym.c
48
ASSYM(SCTX_R15, offsetof(struct svm_regctx, sctx_r15));
sys/amd64/vmm/amd/vmcb.h
353
CTASSERT(offsetof(struct vmcb, state) == 0x400);
sys/amd64/vmm/intel/vmx_genassym.c
42
ASSYM(VMXCTX_GUEST_RDI, offsetof(struct vmxctx, guest_rdi));
sys/amd64/vmm/intel/vmx_genassym.c
43
ASSYM(VMXCTX_GUEST_RSI, offsetof(struct vmxctx, guest_rsi));
sys/amd64/vmm/intel/vmx_genassym.c
44
ASSYM(VMXCTX_GUEST_RDX, offsetof(struct vmxctx, guest_rdx));
sys/amd64/vmm/intel/vmx_genassym.c
45
ASSYM(VMXCTX_GUEST_RCX, offsetof(struct vmxctx, guest_rcx));
sys/amd64/vmm/intel/vmx_genassym.c
46
ASSYM(VMXCTX_GUEST_R8, offsetof(struct vmxctx, guest_r8));
sys/amd64/vmm/intel/vmx_genassym.c
47
ASSYM(VMXCTX_GUEST_R9, offsetof(struct vmxctx, guest_r9));
sys/amd64/vmm/intel/vmx_genassym.c
48
ASSYM(VMXCTX_GUEST_RAX, offsetof(struct vmxctx, guest_rax));
sys/amd64/vmm/intel/vmx_genassym.c
49
ASSYM(VMXCTX_GUEST_RBX, offsetof(struct vmxctx, guest_rbx));
sys/amd64/vmm/intel/vmx_genassym.c
50
ASSYM(VMXCTX_GUEST_RBP, offsetof(struct vmxctx, guest_rbp));
sys/amd64/vmm/intel/vmx_genassym.c
51
ASSYM(VMXCTX_GUEST_R10, offsetof(struct vmxctx, guest_r10));
sys/amd64/vmm/intel/vmx_genassym.c
52
ASSYM(VMXCTX_GUEST_R11, offsetof(struct vmxctx, guest_r11));
sys/amd64/vmm/intel/vmx_genassym.c
53
ASSYM(VMXCTX_GUEST_R12, offsetof(struct vmxctx, guest_r12));
sys/amd64/vmm/intel/vmx_genassym.c
54
ASSYM(VMXCTX_GUEST_R13, offsetof(struct vmxctx, guest_r13));
sys/amd64/vmm/intel/vmx_genassym.c
55
ASSYM(VMXCTX_GUEST_R14, offsetof(struct vmxctx, guest_r14));
sys/amd64/vmm/intel/vmx_genassym.c
56
ASSYM(VMXCTX_GUEST_R15, offsetof(struct vmxctx, guest_r15));
sys/amd64/vmm/intel/vmx_genassym.c
57
ASSYM(VMXCTX_GUEST_CR2, offsetof(struct vmxctx, guest_cr2));
sys/amd64/vmm/intel/vmx_genassym.c
59
ASSYM(VMXCTX_HOST_R15, offsetof(struct vmxctx, host_r15));
sys/amd64/vmm/intel/vmx_genassym.c
60
ASSYM(VMXCTX_HOST_R14, offsetof(struct vmxctx, host_r14));
sys/amd64/vmm/intel/vmx_genassym.c
61
ASSYM(VMXCTX_HOST_R13, offsetof(struct vmxctx, host_r13));
sys/amd64/vmm/intel/vmx_genassym.c
62
ASSYM(VMXCTX_HOST_R12, offsetof(struct vmxctx, host_r12));
sys/amd64/vmm/intel/vmx_genassym.c
63
ASSYM(VMXCTX_HOST_RBP, offsetof(struct vmxctx, host_rbp));
sys/amd64/vmm/intel/vmx_genassym.c
64
ASSYM(VMXCTX_HOST_RSP, offsetof(struct vmxctx, host_rsp));
sys/amd64/vmm/intel/vmx_genassym.c
65
ASSYM(VMXCTX_HOST_RBX, offsetof(struct vmxctx, host_rbx));
sys/amd64/vmm/intel/vmx_genassym.c
67
ASSYM(VMXCTX_INST_FAIL_STATUS, offsetof(struct vmxctx, inst_fail_status));
sys/amd64/vmm/intel/vmx_genassym.c
75
ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
sys/amd64/vmm/intel/vmx_genassym.c
77
ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
sys/amd64/vmm/intel/vmx_genassym.c
78
ASSYM(PM_EPTGEN, offsetof(struct pmap, pm_eptgen));
sys/amd64/vmm/io/vrtc.c
74
CTASSERT(offsetof(struct rtcdev, century) == RTC_CENTURY);
sys/amd64/vmm/io/vrtc.c
797
if (offset < offsetof(struct rtcdev, nvram[0]) ||
sys/amd64/vmm/vmm_instruction_emul.c
2000
offsetof(struct vie, inst) < offsetof(struct vie, vie_startzero) &&
sys/amd64/vmm/vmm_instruction_emul.c
2001
offsetof(struct vie, num_valid) < offsetof(struct vie, vie_startzero),
sys/amd64/vmm/vmm_instruction_emul.c
2004
memset((char *)vie + offsetof(struct vie, vie_startzero), 0,
sys/amd64/vmm/vmm_instruction_emul.c
2005
sizeof(*vie) - offsetof(struct vie, vie_startzero));
sys/arm/arm/db_interface.c
73
#define DB_OFFSET(x) (db_expr_t *)offsetof(struct trapframe, x)
sys/arm/arm/genassym.c
100
ASSYM(SIGF_UC, offsetof(struct sigframe, sf_uc));
sys/arm/arm/genassym.c
103
ASSYM(PCB_VFPSTATE, offsetof(struct pcb, pcb_vfpstate));
sys/arm/arm/genassym.c
106
ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap));
sys/arm/arm/genassym.c
107
ASSYM(PC_BP_HARDEN_KIND, offsetof(struct pcpu, pc_bp_harden_kind));
sys/arm/arm/genassym.c
121
ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace));
sys/arm/arm/genassym.c
122
ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap));
sys/arm/arm/genassym.c
123
ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
sys/arm/arm/genassym.c
124
ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
sys/arm/arm/genassym.c
127
ASSYM(DCACHE_LINE_SIZE, offsetof(struct cpuinfo, dcache_line_size));
sys/arm/arm/genassym.c
128
ASSYM(DCACHE_LINE_MASK, offsetof(struct cpuinfo, dcache_line_mask));
sys/arm/arm/genassym.c
129
ASSYM(ICACHE_LINE_SIZE, offsetof(struct cpuinfo, icache_line_size));
sys/arm/arm/genassym.c
130
ASSYM(ICACHE_LINE_MASK, offsetof(struct cpuinfo, icache_line_mask));
sys/arm/arm/genassym.c
62
ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
sys/arm/arm/genassym.c
63
ASSYM(PCB_PAGEDIR, offsetof(struct pcb, pcb_pagedir));
sys/arm/arm/genassym.c
64
ASSYM(PCB_R4, offsetof(struct pcb, pcb_regs.sf_r4));
sys/arm/arm/genassym.c
65
ASSYM(PCB_R5, offsetof(struct pcb, pcb_regs.sf_r5));
sys/arm/arm/genassym.c
66
ASSYM(PCB_R6, offsetof(struct pcb, pcb_regs.sf_r6));
sys/arm/arm/genassym.c
67
ASSYM(PCB_R7, offsetof(struct pcb, pcb_regs.sf_r7));
sys/arm/arm/genassym.c
68
ASSYM(PCB_R8, offsetof(struct pcb, pcb_regs.sf_r8));
sys/arm/arm/genassym.c
69
ASSYM(PCB_R9, offsetof(struct pcb, pcb_regs.sf_r9));
sys/arm/arm/genassym.c
70
ASSYM(PCB_R10, offsetof(struct pcb, pcb_regs.sf_r10));
sys/arm/arm/genassym.c
71
ASSYM(PCB_R11, offsetof(struct pcb, pcb_regs.sf_r11));
sys/arm/arm/genassym.c
72
ASSYM(PCB_R12, offsetof(struct pcb, pcb_regs.sf_r12));
sys/arm/arm/genassym.c
73
ASSYM(PCB_SP, offsetof(struct pcb, pcb_regs.sf_sp));
sys/arm/arm/genassym.c
74
ASSYM(PCB_LR, offsetof(struct pcb, pcb_regs.sf_lr));
sys/arm/arm/genassym.c
75
ASSYM(PCB_PC, offsetof(struct pcb, pcb_regs.sf_pc));
sys/arm/arm/genassym.c
76
ASSYM(PCB_TPIDRURW, offsetof(struct pcb, pcb_regs.sf_tpidrurw));
sys/arm/arm/genassym.c
78
ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
sys/arm/arm/genassym.c
79
ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
sys/arm/arm/genassym.c
80
ASSYM(M_LEN, offsetof(struct mbuf, m_len));
sys/arm/arm/genassym.c
81
ASSYM(M_DATA, offsetof(struct mbuf, m_data));
sys/arm/arm/genassym.c
82
ASSYM(M_NEXT, offsetof(struct mbuf, m_next));
sys/arm/arm/genassym.c
83
ASSYM(IP_SRC, offsetof(struct ip, ip_src));
sys/arm/arm/genassym.c
84
ASSYM(IP_DST, offsetof(struct ip, ip_dst));
sys/arm/arm/genassym.c
86
ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
sys/arm/arm/genassym.c
87
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
sys/arm/arm/genassym.c
88
ASSYM(TD_AST, offsetof(struct thread, td_ast));
sys/arm/arm/genassym.c
89
ASSYM(TD_PROC, offsetof(struct thread, td_proc));
sys/arm/arm/genassym.c
90
ASSYM(TD_MD, offsetof(struct thread, td_md));
sys/arm/arm/genassym.c
91
ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
sys/arm/arm/genassym.c
93
ASSYM(TF_SPSR, offsetof(struct trapframe, tf_spsr));
sys/arm/arm/genassym.c
94
ASSYM(TF_R0, offsetof(struct trapframe, tf_r0));
sys/arm/arm/genassym.c
95
ASSYM(TF_R1, offsetof(struct trapframe, tf_r1));
sys/arm/arm/genassym.c
96
ASSYM(TF_PC, offsetof(struct trapframe, tf_pc));
sys/arm/arm/genassym.c
97
ASSYM(P_PID, offsetof(struct proc, p_pid));
sys/arm/arm/genassym.c
98
ASSYM(P_FLAG, offsetof(struct proc, p_flag));
sys/arm64/arm64/db_interface.c
63
#define DB_OFFSET(x) (db_expr_t *)offsetof(struct trapframe, x)
sys/arm64/arm64/freebsd32_machdep.c
258
#define UC_COPY_SIZE offsetof(ucontext32_t, uc_link)
sys/arm64/arm64/freebsd32_machdep.c
65
#define UC32_COPY_SIZE offsetof(ucontext32_t, uc_link)
sys/arm64/arm64/genassym.c
42
ASSYM(BP_MODULEP, offsetof(struct arm64_bootparams, modulep));
sys/arm64/arm64/genassym.c
43
ASSYM(BP_KERN_STACK, offsetof(struct arm64_bootparams, kern_stack));
sys/arm64/arm64/genassym.c
44
ASSYM(BP_KERN_TTBR0, offsetof(struct arm64_bootparams, kern_ttbr0));
sys/arm64/arm64/genassym.c
45
ASSYM(BP_BOOT_EL, offsetof(struct arm64_bootparams, boot_el));
sys/arm64/arm64/genassym.c
47
ASSYM(EC_EFI_STATUS, offsetof(struct efirt_callinfo, ec_efi_status));
sys/arm64/arm64/genassym.c
48
ASSYM(EC_FPTR, offsetof(struct efirt_callinfo, ec_fptr));
sys/arm64/arm64/genassym.c
49
ASSYM(EC_ARG1, offsetof(struct efirt_callinfo, ec_arg1));
sys/arm64/arm64/genassym.c
52
ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
sys/arm64/arm64/genassym.c
53
ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
sys/arm64/arm64/genassym.c
54
ASSYM(PC_SSBD, offsetof(struct pcpu, pc_ssbd));
sys/arm64/arm64/genassym.c
59
ASSYM(PCB_REGS, offsetof(struct pcb, pcb_x));
sys/arm64/arm64/genassym.c
61
ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp));
sys/arm64/arm64/genassym.c
62
ASSYM(PCB_TPIDRRO, offsetof(struct pcb, pcb_tpidrro_el0));
sys/arm64/arm64/genassym.c
63
ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
sys/arm64/arm64/genassym.c
64
ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
sys/arm64/arm64/genassym.c
66
ASSYM(P_PID, offsetof(struct proc, p_pid));
sys/arm64/arm64/genassym.c
67
ASSYM(P_MD_TCR, offsetof(struct proc, p_md.md_tcr));
sys/arm64/arm64/genassym.c
69
ASSYM(SF_UC, offsetof(struct sigframe, sf_uc));
sys/arm64/arm64/genassym.c
71
ASSYM(TD_PROC, offsetof(struct thread, td_proc));
sys/arm64/arm64/genassym.c
72
ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
sys/arm64/arm64/genassym.c
73
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
sys/arm64/arm64/genassym.c
74
ASSYM(TD_AST, offsetof(struct thread, td_ast));
sys/arm64/arm64/genassym.c
75
ASSYM(TD_FRAME, offsetof(struct thread, td_frame));
sys/arm64/arm64/genassym.c
76
ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
sys/arm64/arm64/genassym.c
77
ASSYM(TD_MD_CANARY, offsetof(struct thread, td_md.md_canary));
sys/arm64/arm64/genassym.c
78
ASSYM(TD_MD_EFIRT_TMP, offsetof(struct thread, td_md.md_efirt_tmp));
sys/arm64/arm64/genassym.c
81
ASSYM(TF_SP, offsetof(struct trapframe, tf_sp));
sys/arm64/arm64/genassym.c
82
ASSYM(TF_LR, offsetof(struct trapframe, tf_lr));
sys/arm64/arm64/genassym.c
83
ASSYM(TF_ELR, offsetof(struct trapframe, tf_elr));
sys/arm64/arm64/genassym.c
84
ASSYM(TF_SPSR, offsetof(struct trapframe, tf_spsr));
sys/arm64/arm64/genassym.c
85
ASSYM(TF_ESR, offsetof(struct trapframe, tf_esr));
sys/arm64/arm64/genassym.c
86
ASSYM(TF_X, offsetof(struct trapframe, tf_x));
sys/arm64/arm64/machdep.c
109
_Static_assert(offsetof(struct pcb, pcb_fpusaved) == 136,
sys/arm64/arm64/machdep.c
111
_Static_assert(offsetof(struct pcb, pcb_fpustate) == 192,
sys/cam/ata/ata_xpt.c
1170
+ offsetof(struct scsi_inquiry_data, additional_length) + 1;
sys/cam/ctl/ctl.c
10168
data_len = offsetof(struct scsi_inquiry_data, vendor_specific1);
sys/cam/ctl/ctl.c
10213
(offsetof(struct scsi_inquiry_data, additional_length) + 1);
sys/cam/ctl/ctl.c
1116
if (len < offsetof(struct ctl_ha_msg_lun, data[0])) {
sys/cam/ctl/ctl.c
1118
__func__, len, offsetof(struct ctl_ha_msg_lun, data[0]));
sys/cam/ctl/ctl.c
1123
if (len < offsetof(struct ctl_ha_msg_lun, data[i])) {
sys/cam/ctl/ctl.c
1125
__func__, len, offsetof(struct ctl_ha_msg_lun, data[i]));
sys/cam/ctl/ctl.c
1200
if (len < offsetof(struct ctl_ha_msg_port, data[0])) {
sys/cam/ctl/ctl.c
1202
__func__, len, offsetof(struct ctl_ha_msg_port, data[0]));
sys/cam/ctl/ctl.c
1209
if (len < offsetof(struct ctl_ha_msg_port, data[i])) {
sys/cam/ctl/ctl.c
1211
__func__, len, offsetof(struct ctl_ha_msg_port, data[i]));
sys/cam/ctl/ctl.c
1329
if (len < offsetof(struct ctl_ha_msg_iid, data[0])) {
sys/cam/ctl/ctl.c
1331
__func__, len, offsetof(struct ctl_ha_msg_iid, data[0]));
sys/cam/ctl/ctl.c
1336
if (len < offsetof(struct ctl_ha_msg_iid, data[i])) {
sys/cam/ctl/ctl.c
1338
__func__, len, offsetof(struct ctl_ha_msg_iid, data[i]));
sys/cam/ctl/ctl.c
1407
if (len < offsetof(struct ctl_ha_msg_mode, data[0])) {
sys/cam/ctl/ctl.c
1409
__func__, len, offsetof(struct ctl_ha_msg_mode, data[0]));
sys/cam/ctl/ctl.c
1414
if (len < offsetof(struct ctl_ha_msg_mode, data[i])) {
sys/cam/ctl/ctl.c
1416
__func__, len, offsetof(struct ctl_ha_msg_mode, data[i]));
sys/cam/scsi/scsi_all.c
3762
desc_len = sense_len -offsetof(struct scsi_sense_data_desc, sense_desc);
sys/cam/scsi/scsi_all.c
3870
space = *sense_len - offsetof(struct scsi_sense_data_desc, sense_desc);
sys/cam/scsi/scsi_all.c
3904
(offsetof(struct scsi_sense_sks, length) + 1);
sys/cam/scsi/scsi_all.c
3921
(offsetof(struct scsi_sense_command, length) + 1);
sys/cam/scsi/scsi_all.c
3939
(offsetof(struct scsi_sense_info, length) + 1);
sys/cam/scsi/scsi_all.c
3957
(offsetof(struct scsi_sense_fru, length) + 1);
sys/cam/scsi/scsi_all.c
3974
(offsetof(struct scsi_sense_stream, length) + 1);
sys/cam/scsi/scsi_all.c
3989
*sense_len = offsetof(struct scsi_sense_data_desc, extra_len) + 1 +
sys/cam/scsi/scsi_all.c
4092
*sense_len = offsetof(struct scsi_sense_data_fixed, extra_len) + 1 +
sys/cam/scsi/scsi_all.h
2850
((length >= offsetof(struct scsi_vpd_block_device_characteristics, \
sys/cam/scsi/scsi_all.h
3336
((length >= (offsetof(struct scsi_sense_data_fixed, field) + \
sys/cam/scsi/scsi_all.h
3339
((((offsetof(struct scsi_sense_data_fixed, field) + \
sys/cam/scsi/scsi_all.h
3341
(offsetof(struct scsi_sense_data_fixed, extra_len) + \
sys/cam/scsi/scsi_all.h
3367
((length >= (offsetof(struct scsi_sense_data_desc, field) + \
sys/cam/scsi/scsi_ch.c
1367
(offsetof(struct changer_element_status,ces_scsi_lun)+1)):
sys/cam/scsi/scsi_ch.c
1381
avail* (offsetof(struct changer_element_status,
sys/cam/scsi/scsi_da.c
5478
offsetof(struct scsi_caching_page, flags1)) {
sys/cam/scsi/scsi_enc_ses.c
1302
if (length + offsetof(struct scsi_diag_page, params) > xfer_len) {
sys/cam/scsi/scsi_enc_ses.c
890
offsetof(struct scsi_vpd_id_descriptor, identifier)
sys/cam/scsi/scsi_ses.h
96
+ offsetof(struct ses_page_hdr, gen_code));
sys/cam/scsi/scsi_sg.c
868
offsetof(struct sg_header, result), uio);
sys/cam/scsi/scsi_targ_bh.c
119
/*extra_len*/offsetof(struct scsi_sense_data_fixed, fru)
sys/cam/scsi/scsi_targ_bh.c
120
- offsetof(struct scsi_sense_data_fixed, extra_len),
sys/cam/scsi/scsi_targ_bh.c
126
static const int request_sense_size = offsetof(struct scsi_sense_data_fixed, fru);
sys/cam/scsi/scsi_target.c
913
offsetof(struct ccb_hdr, periph_priv) -
sys/cam/scsi/scsi_target.c
914
offsetof(struct ccb_hdr, retry_count));
sys/cddl/boot/zfs/zfsimpl.h
525
offsetof(vdev_label_t, vl_uberblock[(n) << VDEV_UBERBLOCK_SHIFT(vd)])
sys/cddl/boot/zfs/zfssubr.c
1232
rm = malloc(offsetof(raidz_map_t, rm_col[scols]));
sys/cddl/dev/dtrace/aarch64/dtrace_isa.c
137
offsetof(struct unwind_state, pc)));
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
144
offsetof(struct amd64_frame, f_retaddr)));
sys/cddl/dev/dtrace/amd64/dtrace_isa.c
340
offsetof(struct amd64_frame, f_retaddr)));
sys/cddl/dev/dtrace/dtrace_ioctl.c
179
dest += offsetof(dtrace_aggdesc_t, dtagd_rec[0]);
sys/cddl/dev/dtrace/dtrace_ioctl.c
509
dest += offsetof(dtrace_eprobedesc_t, dtepd_rec[0]);
sys/cddl/dev/dtrace/dtrace_load.c
107
dtrace_bymod = dtrace_hash_create(offsetof(dtrace_probe_t, dtpr_mod),
sys/cddl/dev/dtrace/dtrace_load.c
108
offsetof(dtrace_probe_t, dtpr_nextmod),
sys/cddl/dev/dtrace/dtrace_load.c
109
offsetof(dtrace_probe_t, dtpr_prevmod));
sys/cddl/dev/dtrace/dtrace_load.c
111
dtrace_byfunc = dtrace_hash_create(offsetof(dtrace_probe_t, dtpr_func),
sys/cddl/dev/dtrace/dtrace_load.c
112
offsetof(dtrace_probe_t, dtpr_nextfunc),
sys/cddl/dev/dtrace/dtrace_load.c
113
offsetof(dtrace_probe_t, dtpr_prevfunc));
sys/cddl/dev/dtrace/dtrace_load.c
115
dtrace_byname = dtrace_hash_create(offsetof(dtrace_probe_t, dtpr_name),
sys/cddl/dev/dtrace/dtrace_load.c
116
offsetof(dtrace_probe_t, dtpr_nextname),
sys/cddl/dev/dtrace/dtrace_load.c
117
offsetof(dtrace_probe_t, dtpr_prevname));
sys/cddl/dev/dtrace/i386/dtrace_isa.c
188
offsetof(struct i386_frame, f_retaddr)));
sys/cddl/dev/dtrace/i386/dtrace_isa.c
401
offsetof(struct i386_frame, f_retaddr)));
sys/cddl/dev/kinst/amd64/kinst_isa.c
63
return (offsetof(struct trapframe, tf_ ## reg) / \
sys/cddl/dev/kinst/riscv/kinst_isa.c
20
(offsetof(struct trapframe, tf_ ## reg) / sizeof(register_t))
sys/compat/freebsd32/freebsd32_misc.c
1067
if (uap->data < offsetof(struct ptrace_lwpinfo32, pl_siginfo) +
sys/compat/freebsd32/freebsd32_misc.c
1069
data = offsetof(struct ptrace_lwpinfo, pl_siginfo);
sys/compat/freebsd32/freebsd32_misc.c
1227
offsetof(struct ptrace_sc_remote32, pscr_ret),
sys/compat/freebsd32/freebsd32_misc.c
2510
sizeof(*out) - offsetof(struct freebsd11_stat32,
sys/compat/ia32/ia32_genassym.c
10
ASSYM(IA32_SIGF_HANDLER, offsetof(struct ia32_sigframe, sf_ah));
sys/compat/ia32/ia32_genassym.c
11
ASSYM(IA32_SIGF_UC, offsetof(struct ia32_sigframe, sf_uc));
sys/compat/ia32/ia32_genassym.c
12
ASSYM(IA32_UC_GS, offsetof(struct ia32_ucontext, uc_mcontext.mc_gs));
sys/compat/ia32/ia32_genassym.c
13
ASSYM(IA32_UC_FS, offsetof(struct ia32_ucontext, uc_mcontext.mc_fs));
sys/compat/ia32/ia32_genassym.c
14
ASSYM(IA32_UC_ES, offsetof(struct ia32_ucontext, uc_mcontext.mc_es));
sys/compat/ia32/ia32_genassym.c
15
ASSYM(IA32_UC_DS, offsetof(struct ia32_ucontext, uc_mcontext.mc_ds));
sys/compat/ia32/ia32_genassym.c
16
ASSYM(IA32_UC_EDI, offsetof(struct ia32_ucontext, uc_mcontext.mc_edi));
sys/compat/ia32/ia32_genassym.c
17
ASSYM(IA32_UC_ESI, offsetof(struct ia32_ucontext, uc_mcontext.mc_esi));
sys/compat/ia32/ia32_genassym.c
18
ASSYM(IA32_UC_EBP, offsetof(struct ia32_ucontext, uc_mcontext.mc_ebp));
sys/compat/ia32/ia32_genassym.c
19
ASSYM(IA32_UC_EBX, offsetof(struct ia32_ucontext, uc_mcontext.mc_ebx));
sys/compat/ia32/ia32_genassym.c
20
ASSYM(IA32_UC_EDX, offsetof(struct ia32_ucontext, uc_mcontext.mc_edx));
sys/compat/ia32/ia32_genassym.c
21
ASSYM(IA32_UC_ECX, offsetof(struct ia32_ucontext, uc_mcontext.mc_ecx));
sys/compat/ia32/ia32_genassym.c
22
ASSYM(IA32_UC_EAX, offsetof(struct ia32_ucontext, uc_mcontext.mc_eax));
sys/compat/ia32/ia32_genassym.c
23
ASSYM(IA32_UC_EIP, offsetof(struct ia32_ucontext, uc_mcontext.mc_eip));
sys/compat/ia32/ia32_genassym.c
24
ASSYM(IA32_UC_CS, offsetof(struct ia32_ucontext, uc_mcontext.mc_cs));
sys/compat/ia32/ia32_genassym.c
25
ASSYM(IA32_UC_EFLAGS, offsetof(struct ia32_ucontext, uc_mcontext.mc_eflags));
sys/compat/ia32/ia32_genassym.c
26
ASSYM(IA32_UC_ESP, offsetof(struct ia32_ucontext, uc_mcontext.mc_esp));
sys/compat/ia32/ia32_genassym.c
27
ASSYM(IA32_UC_SS, offsetof(struct ia32_ucontext, uc_mcontext.mc_ss));
sys/compat/ia32/ia32_genassym.c
28
ASSYM(IA32_UC_FSBASE, offsetof(struct ia32_ucontext, uc_mcontext.mc_fsbase));
sys/compat/ia32/ia32_genassym.c
29
ASSYM(IA32_UC_GSBASE, offsetof(struct ia32_ucontext, uc_mcontext.mc_gsbase));
sys/compat/ia32/ia32_genassym.c
31
ASSYM(IA32_SIGF_SC, offsetof(struct ia32_osigframe, sf_siginfo.si_sc));
sys/compat/ia32/ia32_genassym.c
34
ASSYM(IA32_SIGF_UC4, offsetof(struct ia32_freebsd4_sigframe, sf_uc));
sys/compat/ia32/ia32_genassym.c
35
ASSYM(IA32_UC4_GS, offsetof(struct ia32_freebsd4_ucontext, uc_mcontext.mc_gs));
sys/compat/ia32/ia32_genassym.c
36
ASSYM(IA32_UC4_FS, offsetof(struct ia32_freebsd4_ucontext, uc_mcontext.mc_fs));
sys/compat/ia32/ia32_genassym.c
37
ASSYM(IA32_UC4_ES, offsetof(struct ia32_freebsd4_ucontext, uc_mcontext.mc_es));
sys/compat/ia32/ia32_genassym.c
38
ASSYM(IA32_UC4_DS, offsetof(struct ia32_freebsd4_ucontext, uc_mcontext.mc_ds));
sys/compat/linux/linux.c
398
hdrlen = offsetof(struct sockaddr_un, sun_path);
sys/compat/linux/linux.c
54
_Static_assert(offsetof(struct sockaddr, sa_data) ==
sys/compat/linux/linux.c
55
offsetof(struct l_sockaddr, sa_data), "Linux struct sockaddr layout");
sys/compat/linux/linux_file.c
395
roundup(offsetof(struct l_dirent, d_name) + (namlen) + 2, sizeof(l_ulong))
sys/compat/linux/linux_file.c
398
roundup(offsetof(struct l_dirent64, d_name) + (namlen) + 1, \
sys/compat/linux/linux_file.c
495
linuxreclen - offsetof(struct l_dirent, d_name)-1);
sys/compat/linux/linux_file.c
570
linuxreclen - offsetof(struct l_dirent64, d_name));
sys/compat/linux/linux_file.c
626
linuxreclen - offsetof(struct l_dirent, d_name));
sys/compat/linux/linux_ioctl.c
2387
sizeof(lifr)) - offsetof(struct l_ifreq, ifr_ifru);
sys/compat/linux/linux_netlink.c
98
offsetof(struct ifaddrmsg, ifa_family) + sizeof(ifam->ifa_family))
sys/compat/linux/linux_socket.c
75
_Static_assert(offsetof(struct l_ifreq, ifr_ifru) ==
sys/compat/linux/linux_socket.c
76
offsetof(struct ifreq, ifr_ifru),
sys/compat/linux/linux_socket.c
78
_Static_assert(offsetof(struct l_ifreq, ifr_index) ==
sys/compat/linux/linux_socket.c
79
offsetof(struct ifreq, ifr_index),
sys/compat/linux/linux_socket.c
81
_Static_assert(offsetof(struct l_ifreq, ifr_name) ==
sys/compat/linux/linux_socket.c
82
offsetof(struct ifreq, ifr_name),
sys/compat/linuxkpi/common/include/linux/container_of.h
41
(type *)((uintptr_t)__p - offsetof(type, member)); \
sys/compat/linuxkpi/common/include/linux/iosys-map.h
152
iosys_map_rd(_ism, (_off) + offsetof(_type, _field), \
sys/compat/linuxkpi/common/include/linux/iosys-map.h
157
iosys_map_wr(_ism, (_off) + offsetof(_type, _field), \
sys/compat/linuxkpi/common/include/linux/kernel.h
272
(offsetof(t, m) + sizeof((((t *)0)->m)))
sys/compat/linuxkpi/common/include/linux/rcupdate.h
90
CTASSERT(offsetof(__typeof(*(ptr)), rcu_head) < \
sys/compat/linuxkpi/common/include/linux/rcupdate.h
93
offsetof(__typeof(*(ptr)), rcu_head)); \
sys/compat/linuxkpi/common/include/linux/string.h
326
size_t _o = offsetof(typeof(*(ptr)), smember); \
sys/compat/linuxkpi/common/include/net/mac80211.h
2254
offsetof(struct ieee80211_tx_info, status.ack_signal));
sys/compat/linuxkpi/common/src/linux_page.c
206
CTASSERT(offsetof(struct folio, page) == 0);
sys/compat/linuxkpi/common/src/linux_rcu.c
107
CTASSERT(offsetof(struct linux_epoch_record, epoch_record) == 0);
sys/dev/aac/aac.c
1862
offsetof(struct aac_common, ac_fibs);
sys/dev/aac/aac.c
1868
offsetof(struct aac_common, ac_printf);
sys/dev/aac/aac.c
1910
qoffset = offsetof(struct aac_common, ac_qbuf) + AAC_QUEUE_ALIGN;
sys/dev/aac/aac.c
1984
offsetof(struct aac_common, ac_init), 0, 0, 0,
sys/dev/aac/aac.c
2088
offsetof(struct aac_common,
sys/dev/aacraid/aacraid.c
1762
offsetof(struct aac_common, ac_fibs);
sys/dev/aacraid/aacraid.c
1768
offsetof(struct aac_common, ac_printf);
sys/dev/aacraid/aacraid.c
1798
sc->aac_common_busaddr + offsetof(struct aac_common, ac_host_rrq);
sys/dev/aacraid/aacraid.c
1824
offsetof(struct aac_common, ac_init), 0, 0, 0,
sys/dev/aacraid/aacraid.c
2140
offsetof(struct aac_common, ac_sync_fib);
sys/dev/acpica/acpi_thermal.c
282
offsetof(struct acpi_tz_softc, tz_zone.psv), acpi_tz_temp_sysctl, "IK",
sys/dev/acpica/acpi_thermal.c
286
offsetof(struct acpi_tz_softc, tz_zone.cr3), acpi_tz_temp_sysctl, "IK",
sys/dev/acpica/acpi_thermal.c
290
offsetof(struct acpi_tz_softc, tz_zone.hot), acpi_tz_temp_sysctl, "IK",
sys/dev/acpica/acpi_thermal.c
294
offsetof(struct acpi_tz_softc, tz_zone.crt), acpi_tz_temp_sysctl, "IK",
sys/dev/acpica/acpi_thermal.c
302
offsetof(struct acpi_tz_softc, tz_zone.tc1), acpi_tz_passive_sysctl,
sys/dev/acpica/acpi_thermal.c
306
offsetof(struct acpi_tz_softc, tz_zone.tc2), acpi_tz_passive_sysctl,
sys/dev/acpica/acpi_thermal.c
310
offsetof(struct acpi_tz_softc, tz_zone.tsp), acpi_tz_passive_sysctl,
sys/dev/aic7xxx/aic79xx.c
6604
ahd_outb(ahd, LUNPTR, offsetof(struct hardware_scb,
sys/dev/aic7xxx/aic79xx.c
6607
ahd_outb(ahd, LUNPTR, offsetof(struct hardware_scb, lun));
sys/dev/aic7xxx/aic79xx.c
6609
ahd_outb(ahd, CMDLENPTR, offsetof(struct hardware_scb, cdb_len));
sys/dev/aic7xxx/aic79xx.c
6610
ahd_outb(ahd, ATTRPTR, offsetof(struct hardware_scb, task_attribute));
sys/dev/aic7xxx/aic79xx.c
6611
ahd_outb(ahd, FLAGPTR, offsetof(struct hardware_scb, task_management));
sys/dev/aic7xxx/aic79xx.c
6612
ahd_outb(ahd, CMDPTR, offsetof(struct hardware_scb,
sys/dev/aic7xxx/aic79xx.c
6615
offsetof(struct hardware_scb, next_hscb_busaddr));
sys/dev/aic7xxx/aic79xx.c
6617
ahd_outb(ahd, ABRTBYTEPTR, offsetof(struct hardware_scb, control));
sys/dev/aic7xxx/aic79xx.c
6627
AUSCBPTR_EN | offsetof(struct hardware_scb, tag));
sys/dev/aic7xxx/aic79xx.c
9643
maxaddr = offsetof(struct vpd_config, vpd_checksum);
sys/dev/aic7xxx/aic79xx.c
9645
for (i = offsetof(struct vpd_config, resource_type); i < maxaddr; i++)
sys/dev/aic7xxx/aic79xx.c
9652
maxaddr = offsetof(struct vpd_config, checksum);
sys/dev/aic7xxx/aic79xx.c
9653
for (i = offsetof(struct vpd_config, default_target_flags);
sys/dev/aic7xxx/aic79xx_osm.h
88
#ifndef offsetof
sys/dev/aic7xxx/aic7xxx_inline.h
432
+ offsetof(struct hardware_scb, cdb32));
sys/dev/aic7xxx/aic7xxx_osm.h
87
#ifndef offsetof
sys/dev/aq/aq_fw2x.c
241
hw->mbox_addr + offsetof(fw2x_mailbox, caps),
sys/dev/aq/aq_fw2x.c
482
hw->mbox_addr + offsetof(fw2x_mailbox, msm),
sys/dev/arcmsr/arcmsr.c
1744
devicemap = offsetof(struct HBA_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/arcmsr/arcmsr.c
1753
devicemap = offsetof(struct HBB_RWBUFFER, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/arcmsr/arcmsr.c
1762
devicemap = offsetof(struct HBC_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/arcmsr/arcmsr.c
1770
devicemap = offsetof(struct HBD_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/arcmsr/arcmsr.c
1778
devicemap = offsetof(struct HBE_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/arcmsr/arcmsr.c
3765
size_t iop_firm_model = offsetof(struct HBA_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/
sys/dev/arcmsr/arcmsr.c
3766
size_t iop_firm_version = offsetof(struct HBA_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_VERS_OFFSET]); /*firm_version,17,68-83*/
sys/dev/arcmsr/arcmsr.c
3767
size_t iop_device_map = offsetof(struct HBA_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/arcmsr/arcmsr.c
3815
size_t iop_firm_model = offsetof(struct HBB_RWBUFFER, msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/
sys/dev/arcmsr/arcmsr.c
3816
size_t iop_firm_version = offsetof(struct HBB_RWBUFFER, msgcode_rwbuffer[ARCMSR_FW_VERS_OFFSET]); /*firm_version,17,68-83*/
sys/dev/arcmsr/arcmsr.c
3817
size_t iop_device_map = offsetof(struct HBB_RWBUFFER, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/arcmsr/arcmsr.c
3864
size_t iop_firm_model = offsetof(struct HBC_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/
sys/dev/arcmsr/arcmsr.c
3865
size_t iop_firm_version = offsetof(struct HBC_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_VERS_OFFSET]); /*firm_version,17,68-83*/
sys/dev/arcmsr/arcmsr.c
3866
size_t iop_device_map = offsetof(struct HBC_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/arcmsr/arcmsr.c
3914
size_t iop_firm_model = offsetof(struct HBD_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/
sys/dev/arcmsr/arcmsr.c
3915
size_t iop_firm_version = offsetof(struct HBD_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_VERS_OFFSET]); /*firm_version,17,68-83*/
sys/dev/arcmsr/arcmsr.c
3916
size_t iop_device_map = offsetof(struct HBD_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/arcmsr/arcmsr.c
3965
size_t iop_firm_model = offsetof(struct HBE_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/
sys/dev/arcmsr/arcmsr.c
3966
size_t iop_firm_version = offsetof(struct HBE_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_VERS_OFFSET]); /*firm_version,17,68-83*/
sys/dev/arcmsr/arcmsr.c
3967
size_t iop_device_map = offsetof(struct HBE_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]);
sys/dev/arcmsr/arcmsr.c
4264
+ offsetof(struct HBB_MessageUnit, post_qbuffer);
sys/dev/arcmsr/arcmsr.c
4303
+ offsetof(struct HBD_MessageUnit0, post_qbuffer);
sys/dev/arcmsr/arcmsr.c
4305
+ offsetof(struct HBD_MessageUnit0, done_qbuffer);
sys/dev/arcmsr/arcmsr.c
4320
cdb_phyaddr_lo32 = srb_phyaddr_lo32 + offsetof(struct CommandControlBlock, arcmsr_cdb);
sys/dev/arcmsr/arcmsr.c
4341
cdb_phyaddr_lo32 = srb_phyaddr_lo32 + offsetof(struct CommandControlBlock, arcmsr_cdb);
sys/dev/arcmsr/arcmsr.c
4452
phbbmu->drv2iop_doorbell = offsetof(struct HBB_DOORBELL_1203, drv2iop_doorbell);
sys/dev/arcmsr/arcmsr.c
4453
phbbmu->drv2iop_doorbell_mask = offsetof(struct HBB_DOORBELL_1203, drv2iop_doorbell_mask);
sys/dev/arcmsr/arcmsr.c
4454
phbbmu->iop2drv_doorbell = offsetof(struct HBB_DOORBELL_1203, iop2drv_doorbell);
sys/dev/arcmsr/arcmsr.c
4455
phbbmu->iop2drv_doorbell_mask = offsetof(struct HBB_DOORBELL_1203, iop2drv_doorbell_mask);
sys/dev/arcmsr/arcmsr.c
4457
phbbmu->drv2iop_doorbell = offsetof(struct HBB_DOORBELL, drv2iop_doorbell);
sys/dev/arcmsr/arcmsr.c
4458
phbbmu->drv2iop_doorbell_mask = offsetof(struct HBB_DOORBELL, drv2iop_doorbell_mask);
sys/dev/arcmsr/arcmsr.c
4459
phbbmu->iop2drv_doorbell = offsetof(struct HBB_DOORBELL, iop2drv_doorbell);
sys/dev/arcmsr/arcmsr.c
4460
phbbmu->iop2drv_doorbell_mask = offsetof(struct HBB_DOORBELL, iop2drv_doorbell_mask);
sys/dev/arcmsr/arcmsr.h
197
#define CHIP_REG_READ32(s, b, r) bus_space_read_4(acb->btag[b], acb->bhandle[b], offsetof(struct s, r))
sys/dev/arcmsr/arcmsr.h
198
#define CHIP_REG_WRITE32(s, b, r, d) bus_space_write_4(acb->btag[b], acb->bhandle[b], offsetof(struct s, r), d)
sys/dev/arcmsr/arcmsr.h
70
#ifndef offsetof
sys/dev/ath/ath_hal/ah_internal.h
44
#ifndef offsetof
sys/dev/atkbdc/psm.c
555
#define SYN_OFFSET(field) offsetof(struct psm_softc, syninfo.field)
sys/dev/atkbdc/psm.c
6819
#define PSM_TPINFO(x) offsetof(struct psm_softc, tpinfo.x)
sys/dev/axgbe/xgbe-sysctl.c
178
offsetof(struct xgbe_prv_data, mmc_stats._var), \
sys/dev/axgbe/xgbe-sysctl.c
184
offsetof(struct xgbe_prv_data, ext_stats._var), \
sys/dev/bge/if_bge.c
4981
CSR_READ_4(sc, stats + offsetof(struct bge_stats, stat))
sys/dev/bge/if_bge.c
6303
offsetof(struct bge_stats, node), bge_sysctl_stats, "IU", desc)
sys/dev/bge/if_bge.c
6539
offsetof(bge_hostaddr, bge_addr_lo));
sys/dev/bge/if_bgereg.h
2250
bus_write_4(sc->bge_res, rcb + offsetof(struct bge_rcb, offset), val)
sys/dev/bnxt/bnxt_en/bnxt.h
304
(offsetof(struct rx_port_stats_ext, counter) / 8)
sys/dev/bnxt/bnxt_en/bnxt.h
310
(offsetof(struct tx_port_stats_ext, counter) / 8)
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
175
data = &resp->queue_id0 + offsetof(struct bnxt_cos2bw_cfg, queue_id);
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
2020
offsetof(struct tx_port_stats_ext, pfc_pri0_tx_duration_us) / 8) {
sys/dev/bnxt/bnxt_re/main.c
2942
data = &resp.queue_id0 + offsetof(struct bnxt_re_cos2bw_cfg,
sys/dev/bnxt/bnxt_re/qplib_fp.c
802
((offsetof(typeof(*srqe), data) + 15) >> 4);
sys/dev/bxe/bxe.c
10804
offsetof(struct shmem_region, validity_map[SC_PORT(sc)]);
sys/dev/bxe/bxe.c
13143
if (shmem2_size > offsetof(struct shmem2_region, mf_cfg_addr)) {
sys/dev/bxe/bxe.c
16593
(uint32_t)offsetof(struct shmem2_region,
sys/dev/bxe/bxe.c
307
(offsetof(struct bxe_eth_stats, stat_name) / 4)
sys/dev/bxe/bxe.c
310
(offsetof(struct bxe_eth_q_stats, stat_name) / 4)
sys/dev/bxe/bxe.c
6871
offsetof(struct glob_ncsi_oem_data, driver_version)),
sys/dev/bxe/bxe.c
9797
offsetof(struct host_sp_status_block, atten_status_block));
sys/dev/bxe/bxe.c
9840
offsetof(struct host_sp_status_block, sp_sb));
sys/dev/bxe/bxe.h
1869
(sc->sp_dma.paddr + offsetof(struct bxe_slowpath, var))
sys/dev/bxe/bxe.h
1915
(sc->devinfo.shmem_base + offsetof(struct shmem_region, field))
sys/dev/bxe/bxe.h
1921
(sc->devinfo.shmem2_base + offsetof(struct shmem2_region, field))
sys/dev/bxe/bxe.h
1924
offsetof(struct shmem2_region, field)))
sys/dev/bxe/bxe.h
1929
(sc->devinfo.mf_cfg_base + offsetof(struct mf_cfg, field))
sys/dev/bxe/bxe_elink.c
1001
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
10261
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
10291
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
1030
offsetof(struct shmem_lfa, req_duplex));
sys/dev/bxe/bxe_elink.c
1039
offsetof(struct shmem_lfa, req_flow_ctrl));
sys/dev/bxe/bxe_elink.c
1048
offsetof(struct shmem_lfa, req_line_speed));
sys/dev/bxe/bxe_elink.c
1058
offsetof(struct shmem_lfa,
sys/dev/bxe/bxe_elink.c
1071
offsetof(struct shmem_lfa, additional_config)) &
sys/dev/bxe/bxe_elink.c
1081
offsetof(struct shmem2_region,
sys/dev/bxe/bxe_elink.c
11016
offsetof(struct shmem2_region,
sys/dev/bxe/bxe_elink.c
11037
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
11068
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
11081
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
11100
offsetof(struct shmem2_region,
sys/dev/bxe/bxe_elink.c
11289
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
11859
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
12100
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
12969
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
12973
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
12977
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
12981
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
13002
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
13007
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
13023
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
13041
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
13239
config2 = REG_RD(sc, shmem_base + offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
13242
phy->ver_addr = shmem_base + offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
13253
offsetof(struct shmem2_region, ext_phy_fw_version2)) {
sys/dev/bxe/bxe_elink.c
13255
offsetof(struct shmem2_region,
sys/dev/bxe/bxe_elink.c
13306
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
13309
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
13314
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
13317
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
13459
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
13847
offsetof(struct shmem_lfa,
sys/dev/bxe/bxe_elink.c
13884
offsetof(struct shmem_lfa, lfa_sts), lfa_sts);
sys/dev/bxe/bxe_elink.c
13907
offsetof(struct shmem_lfa, req_duplex),
sys/dev/bxe/bxe_elink.c
13911
offsetof(struct shmem_lfa, req_flow_ctrl),
sys/dev/bxe/bxe_elink.c
13915
offsetof(struct shmem_lfa, req_line_speed),
sys/dev/bxe/bxe_elink.c
13920
offsetof(struct shmem_lfa,
sys/dev/bxe/bxe_elink.c
13926
offsetof(struct shmem_lfa, additional_config));
sys/dev/bxe/bxe_elink.c
13931
offsetof(struct shmem_lfa, additional_config), tmp_val);
sys/dev/bxe/bxe_elink.c
13934
offsetof(struct shmem_lfa, lfa_sts));
sys/dev/bxe/bxe_elink.c
13950
offsetof(struct shmem_lfa, lfa_sts), lfa_sts);
sys/dev/bxe/bxe_elink.c
14410
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
14643
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
14675
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
14845
cfg_pin = (REG_RD(sc, params->shmem_base + offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
14989
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
15096
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
2929
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
3649
offsetof(struct shmem2_region, eee_status[params->port]))
sys/dev/bxe/bxe_elink.c
3714
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
3828
offsetof(struct shmem2_region,
sys/dev/bxe/bxe_elink.c
3890
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
3898
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
4457
offsetof(struct shmem2_region,
sys/dev/bxe/bxe_elink.c
4646
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
4686
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
4837
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
5172
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
5249
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
5312
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
5333
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
5649
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
5659
offsetof(struct shmem2_region,
sys/dev/bxe/bxe_elink.c
5666
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
5683
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
7658
offsetof(struct shmem2_region, link_change_count[params->port]);
sys/dev/bxe/bxe_elink.c
8315
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
8690
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
8822
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
9126
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
9174
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
9439
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
9472
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
9594
offsetof(struct shmem_region, dev_info.
sys/dev/bxe/bxe_elink.c
986
offsetof(struct shmem_lfa, additional_config));
sys/dev/bxe/bxe_elink.c
9888
offsetof(struct shmem_region,
sys/dev/bxe/bxe_elink.c
994
offsetof(struct shmem_lfa, additional_config),
sys/dev/bxe/bxe_stats.c
1530
offsetof(struct bxe_fw_stats_data, storm_counters));
sys/dev/bxe/bxe_stats.c
1544
offsetof(struct bxe_fw_stats_data, port));
sys/dev/bxe/bxe_stats.c
1558
offsetof(struct bxe_fw_stats_data, pf));
sys/dev/bxe/bxe_stats.c
1571
offsetof(struct bxe_fw_stats_data, queue_stats));
sys/dev/bxe/bxe_stats.c
389
offsetof(struct emac_stats,
sys/dev/bxe/bxe_stats.c
392
offsetof(struct emac_stats,
sys/dev/bxe/bxe_stats.c
405
offsetof(struct emac_stats,
sys/dev/bxe/bxe_stats.c
408
offsetof(struct emac_stats,
sys/dev/bxe/bxe_stats.c
497
offsetof(struct nig_stats,
sys/dev/bxe/bxe_stats.c
500
offsetof(struct nig_stats,
sys/dev/bxe/bxe_stats.c
514
offsetof(struct nig_stats,
sys/dev/bxe/bxe_stats.c
517
offsetof(struct nig_stats,
sys/dev/bxe/bxe_stats.c
76
res = (offsetof(struct host_port_stats, not_used) + 4);
sys/dev/bxe/bxe_stats.c
80
res += (offsetof(struct host_port_stats, pfc_frames_rx_lo) -
sys/dev/bxe/bxe_stats.c
81
offsetof(struct host_port_stats, pfc_frames_tx_hi) + 4);
sys/dev/cas/if_cas.c
108
CTASSERT((offsetof(struct cas_control_data, m) & ((a) - 1)) == 0)
sys/dev/cas/if_casvar.h
95
#define CAS_CDOFF(x) offsetof(struct cas_control_data, x)
sys/dev/cesa/cesa.h
125
(sizeof(struct cesa_sa_hdesc) + offsetof(struct cesa_sa_data, member))
sys/dev/cfi/cfi_reg.h
75
#define CFI_QRY_IDENT offsetof(struct cfi_qry, ident)
sys/dev/cfi/cfi_reg.h
76
#define CFI_QRY_VEND offsetof(struct cfi_qry, pri_vend)
sys/dev/cfi/cfi_reg.h
78
#define CFI_QRY_TTO_WRITE offsetof(struct cfi_qry, tto_byte_write)
sys/dev/cfi/cfi_reg.h
79
#define CFI_QRY_TTO_BUFWRITE offsetof(struct cfi_qry, tto_buf_write)
sys/dev/cfi/cfi_reg.h
80
#define CFI_QRY_TTO_ERASE offsetof(struct cfi_qry, tto_block_erase)
sys/dev/cfi/cfi_reg.h
81
#define CFI_QRY_MTO_WRITE offsetof(struct cfi_qry, mto_byte_write)
sys/dev/cfi/cfi_reg.h
82
#define CFI_QRY_MTO_BUFWRITE offsetof(struct cfi_qry, mto_buf_write)
sys/dev/cfi/cfi_reg.h
83
#define CFI_QRY_MTO_ERASE offsetof(struct cfi_qry, mto_block_erase)
sys/dev/cfi/cfi_reg.h
85
#define CFI_QRY_SIZE offsetof(struct cfi_qry, size)
sys/dev/cfi/cfi_reg.h
86
#define CFI_QRY_IFACE offsetof(struct cfi_qry, iface)
sys/dev/cfi/cfi_reg.h
87
#define CFI_QRY_MAXBUF offsetof(struct cfi_qry, max_buf_write_size)
sys/dev/cfi/cfi_reg.h
88
#define CFI_QRY_NREGIONS offsetof(struct cfi_qry, nregions)
sys/dev/cfi/cfi_reg.h
89
#define CFI_QRY_REGION0 offsetof(struct cfi_qry, region)
sys/dev/cxgb/cxgb_adapter.h
521
#define container_of(p, stype, field) ((stype *)(((uint8_t *)(p)) - offsetof(stype, field)))
sys/dev/cxgb/cxgb_sge.c
3616
offsetof(struct mac_stats, a), sysctl_handle_macstat, "QU", 0)
sys/dev/cxgbe/adapter.h
1641
int len = offsetof(struct wrqe, wr) + wr_len;
sys/dev/cxgbe/common/t4_hw.c
10056
size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd,
sys/dev/cxgbe/common/t4_hw.c
10229
size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd,
sys/dev/cxgbe/common/t4_hw.c
3745
memcpy(p->id, vpd + offsetof(struct t4_vpd_hdr, id_data), ID_LEN);
sys/dev/cxgbe/common/t4_hw.c
4037
return t4_read_flash(adapter, start + offsetof(struct fw_hdr, fw_ver),
sys/dev/cxgbe/common/t4_hw.c
4068
return t4_read_flash(adapter, start + offsetof(struct fw_hdr, fw_ver),
sys/dev/cxgbe/common/t4_hw.c
4084
offsetof(struct fw_hdr, tp_microcode_ver), 1, vers, 0);
sys/dev/cxgbe/common/t4_hw.c
4391
fw_start + offsetof(struct fw_hdr, fw_ver),
sys/dev/cxgbe/crypto/t4_crypto.c
471
idata_len = wr_len - offsetof(struct chcr_wr, sec_cpl) - sgl_len;
sys/dev/cxgbe/crypto/t4_keyctx.c
624
_Static_assert(offsetof(struct tx_keyctx_hdr, txsalt) ==
sys/dev/cxgbe/crypto/t4_keyctx.c
625
offsetof(struct rx_keyctx_hdr, rxsalt),
sys/dev/cxgbe/nvmf/nvmf_che.c
1385
offsetof(struct nvme_tcp_h2c_data_hdr, ttag),
sys/dev/cxgbe/nvmf/nvmf_che.c
1397
offsetof(struct nvme_tcp_h2c_data_hdr, ttag),
sys/dev/cxgbe/nvmf/nvmf_che.c
1411
offsetof(struct nvme_tcp_h2c_data_hdr, ttag), pdu->m,
sys/dev/cxgbe/nvmf/nvmf_che.c
1432
offsetof(struct nvme_tcp_h2c_data_hdr, datal), pdu->m,
sys/dev/cxgbe/nvmf/nvmf_che.c
1524
offsetof(struct nvme_tcp_c2h_data_hdr, cccid),
sys/dev/cxgbe/nvmf/nvmf_che.c
1542
offsetof(struct nvme_tcp_c2h_data_hdr, cccid), pdu->m,
sys/dev/cxgbe/nvmf/nvmf_che.c
1566
offsetof(struct nvme_tcp_c2h_data_hdr, datal), pdu->m,
sys/dev/cxgbe/nvmf/nvmf_che.c
1780
offsetof(struct nvme_tcp_r2t_hdr, cccid), pdu->m,
sys/dev/cxgbe/nvmf/nvmf_che.c
946
offsetof(struct nvme_tcp_common_pdu_hdr, pdu_type), m,
sys/dev/cxgbe/nvmf/nvmf_che.c
955
offsetof(struct nvme_tcp_common_pdu_hdr, flags), m, hlen);
sys/dev/cxgbe/nvmf/nvmf_che.c
962
offsetof(struct nvme_tcp_common_pdu_hdr, plen), m, hlen);
sys/dev/cxgbe/nvmf/nvmf_che.c
983
offsetof(struct nvme_tcp_h2c_data_hdr, ttag),
sys/dev/cxgbe/nvmf/nvmf_che.c
989
offsetof(struct nvme_tcp_c2h_data_hdr, cccid), m,
sys/dev/cxgbe/osdep.h
93
#define container_of(p, s, f) ((s *)(((uint8_t *)(p)) - offsetof(s, f)))
sys/dev/cxgbe/t4_main.c
1049
CTASSERT(offsetof(struct sge_ofld_rxq, iq) == offsetof(struct sge_rxq, iq));
sys/dev/cxgbe/t4_main.c
1050
CTASSERT(offsetof(struct sge_ofld_rxq, fl) == offsetof(struct sge_rxq, fl));
sys/dev/cxgbe/t4_main.c
4841
CTASSERT(offsetof(struct fw_h, fw_ver) == offsetof(struct fw_hdr, fw_ver));
sys/dev/cxgbe/t4_main.c
4842
CTASSERT(offsetof(struct fw_h, intfver_nic) == offsetof(struct fw_hdr, intfver_nic));
sys/dev/cxgbe/t4_main.c
4843
CTASSERT(offsetof(struct fw_h, intfver_fcoe) == offsetof(struct fw_hdr, intfver_fcoe));
sys/dev/cxgbe/t4_sge.c
6586
CTASSERT(offsetof(struct cpl_fw4_msg, data) == \
sys/dev/cxgbe/t4_sge.c
6587
offsetof(struct cpl_fw6_msg, data));
sys/dev/cxgbe/tom/t4_listen.c
1319
CTASSERT(offsetof(struct toepcb, flags) == offsetof(struct synq_entry, flags));
sys/dev/cxgbe/tom/t4_tom.c
134
len = offsetof(struct toepcb, txsd) +
sys/dev/drm2/drm_os_freebsd.h
103
(type *)( (char *)__mptr - offsetof(type,member) );})
sys/dev/e1000/em_txrx.c
178
pi->ipi_ehdrlen + offsetof(struct ip, ip_sum);
sys/dev/e1000/em_txrx.c
189
offsetof(struct tcphdr, th_sum);
sys/dev/e1000/em_txrx.c
289
offsetof(struct ip, ip_sum);
sys/dev/e1000/em_txrx.c
310
tucso = hdr_len + offsetof(struct tcphdr, th_sum);
sys/dev/e1000/em_txrx.c
313
tucso = hdr_len + offsetof(struct udphdr, uh_sum);
sys/dev/e1000/if_em.c
3641
offp = (caddr_t)txr + offsetof(struct tx_ring, csum_flags);
sys/dev/ena/ena.h
551
.stat_offset = offsetof(struct ena_stats_dev, stat) / sizeof(u64), \
sys/dev/ena/ena_sysctl.c
73
.stat_offset = offsetof(struct ena_admin_##stat_type, stat) / sizeof(u64), \
sys/dev/enic/enic_res.c
38
offsetof(struct vnic_enet_config, m), \
sys/dev/evdev/cdev.c
115
client = malloc(offsetof(struct evdev_client, ec_buffer) +
sys/dev/evdev/evdev.h
126
_Static_assert(offsetof(union evdev_mt_slot, tool_y) ==
sys/dev/evdev/evdev.h
127
offsetof(union evdev_mt_slot, val[ABS_MT_INDEX(ABS_MT_TOOL_Y)]),
sys/dev/evdev/evdev_mt.c
109
size_t size = offsetof(struct evdev_mt, slots);
sys/dev/fb/vesa.c
1483
bsize = offsetof(adp_state_t, regs) + vesa_state_buf_size;
sys/dev/fdc/fdc.c
836
i = offsetof(struct fd_formb, fd_formb_cylno(0));
sys/dev/firewire/sbp.c
549
+ offsetof(struct sbp_ocb, orb[0]);
sys/dev/gem/if_gemvar.h
76
#define GEM_CDOFF(x) offsetof(struct gem_control_data, x)
sys/dev/gve/gve_tx.c
692
csum_offset = offsetof(struct tcphdr, th_sum);
sys/dev/gve/gve_tx.c
694
csum_offset = offsetof(struct udphdr, uh_sum);
sys/dev/hid/ps4dshock.c
698
#define PD4DSHOCK_OFFSET(field) offsetof(struct ps4dshock_softc, field)
sys/dev/hptiop/hptiop.c
1083
offsetof(struct hpt_iop_request_ioctl_command, buf))) {
sys/dev/hptiop/hptiop.c
1088
req.header.size = offsetof(struct hpt_iop_request_ioctl_command, buf)
sys/dev/hptiop/hptiop.c
1100
offsetof(struct hpt_iop_request_ioctl_command, buf)>>2);
sys/dev/hptiop/hptiop.c
1108
offsetof(struct hpt_iop_request_ioctl_command, header.context),
sys/dev/hptiop/hptiop.c
1116
offsetof(struct hpt_iop_request_ioctl_command,
sys/dev/hptiop/hptiop.c
1171
offsetof(struct hpt_iop_request_ioctl_command, buf),
sys/dev/hptiop/hptiop.c
1179
offsetof(struct hpt_iop_request_ioctl_command,
sys/dev/hptiop/hptiop.c
1185
offsetof(struct hpt_iop_request_ioctl_command, buf) +
sys/dev/hptiop/hptiop.c
1192
offsetof(struct hpt_iop_request_ioctl_command, bytes_returned),
sys/dev/hptiop/hptiop.c
1217
offsetof(struct hpt_iop_request_ioctl_command, buf))) {
sys/dev/hptiop/hptiop.c
1225
req->header.size = offsetof(struct hpt_iop_request_ioctl_command, buf)
sys/dev/hptiop/hptiop.c
1299
offsetof(struct hpt_iop_request_ioctl_command, buf))) {
sys/dev/hptiop/hptiop.c
1307
req->header.size = offsetof(struct hpt_iop_request_ioctl_command, buf)
sys/dev/hptiop/hptiop.c
167
hba->bar0h, offsetof(struct hpt_iopmu_itl, offset), (value))
sys/dev/hptiop/hptiop.c
169
hba->bar0h, offsetof(struct hpt_iopmu_itl, offset))
sys/dev/hptiop/hptiop.c
172
hba->bar0h, offsetof(struct hpt_iopmv_regs, offset), value)
sys/dev/hptiop/hptiop.c
174
hba->bar0h, offsetof(struct hpt_iopmv_regs, offset))
sys/dev/hptiop/hptiop.c
176
hba->bar2h, offsetof(struct hpt_iopmu_mv, offset), value)
sys/dev/hptiop/hptiop.c
178
hba->bar2h, offsetof(struct hpt_iopmu_mv, offset))
sys/dev/hptiop/hptiop.c
181
hba->bar2h, offsetof(struct hpt_iopmu_mvfrey, offset), value)
sys/dev/hptiop/hptiop.c
183
hba->bar2h, offsetof(struct hpt_iopmu_mvfrey, offset))
sys/dev/hptiop/hptiop.c
232
offsetof(struct hpt_iopmu_mv,
sys/dev/hptiop/hptiop.c
2424
offsetof(struct hpt_iop_request_scsi_command, sg_list)
sys/dev/hptiop/hptiop.c
2471
offsetof(struct hpt_iop_request_scsi_command, sg_list)
sys/dev/hptiop/hptiop.c
256
offsetof(struct hpt_iopmu_mv, inbound_q[inbound_head]),
sys/dev/hptiop/hptiop.c
354
offsetof(struct hpt_iop_request_header, type));
sys/dev/hptiop/hptiop.c
356
offsetof(struct hpt_iop_request_header, result));
sys/dev/hptiop/hptiop.c
362
offsetof(struct hpt_iop_request_header, context),
sys/dev/hptiop/hptiop.c
370
offsetof(struct hpt_iop_request_header, context),
sys/dev/hptiop/hptiop.c
374
index + offsetof(struct hpt_iop_request_scsi_command,
sys/dev/hptiop/hptiop.c
431
index + offsetof(struct hpt_iop_request_scsi_command,
sys/dev/hptiop/hptiop.c
468
offsetof(struct hpt_iop_request_header,
sys/dev/hptiop/hptiop.c
474
offsetof(struct hpt_iop_request_header,
sys/dev/hptiop/hptiop.c
483
offsetof(struct hpt_iop_request_header,
sys/dev/hptiop/hptiop.c
811
offsetof(struct hpt_iop_request_header, context),
sys/dev/hptiop/hptiop.h
49
#ifndef offsetof
sys/dev/hptmv/vdevice.h
80
#define ARRAY_VDEV_SIZE (offsetof(VDevice, u) + sizeof(RaidArray))
sys/dev/hptmv/vdevice.h
81
#define DISK_VDEV_SIZE (offsetof(VDevice, u) + sizeof(Device))
sys/dev/hwpmc/hwpmc_logging.c
1028
recordlen = offsetof(struct pmclog_pmcattach, pl_pathname) + pathlen;
sys/dev/hwpmc/hwpmc_logging.c
1109
recordlen = offsetof(struct pmclog_procexec, pl_pathname) + pathlen;
sys/dev/hwpmc/hwpmc_logging.c
195
CTASSERT(offsetof(struct pmclog_map_in,pl_pathname) ==
sys/dev/hwpmc/hwpmc_logging.c
200
CTASSERT(offsetof(struct pmclog_pmcattach,pl_pathname) == 5*4 + TSDELTA);
sys/dev/hwpmc/hwpmc_logging.c
205
CTASSERT(offsetof(struct pmclog_procexec,pl_pathname) == 5*4 + TSDELTA +
sys/dev/hwpmc/hwpmc_logging.c
916
recordlen = offsetof(struct pmclog_callchain, pl_pc) +
sys/dev/hwpmc/hwpmc_logging.c
955
recordlen = offsetof(struct pmclog_map_in, pl_pathname) +
sys/dev/hyperv/pcib/vmbus_pcib.c
1010
offsetof(struct pci_bus_relations2, func) +
sys/dev/hyperv/pcib/vmbus_pcib.c
835
dr_size = offsetof(struct hv_dr_state, func) +
sys/dev/hyperv/pcib/vmbus_pcib.c
865
dr_size = offsetof(struct hv_dr_state, func) +
sys/dev/hyperv/pcib/vmbus_pcib.c
995
offsetof(struct pci_bus_relations, func) +
sys/dev/ice/ice_ddp_common.c
1466
buf->data_end = CPU_TO_LE16(offsetof(struct ice_buf_hdr,
sys/dev/ice/ice_flex_pipe.c
518
(u16)offsetof(struct ice_boost_key_value, hv_dst_port_key),
sys/dev/ice/ice_lan_tx_rx.h
852
.offset = offsetof(struct _struct, _ele), \
sys/dev/ioat/ioat_internal.h
437
offsetof(struct ioat_softc, dmaengine)); \
sys/dev/ipmi/ipmi_smbios.c
134
if (s->length > offsetof(struct ipmi_entry, interrupt_number)) {
sys/dev/ipmi/ipmi_smbios.c
96
offsetof(struct ipmi_entry, interrupt_number))
sys/dev/irdma/fbsd_kcompat.c
783
offsetof(struct irdma_cm_core, stats_nodes_created)},
sys/dev/irdma/fbsd_kcompat.c
785
offsetof(struct irdma_cm_core, stats_nodes_destroyed)},
sys/dev/irdma/fbsd_kcompat.c
787
offsetof(struct irdma_cm_core, stats_listen_created)},
sys/dev/irdma/fbsd_kcompat.c
789
offsetof(struct irdma_cm_core, stats_listen_destroyed)},
sys/dev/irdma/fbsd_kcompat.c
791
offsetof(struct irdma_cm_core, stats_listen_nodes_created)},
sys/dev/irdma/fbsd_kcompat.c
793
offsetof(struct irdma_cm_core, stats_listen_nodes_destroyed)},
sys/dev/irdma/fbsd_kcompat.c
794
{0, "cm_lpbs", "cm_lpbs", offsetof(struct irdma_cm_core, stats_lpbs)},
sys/dev/irdma/fbsd_kcompat.c
795
{0, "cm_accepts", "cm_accepts", offsetof(struct irdma_cm_core,
sys/dev/irdma/fbsd_kcompat.c
797
{0, "cm_rejects", "cm_rejects", offsetof(struct irdma_cm_core,
sys/dev/irdma/fbsd_kcompat.c
800
offsetof(struct irdma_cm_core, stats_connect_errs)},
sys/dev/irdma/fbsd_kcompat.c
802
offsetof(struct irdma_cm_core, stats_passive_errs)},
sys/dev/irdma/fbsd_kcompat.c
803
{0, "cm_pkt_retrans", "cm_pkt_retrans", offsetof(struct irdma_cm_core,
sys/dev/irdma/fbsd_kcompat.c
806
offsetof(struct irdma_cm_core, stats_backlog_drops)},
sys/dev/irdma/fbsd_kcompat.c
811
offsetof(struct irdma_puda_rsrc, avail_buf_count)},
sys/dev/irdma/fbsd_kcompat.c
813
offsetof(struct irdma_puda_rsrc, alloc_buf_count)}
sys/dev/irdma/fbsd_kcompat.c
818
offsetof(struct irdma_puda_rsrc, stats_buf_alloc_fail)},
sys/dev/irdma/fbsd_kcompat.c
820
offsetof(struct irdma_puda_rsrc, stats_pkt_rcvd)},
sys/dev/irdma/fbsd_kcompat.c
822
offsetof(struct irdma_puda_rsrc, stats_pkt_sent)},
sys/dev/irdma/fbsd_kcompat.c
824
offsetof(struct irdma_puda_rsrc, stats_rcvd_pkt_err)},
sys/dev/irdma/fbsd_kcompat.c
826
offsetof(struct irdma_puda_rsrc, stats_sent_pkt_q)}
sys/dev/irdma/fbsd_kcompat.c
831
offsetof(struct irdma_puda_rsrc, avail_buf_count)},
sys/dev/irdma/fbsd_kcompat.c
833
offsetof(struct irdma_puda_rsrc, alloc_buf_count)}
sys/dev/irdma/fbsd_kcompat.c
838
offsetof(struct irdma_puda_rsrc, stats_buf_alloc_fail)},
sys/dev/irdma/fbsd_kcompat.c
840
offsetof(struct irdma_puda_rsrc, stats_pkt_rcvd)},
sys/dev/irdma/fbsd_kcompat.c
842
offsetof(struct irdma_puda_rsrc, stats_pkt_sent)},
sys/dev/irdma/fbsd_kcompat.c
844
offsetof(struct irdma_puda_rsrc, stats_rcvd_pkt_err)},
sys/dev/irdma/fbsd_kcompat.c
846
offsetof(struct irdma_puda_rsrc, stats_sent_pkt_q)},
sys/dev/irdma/fbsd_kcompat.c
848
offsetof(struct irdma_puda_rsrc, stats_bad_qp_id)},
sys/dev/irdma/fbsd_kcompat.c
850
offsetof(struct irdma_puda_rsrc, fpdu_processed)},
sys/dev/irdma/fbsd_kcompat.c
852
offsetof(struct irdma_puda_rsrc, bad_seq_num)},
sys/dev/irdma/fbsd_kcompat.c
853
{0, "ieq_crc_err", "ieq_crc_err", offsetof(struct irdma_puda_rsrc,
sys/dev/irdma/fbsd_kcompat.c
856
offsetof(struct irdma_puda_rsrc, pmode_count)},
sys/dev/irdma/fbsd_kcompat.c
858
offsetof(struct irdma_puda_rsrc, partials_handled)},
sys/dev/irdma/fbsd_kcompat.h
54
BUILD_BUG_ON_ZERO(offsetof(struct drv_struct, member)) + \
sys/dev/irdma/irdma_ctrl.c
53
offsetof(struct irdma_sc_qp, list));
sys/dev/isp/isp.c
2686
len = offsetof(rspn_id_t, rspnid_name);
sys/dev/isp/isp.c
2748
len = offsetof(rsnn_nn_t, rsnnnn_name);
sys/dev/iwm/if_iwm.c
1156
+ offsetof(struct iwm_tx_cmd, scratch);
sys/dev/iwx/if_iwx.c
1588
offsetof(struct iwx_fw_dbg_dest_tlv_v1, reg_ops);
sys/dev/iwx/if_iwx.c
5620
filled_tfd_size = offsetof(struct iwx_tfh_tfd, tbs) +
sys/dev/iwx/if_iwxvar.h
442
offsetof(struct iwx_rxba_data, reorder_buf));
sys/dev/ixl/i40e_lan_hmc.c
695
offsetof(struct _struct, _ele), \
sys/dev/ksyms/ksyms.c
292
hdr->kh_ehdr.e_phoff = offsetof(struct ksyms_hdr, kh_txtphdr);
sys/dev/ksyms/ksyms.c
293
hdr->kh_ehdr.e_shoff = offsetof(struct ksyms_hdr, kh_shdr);
sys/dev/ksyms/ksyms.c
355
offsetof(struct ksyms_hdr, kh_shstrtab);
sys/dev/liquidio/base/lio_console.c
192
addr += offsetof(struct cvmx_bootmem_named_block_desc, name);
sys/dev/liquidio/base/lio_console.c
223
offsetof(struct cvmx_bootmem_desc, major_version),
sys/dev/liquidio/base/lio_console.c
227
offsetof(struct cvmx_bootmem_desc, minor_version),
sys/dev/liquidio/base/lio_console.c
254
offsetof(struct cvmx_bootmem_named_block_desc,
sys/dev/liquidio/base/lio_console.c
260
offsetof(struct cvmx_bootmem_named_block_desc, size),
sys/dev/liquidio/base/lio_console.c
284
offsetof(struct cvmx_bootmem_desc,
sys/dev/liquidio/base/lio_console.c
291
offsetof(struct cvmx_bootmem_desc,
sys/dev/liquidio/base/lio_console.c
299
offsetof(struct cvmx_bootmem_desc,
sys/dev/liquidio/base/lio_console.c
309
offsetof(struct cvmx_bootmem_named_block_desc,
sys/dev/liquidio/base/lio_console.c
609
addr + offsetof(struct lio_pci_console_desc,
sys/dev/liquidio/base/lio_console.c
636
offsetof(struct lio_pci_console_desc,
sys/dev/liquidio/base/lio_console.c
639
coreaddr = console->addr + offsetof(struct lio_pci_console,
sys/dev/liquidio/base/lio_console.c
642
coreaddr = console->addr + offsetof(struct lio_pci_console,
sys/dev/liquidio/base/lio_console.c
645
coreaddr = console->addr + offsetof(struct lio_pci_console,
sys/dev/liquidio/base/lio_console.c
744
offsetof(struct lio_pci_console, output_read_index));
sys/dev/liquidio/base/lio_console.c
746
offsetof(struct lio_pci_console, output_write_index));
sys/dev/liquidio/base/lio_console.c
765
offsetof(struct lio_pci_console,
sys/dev/liquidio/base/lio_response_manager.h
127
(type *)((char *)((ptr)->stqh_first) - offsetof(type, elem))
sys/dev/mfi/mfi.c
986
offsetof(struct mfi_hwcomms, hw_reply_q);
sys/dev/mfi/mfi.c
988
offsetof(struct mfi_hwcomms, hw_pi);
sys/dev/mfi/mfi.c
990
offsetof(struct mfi_hwcomms, hw_ci);
sys/dev/mfi/mfi_tbolt.c
236
= offsetof(struct mfi_mpi2_request_raid_scsi_io, SGL)/16;
sys/dev/mfi/mfi_tbolt.c
815
io_req->SGLOffset0 = offsetof(struct mfi_mpi2_request_raid_scsi_io,
sys/dev/mfi/mfi_tbolt.c
923
io_request->SGLOffset0 = offsetof(
sys/dev/mlx4/mlx4_en/mlx4_en_rx.c
1078
ptr = ((u8 *)&context) + offsetof(struct mlx4_qp_context, pri_path) +
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
1291
offsetof(typeof(filter), field) -\
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
466
resp.response_length = offsetof(typeof(resp), response_length) +
sys/dev/mlx5/driver.h
918
.struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
57
#define field_avail(type, fld, sz) (offsetof(type, fld) + \
sys/dev/mlx5/mlx5_ib/mlx5_ib_ah.c
77
u32 min_resp_len = offsetof(typeof(resp), dmac) +
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
761
if (ucmdlen < offsetof(struct mlx5_ib_create_cq, flags))
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1271
size_t min_req_v2 = offsetof(struct mlx5_ib_alloc_ucontext_req_v2,
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1317
resp.response_length = min(offsetof(typeof(resp), response_length) +
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1394
offsetof(struct mlx5_init_seg, internal_timer_h) % PAGE_SIZE;
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1723
offsetof(struct mlx5_init_seg, internal_timer_h)) >>
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1825
offsetof(typeof(filter), field) -\
sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
1513
resp.response_length = min(offsetof(typeof(resp), response_length) +
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
1388
min_resp_len = offsetof(typeof(resp), bfreg_index) + sizeof(resp.bfreg_index);
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
1392
required_cmd_sz = offsetof(typeof(ucmd), reserved1) + sizeof(ucmd.reserved1);
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
4763
required_cmd_sz = offsetof(typeof(ucmd), reserved) + sizeof(ucmd.reserved);
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
4821
min_resp_len = offsetof(typeof(resp), reserved) + sizeof(resp.reserved);
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
4847
resp.response_length = offsetof(typeof(resp), response_length) +
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
4905
min_resp_len = offsetof(typeof(resp), reserved) + sizeof(resp.reserved);
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
4939
resp.response_length = offsetof(typeof(resp), response_length) +
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
4980
required_cmd_sz = offsetof(typeof(ucmd), reserved) + sizeof(ucmd.reserved);
sys/dev/mpi3mr/mpi3mr_cam.c
196
offsetof(Mpi3SCSIIORequest_t, SGL))/sizeof(Mpi3SGESimple_t);
sys/dev/mpr/mpr.c
3152
offsetof(Mpi25SCSIIORequest_t, SGL)) / sizeof(MPI25_SGE_IO_UNION);
sys/dev/mrsas/mrsas.c
1802
mrsas_write_reg(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
1823
mrsas_write_reg(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
2339
scratch_pad_3 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_scratch_pad_3));
sys/dev/mrsas/mrsas.c
2350
msix_enable = (mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_scratch_pad)) & 0x4000000) >> 0x1a;
sys/dev/mrsas/mrsas.c
2353
scratch_pad_2 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
2413
scratch_pad_4 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
2556
status = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_scratch_pad));
sys/dev/mrsas/mrsas.c
2570
scratch_pad_2 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
2596
offsetof(MRSAS_RAID_SCSI_IO_REQUEST, SGL)) / 16;
sys/dev/mrsas/mrsas.c
2609
sc->chain_offset_mfi_pthru = offsetof(MRSAS_RAID_SCSI_IO_REQUEST, SGL) / 16;
sys/dev/mrsas/mrsas.c
2717
scratch_pad_2 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
2796
scratch_pad_2 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
2913
mrsas_write_reg(sc, offsetof(mrsas_reg_set, inbound_low_queue_port),
sys/dev/mrsas/mrsas.c
2915
mrsas_write_reg(sc, offsetof(mrsas_reg_set, inbound_high_queue_port),
sys/dev/mrsas/mrsas.c
2934
mrsas_write_reg(sc, offsetof(mrsas_reg_set, inbound_single_queue_port),
sys/dev/mrsas/mrsas.c
294
mrsas_write_reg(sc, offsetof(mrsas_reg_set, outbound_intr_mask), mask);
sys/dev/mrsas/mrsas.c
2958
val = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_scratch_pad));
sys/dev/mrsas/mrsas.c
296
(void)mrsas_read_reg(sc, offsetof(mrsas_reg_set, outbound_intr_mask));
sys/dev/mrsas/mrsas.c
2966
abs_state = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_scratch_pad));
sys/dev/mrsas/mrsas.c
2977
mrsas_write_reg(sc, offsetof(mrsas_reg_set, doorbell),
sys/dev/mrsas/mrsas.c
2982
mrsas_write_reg(sc, offsetof(mrsas_reg_set, doorbell),
sys/dev/mrsas/mrsas.c
2992
mrsas_write_reg(sc, offsetof(mrsas_reg_set, doorbell), MFI_RESET_FLAGS);
sys/dev/mrsas/mrsas.c
2994
if (mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, doorbell)) & 1)
sys/dev/mrsas/mrsas.c
3032
fw_state = (mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
3034
curr_abs_state = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
305
mrsas_write_reg(sc, offsetof(mrsas_reg_set, outbound_intr_status), ~0);
sys/dev/mrsas/mrsas.c
306
(void)mrsas_read_reg(sc, offsetof(mrsas_reg_set, outbound_intr_status));
sys/dev/mrsas/mrsas.c
308
mrsas_write_reg(sc, offsetof(mrsas_reg_set, outbound_intr_mask), ~mask);
sys/dev/mrsas/mrsas.c
309
(void)mrsas_read_reg(sc, offsetof(mrsas_reg_set, outbound_intr_mask));
sys/dev/mrsas/mrsas.c
3109
offsetof(mrsas_reg_set, outbound_scratch_pad));
sys/dev/mrsas/mrsas.c
318
status = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_intr_status));
sys/dev/mrsas/mrsas.c
3266
status_reg = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
3280
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
sys/dev/mrsas/mrsas.c
3282
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
sys/dev/mrsas/mrsas.c
3284
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
sys/dev/mrsas/mrsas.c
3286
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
sys/dev/mrsas/mrsas.c
3288
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
sys/dev/mrsas/mrsas.c
3290
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
sys/dev/mrsas/mrsas.c
3292
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
sys/dev/mrsas/mrsas.c
3296
host_diag = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
3301
host_diag = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
3313
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_host_diag),
sys/dev/mrsas/mrsas.c
3318
host_diag = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
3323
host_diag = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
3334
abs_state = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
3340
abs_state = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
3457
mrsas_write_reg(sc, offsetof(mrsas_reg_set, doorbell),
sys/dev/mrsas/mrsas.c
3460
mrsas_read_reg(sc, offsetof(mrsas_reg_set, doorbell));
sys/dev/mrsas/mrsas.c
3514
fw_state = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
sys/dev/mrsas/mrsas.c
3936
io_req->SGLOffset0 = offsetof(MRSAS_RAID_SCSI_IO_REQUEST, SGL) / 4;
sys/dev/mrsas/mrsas_cam.c
578
cmd->io_request->SGLOffset0 = offsetof(MRSAS_RAID_SCSI_IO_REQUEST, SGL) / 4;
sys/dev/msk/if_msk.c
4446
sc, offsetof(struct msk_hw_stats, n), msk_sysctl_stat32, \
sys/dev/msk/if_msk.c
4451
sc, offsetof(struct msk_hw_stats, n), msk_sysctl_stat64, \
sys/dev/mthca/mthca_mr.c
473
sizeof *mpt_entry - offsetof(struct mthca_mpt_entry, lkey));
sys/dev/mthca/mthca_mr.c
640
sizeof *mpt_entry - offsetof(struct mthca_mpt_entry, start));
sys/dev/mthca/mthca_mr.c
749
offsetof(struct mthca_mpt_entry, window_count) -
sys/dev/mthca/mthca_mr.c
750
offsetof(struct mthca_mpt_entry, start));
sys/dev/mthca/mthca_srq.c
94
return (int *) (wqe + offsetof(struct mthca_next_seg, imm));
sys/dev/mxge/if_mxge.c
1828
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/dev/mxge/if_mxge.c
1845
m_copyback(m, offsetof(struct tcphdr, th_sum) +
sys/dev/mxge/if_mxge.c
3555
bus += offsetof(struct mcp_irq_data, send_done_count);
sys/dev/nvdimm/nvdimm_nfit.c
146
offsetof(ACPI_NFIT_SYSTEM_ADDRESS, RangeIndex), UINT16_MAX,
sys/dev/nvdimm/nvdimm_nfit.c
165
offsetof(ACPI_NFIT_MEMORY_MAP, RangeIndex), UINT16_MAX,
sys/dev/nvdimm/nvdimm_nfit.c
175
offsetof(ACPI_NFIT_CONTROL_REGION, RegionIndex), UINT16_MAX,
sys/dev/nvdimm/nvdimm_nfit.c
188
offsetof(ACPI_NFIT_FLUSH_ADDRESS, DeviceHandle), UINT32_MAX,
sys/dev/nvdimm/nvdimm_nfit.c
208
offsetof(ACPI_NFIT_MEMORY_MAP, DeviceHandle), UINT32_MAX, dimm,
sys/dev/nvme/nvme_private.h
326
offsetof(struct nvme_registers, reg)
sys/dev/nvmf/controller/nvmft_controller.c
233
offsetof(struct nvmf_fabric_connect_data, cntlid));
sys/dev/nvmf/controller/nvmft_controller.c
244
offsetof(struct nvmf_fabric_connect_data, hostid));
sys/dev/nvmf/controller/nvmft_controller.c
254
offsetof(struct nvmf_fabric_connect_data, hostnqn));
sys/dev/nvmf/controller/nvmft_controller.c
269
offsetof(struct nvmf_fabric_connect_data, cntlid));
sys/dev/nvmf/controller/nvmft_controller.c
291
offsetof(struct nvmf_fabric_connect_cmd, qid));
sys/dev/nvmf/nvmf_proto.h
578
_Static_assert(offsetof(struct nvme_tcp_common_pdu_hdr, pdu_type) == 0,
sys/dev/nvmf/nvmf_proto.h
580
_Static_assert(offsetof(struct nvme_tcp_common_pdu_hdr, flags) == 1, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
581
_Static_assert(offsetof(struct nvme_tcp_common_pdu_hdr, hlen) == 2, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
582
_Static_assert(offsetof(struct nvme_tcp_common_pdu_hdr, pdo) == 3, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
583
_Static_assert(offsetof(struct nvme_tcp_common_pdu_hdr, plen) == 4, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
610
_Static_assert(offsetof(struct nvme_tcp_ic_req, pfv) == 8, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
611
_Static_assert(offsetof(struct nvme_tcp_ic_req, hpda) == 10, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
612
_Static_assert(offsetof(struct nvme_tcp_ic_req, maxr2t) == 12, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
641
_Static_assert(offsetof(struct nvme_tcp_ic_resp, pfv) == 8, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
642
_Static_assert(offsetof(struct nvme_tcp_ic_resp, cpda) == 10, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
643
_Static_assert(offsetof(struct nvme_tcp_ic_resp, maxh2cdata) == 12, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
658
_Static_assert(offsetof(struct nvme_tcp_term_req_hdr, fes) == 8, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
659
_Static_assert(offsetof(struct nvme_tcp_term_req_hdr, fei) == 10, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
686
_Static_assert(offsetof(struct nvme_tcp_cmd, ccsqe) == 8, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
698
_Static_assert(offsetof(struct nvme_tcp_rsp, rccqe) == 8, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
715
_Static_assert(offsetof(struct nvme_tcp_h2c_data_hdr, cccid) == 8, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
716
_Static_assert(offsetof(struct nvme_tcp_h2c_data_hdr, ttag) == 10, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
717
_Static_assert(offsetof(struct nvme_tcp_h2c_data_hdr, datao) == 12, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
718
_Static_assert(offsetof(struct nvme_tcp_h2c_data_hdr, datal) == 16, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
738
_Static_assert(offsetof(struct nvme_tcp_c2h_data_hdr, cccid) == 8, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
739
_Static_assert(offsetof(struct nvme_tcp_c2h_data_hdr, datao) == 12, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
740
_Static_assert(offsetof(struct nvme_tcp_c2h_data_hdr, datal) == 16, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
760
_Static_assert(offsetof(struct nvme_tcp_r2t_hdr, cccid) == 8, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
761
_Static_assert(offsetof(struct nvme_tcp_r2t_hdr, ttag) == 10, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
762
_Static_assert(offsetof(struct nvme_tcp_r2t_hdr, r2to) == 12, "Incorrect offset");
sys/dev/nvmf/nvmf_proto.h
763
_Static_assert(offsetof(struct nvme_tcp_r2t_hdr, r2tl) == 16, "Incorrect offset");
sys/dev/nvmf/nvmf_tcp.c
661
offsetof(struct nvme_tcp_h2c_data_hdr, ttag), pdu->m,
sys/dev/nvmf/nvmf_tcp.c
673
offsetof(struct nvme_tcp_h2c_data_hdr, ttag), pdu->m,
sys/dev/nvmf/nvmf_tcp.c
694
offsetof(struct nvme_tcp_h2c_data_hdr, datal), pdu->m,
sys/dev/nvmf/nvmf_tcp.c
765
offsetof(struct nvme_tcp_c2h_data_hdr, cccid), pdu->m,
sys/dev/nvmf/nvmf_tcp.c
786
offsetof(struct nvme_tcp_c2h_data_hdr, datal), pdu->m,
sys/dev/nvmf/nvmf_tcp.c
956
offsetof(struct nvme_tcp_r2t_hdr, cccid), pdu->m,
sys/dev/nvmf/nvmf_tcp.h
130
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, flags);
sys/dev/nvmf/nvmf_tcp.h
149
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, flags);
sys/dev/nvmf/nvmf_tcp.h
160
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, flags);
sys/dev/nvmf/nvmf_tcp.h
192
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, hlen);
sys/dev/nvmf/nvmf_tcp.h
209
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, pdo);
sys/dev/nvmf/nvmf_tcp.h
225
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, pdo);
sys/dev/nvmf/nvmf_tcp.h
235
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, plen);
sys/dev/nvmf/nvmf_tcp.h
256
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, plen);
sys/dev/nvmf/nvmf_tcp.h
266
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, plen);
sys/dev/nvmf/nvmf_tcp.h
62
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, pdu_type);
sys/dev/nvmf/nvmf_tcp.h
72
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, pdu_type);
sys/dev/nvmf/nvmf_tcp.h
96
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, pdu_type);
sys/dev/ocs_fc/ocs_hw.c
307
(buf + offsetof(sli4_cmd_sli_config_t,
sys/dev/ocs_fc/ocs_list.h
109
#define ocs_list_init(head, type, link) _ocs_list_init(head, offsetof(type, link))
sys/dev/ocs_fc/sli4.c
1485
return offsetof(sli4_cmd_sli_config_t, payload.embed);
sys/dev/ocs_fc/sli4.c
3647
(((uint8_t *)sli4->bmbx.virt) + offsetof(sli4_cmd_sli_config_t, payload.embed));
sys/dev/ocs_fc/sli4.c
3813
(((uint8_t *)sli4->bmbx.virt) + offsetof(sli4_cmd_sli_config_t, payload.embed));
sys/dev/ocs_fc/sli4.c
3965
offsetof(sli4_cmd_sli_config_t, payload.embed));
sys/dev/ocs_fc/sli4.c
4502
offsetof(sli4_cmd_sli_config_t, payload));
sys/dev/ocs_fc/sli4.c
4967
offsetof(sli4_cmd_sli_config_t, payload));
sys/dev/pci/pci_user.c
1365
offsetof(struct pci_conf, pc_spare);
sys/dev/pci/pci_user.c
897
(uint32_t)offsetof(struct pci_conf32, pc_spare);
sys/dev/powermac_nvram/powermac_nvram.c
244
NVRAM_SIZE - offsetof(struct core99_header, generation));
sys/dev/powermac_nvram/powermac_nvram.c
335
NVRAM_SIZE - offsetof(struct core99_header, generation)))
sys/dev/qat/qat/qat_ocf_mem_pool.c
436
offsetof(struct qat_ocf_cookie, qat_ocf_iv_buf);
sys/dev/qat/qat/qat_ocf_mem_pool.c
441
offsetof(struct qat_ocf_cookie, qat_ocf_digest);
sys/dev/qat/qat/qat_ocf_mem_pool.c
446
offsetof(struct qat_ocf_cookie, qat_ocf_gcm_aad);
sys/dev/qat/qat/qat_ocf_mem_pool.c
451
offsetof(struct qat_ocf_cookie, src_buffers);
sys/dev/qat/qat/qat_ocf_mem_pool.c
455
offsetof(struct qat_ocf_cookie, dst_buffers);
sys/dev/qat/qat/qat_ocf_mem_pool.c
459
offsetof(struct qat_ocf_cookie, pOpdata);
sys/dev/qat/qat_api/common/compression/include/dc_datapath.h
85
#define DC_API_ALIGNMENT_OFFSET (offsetof(CpaDcDpOpData, results))
sys/dev/qat/qat_api/common/compression/include/dc_stats.h
24
&pService->pCompStatsArr[offsetof(CpaDcStats, \
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym.h
106
(offsetof(CpaCySymDpOpData, instanceHandle))
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_stats.h
90
LacSym_StatsInc(offsetof(CpaCySymStats64, statistic), instanceHandle)
sys/dev/qat/qat_api/common/crypto/sym/key/lac_sym_key.c
60
->pLacKeyStats[offsetof(CpaCyKeyGenStats64, \
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_compile_check.c
40
COMPILE_TIME_ASSERT(offsetof(lac_sym_bulk_cookie_t, sessionCtx) ==
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_compile_check.c
41
offsetof(CpaCySymDpOpData, sessionCtx));
sys/dev/qat/qat_api/common/include/lac_common.h
354
(offsetof(structType, member) / sizeof(((structType *)0)->member))
sys/dev/qat/qat_common/qat_uclo.c
1235
suof_size - offsetof(struct icp_qat_suof_filehdr, min_ver);
sys/dev/qat/qat_common/qat_uclo.c
1891
mof_size - offsetof(struct icp_qat_mof_file_hdr, min_ver);
sys/dev/qat_c2xxx/qat.c
1562
qdm->qdm_dma_seg.ds_addr + offsetof(struct qat_sym_cookie,
sys/dev/qat_c2xxx/qat.c
1565
qdm->qdm_dma_seg.ds_addr + offsetof(struct qat_sym_cookie,
sys/dev/qat_c2xxx/qat.c
1568
qdm->qdm_dma_seg.ds_addr + offsetof(struct qat_sym_cookie,
sys/dev/qat_c2xxx/qat.c
1571
qdm->qdm_dma_seg.ds_addr + offsetof(struct qat_sym_cookie,
sys/dev/qat_c2xxx/qat.c
1574
qdm->qdm_dma_seg.ds_addr + offsetof(struct qat_sym_cookie,
sys/dev/qat_c2xxx/qat.c
1577
qdm->qdm_dma_seg.ds_addr + offsetof(struct qat_sym_cookie,
sys/dev/qat_c2xxx/qat.c
1580
qdm->qdm_dma_seg.ds_addr + offsetof(struct qat_sym_cookie,
sys/dev/qat_c2xxx/qat.c
1583
qdm->qdm_dma_seg.ds_addr + offsetof(struct qat_sym_cookie,
sys/dev/qat_c2xxx/qat.c
174
.qshai_state_offset = offsetof(SHA256_CTX, state),
sys/dev/qat_c2xxx/qat.c
184
.qshai_state_offset = offsetof(SHA384_CTX, state),
sys/dev/qat_c2xxx/qat.c
194
.qshai_state_offset = offsetof(SHA512_CTX, state),
sys/dev/qat_c2xxx/qat.c
1943
offsetof(struct qat_crypto_desc, qcd_hash_state_prefix_buf);
sys/dev/qat_c2xxx/qat.c
1947
offsetof(struct qat_crypto_desc, qcd_hash_state_prefix_buf);
sys/dev/qat_c2xxx/qat_ae.c
2002
offsetof(struct mof_file_hdr, mfh_min_ver)),
sys/dev/qat_c2xxx/qat_ae.c
2004
offsetof(struct mof_file_hdr, mfh_min_ver));
sys/dev/qat_c2xxx/qat_ae.c
2275
hdr_size = offsetof(struct uof_str_tab, ust_strings);
sys/dev/qat_c2xxx/qat_ae.c
2377
size - offsetof(struct suof_file_hdr, sfh_min_ver));
sys/dev/qat_c2xxx/qat_ae.c
2398
size -= offsetof(struct suof_str_tab, sst_strings);
sys/dev/qat_c2xxx/qat_ae.c
2405
offsetof(struct suof_str_tab, sst_strings);
sys/dev/qat_c2xxx/qat_c2xxx.c
215
offsetof(struct fw_la_resp, comn_resp.opaque_data),
sys/dev/qat_c2xxx/qat_hw15.c
604
offsetof(struct fw_auth_hdr, u.aad_sz);
sys/dev/qat_c2xxx/qatvar.h
577
CTASSERT(offsetof(struct qat_sym_cookie,
sys/dev/qat_c2xxx/qatvar.h
579
CTASSERT(offsetof(struct qat_sym_cookie, qsc_buf_list) % QAT_OPTIMAL_ALIGN == 0);
sys/dev/qlnx/qlnxe/bcm_osal.h
398
#define OFFSETOF(str, field) offsetof(str, field)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1416
offsetof(struct public_port, local_admin_dcbx_mib);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1426
offsetof(struct public_port, dcb_dscp_map);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1538
offsetof(struct public_port, lldp_received_tlvs[i]);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1585
offsetof(struct public_port, lldp_config_params[val]);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1642
offsetof(struct public_port, lldp_config_params[val]);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1702
offsetof(struct public_port, system_lldp_tlvs_buf);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1707
offsetof(struct public_port, system_lldp_tlvs_buf2);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
865
data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
883
data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
902
offsetof(struct public_port, operational_dcbx_mib);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
920
offsetof(struct public_port, remote_dcbx_mib);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
936
offsetof(struct public_port, local_admin_dcbx_mib);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
951
offsetof(struct public_port, dcb_dscp_map);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2388
offsetof(struct public_port,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2551
offsetof(struct nvm_cfg1, port[MFW_PORT(p_hwfn)]);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2554
offsetof(struct nvm_cfg1_port,
sys/dev/qlnx/qlnxe/mcp_public.h
67
#define SECTION_OFFSIZE_ADDR(_pub_base, _section) (_pub_base + offsetof(struct mcp_public_data, sections[_section]))
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
453
offset = offsetof(struct rdma_srq_producers, wqe_prod);
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
967
uresp.dpm_enabled = offsetof(struct qlnxr_alloc_ucontext_resp, dpm_enabled)
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
969
uresp.wids_enabled = offsetof(struct qlnxr_alloc_ucontext_resp, wids_enabled)
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
971
uresp.wid_count = offsetof(struct qlnxr_alloc_ucontext_resp, wid_count)
sys/dev/safe/safe.c
334
offsetof(struct safe_ringentry, re_sa);
sys/dev/safe/safe.c
336
offsetof(struct safe_ringentry, re_sastate);
sys/dev/sec/sec.c
1335
offsetof(struct sec_hw_desc, shd_iv), csp->csp_ivlen);
sys/dev/sec/sec.c
1341
offsetof(struct sec_hw_desc, shd_key), csp->csp_cipher_klen);
sys/dev/sec/sec.c
1386
offsetof(struct sec_hw_desc, shd_mkey), csp->csp_auth_klen);
sys/dev/sec/sec.c
1398
offsetof(struct sec_hw_desc, shd_key), csp->csp_cipher_klen);
sys/dev/sec/sec.c
1404
offsetof(struct sec_hw_desc, shd_iv), csp->csp_ivlen);
sys/dev/sec/sec.c
1422
offsetof(struct sec_hw_desc, shd_digest), hashlen);
sys/dev/sec/sec.c
1556
desc->sd_desc_paddr + offsetof(struct sec_hw_desc,
sys/dev/sec/sec.c
1577
offsetof(struct sec_hw_desc, shd_digest), hashlen);
sys/dev/sfxge/sfxge_rx.c
1298
{ #name, offsetof(struct sfxge_rxq, member) }
sys/dev/sfxge/sfxge_tx.c
1098
if (mbuf->m_len < tso->tcph_off + offsetof(struct tcphdr, th_win)) {
sys/dev/sfxge/sfxge_tx.c
128
{ #name, offsetof(struct sfxge_txq, member) }
sys/dev/sfxge/sfxge_tx.c
845
if (mbuf->m_len < mbuf->m_pkthdr.l3hlen + offsetof(struct tcphdr, th_win)) {
sys/dev/smartpqi/smartpqi_defines.h
274
#define SENSE_FEATURES_CRYPTO_OFFSET offsetof(bmic_sense_feature_page_io_aio_subpage_t, max_aio_rw_xfer_crypto_sas_sata)
sys/dev/smartpqi/smartpqi_defines.h
87
(offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER))
sys/dev/smartpqi/smartpqi_discovery.c
1926
host_wellness_time->time_length = LE_16(offsetof(struct bmic_host_wellness_time, dont_write_tag) -
sys/dev/smartpqi/smartpqi_discovery.c
1927
offsetof(struct bmic_host_wellness_time, hour));
sys/dev/smartpqi/smartpqi_discovery.c
423
request->header.iu_length = LE_16(offsetof(pqisrc_raid_req_t,
sys/dev/smartpqi/smartpqi_discovery.c
920
page_length = offsetof(vpd_volume_status, volume_status) + vpd->page_length;
sys/dev/smartpqi/smartpqi_discovery.c
952
if (raidmap_size < offsetof(pqisrc_raid_map_t, dev_data)) {
sys/dev/smartpqi/smartpqi_features.c
503
offsetof(struct pqi_conf_table_heartbeat, heartbeat_counter);
sys/dev/smartpqi/smartpqi_features.c
69
offsetof(struct pqi_config_table_firmware_features,
sys/dev/smartpqi/smartpqi_ioctl.c
311
request.header.iu_length = offsetof(pqisrc_raid_req_t, sg_descriptors[1]) -
sys/dev/smartpqi/smartpqi_ioctl.c
503
request.header.iu_length = offsetof(pqisrc_raid_req_t, sg_descriptors[1]) -
sys/dev/smartpqi/smartpqi_request.c
273
offsetof(pqisrc_raid_req_t, sg_descriptors) - sizeof(iu_header_t);
sys/dev/smartpqi/smartpqi_request.c
396
aio_req->header.iu_length += offsetof(pqi_aio_req_t, sg_desc) -
sys/dev/smartpqi/smartpqi_request.c
512
aio_req->header.iu_length += offsetof(pqi_aio_raid1_write_req_t, sg_desc) -
sys/dev/smartpqi/smartpqi_request.c
665
aio_req->header.iu_length += offsetof(pqi_aio_raid5or6_write_req_t, sg_desc) -
sys/dev/smartpqi/smartpqi_response.c
200
offsetof(aio_path_error_info_elem_t, data), PRINT_FLAG_HDR_COLUMN);
sys/dev/smartpqi/smartpqi_response.c
216
offsetof(raid_path_error_info_elem_t, data), PRINT_FLAG_HDR_COLUMN);
sys/dev/sym/sym_defs.h
550
#define REGJ(p,r) (offsetof(struct sym_reg, p ## r))
sys/dev/sym/sym_fw.h
198
#define HADDR_1(label) (RELOC_SOFTC | offsetof(struct sym_hcb, label))
sys/dev/sym/sym_fw.h
200
(offsetof(struct sym_hcb, label)+(ofs)))
sys/dev/sym/sym_fw.h
204
#define SYM_GEN_PADDR_A(s, label) (RELOC_LABEL_A | offsetof(s, label))
sys/dev/sym/sym_fw.h
205
#define SYM_GEN_PADDR_B(s, label) (RELOC_LABEL_B | offsetof(s, label))
sys/dev/sym/sym_fw1.h
1227
offsetof (struct sym_ccb, phys.pm0.sg),
sys/dev/sym/sym_fw1.h
1247
offsetof (struct sym_ccb, phys.pm0.sg),
sys/dev/sym/sym_fw1.h
1263
SCR_REG_REG (scratcha, SCR_ADD, offsetof (struct sym_ccb,phys.pm0.ret)),
sys/dev/sym/sym_fw1.h
1303
offsetof (struct sym_ccb, phys.pm1.sg),
sys/dev/sym/sym_fw1.h
1323
offsetof (struct sym_ccb, phys.pm1.sg),
sys/dev/sym/sym_fw1.h
1339
SCR_REG_REG (scratcha, SCR_ADD, offsetof (struct sym_ccb,phys.pm1.ret)),
sys/dev/sym/sym_fw1.h
1367
SCR_SEL_TBL_ATN ^ offsetof (struct sym_hcb, abrt_sel),
sys/dev/sym/sym_fw1.h
1389
offsetof (struct sym_hcb, abrt_tbl),
sys/dev/sym/sym_fw1.h
1698
offsetof (struct sym_dsb, sense),
sys/dev/sym/sym_fw1.h
1753
offsetof (struct sym_ccb, phys.wresid),
sys/dev/sym/sym_fw1.h
316
SCR_SEL_TBL_ATN ^ offsetof (struct sym_dsb, select),
sys/dev/sym/sym_fw1.h
375
offsetof (struct sym_dsb, smsg),
sys/dev/sym/sym_fw1.h
400
offsetof (struct sym_dsb, cmd),
sys/dev/sym/sym_fw2.h
1007
offsetof (struct sym_ccb, phys.head.savep),
sys/dev/sym/sym_fw2.h
1012
offsetof (struct sym_ccb, phys.head.status),
sys/dev/sym/sym_fw2.h
1023
offsetof(struct sym_lcb, head.itl_task_sa),
sys/dev/sym/sym_fw2.h
1028
offsetof(struct sym_ccb, phys.head.go.restart),
sys/dev/sym/sym_fw2.h
1094
offsetof (struct sym_ccb, phys.pm0.sg),
sys/dev/sym/sym_fw2.h
1114
offsetof (struct sym_ccb, phys.pm0.sg),
sys/dev/sym/sym_fw2.h
1128
offsetof (struct sym_ccb, phys.pm0.ret),
sys/dev/sym/sym_fw2.h
1159
offsetof (struct sym_ccb, phys.pm1.sg),
sys/dev/sym/sym_fw2.h
1179
offsetof (struct sym_ccb, phys.pm1.sg),
sys/dev/sym/sym_fw2.h
1193
offsetof (struct sym_ccb, phys.pm1.ret),
sys/dev/sym/sym_fw2.h
1228
SCR_SEL_TBL_ATN ^ offsetof (struct sym_hcb, abrt_sel),
sys/dev/sym/sym_fw2.h
1250
offsetof (struct sym_hcb, abrt_tbl),
sys/dev/sym/sym_fw2.h
1328
offsetof (struct sym_dsb, smsg_ext.size),
sys/dev/sym/sym_fw2.h
1332
offsetof (struct sym_dsb, smsg_ext),
sys/dev/sym/sym_fw2.h
1553
offsetof (struct sym_dsb, sense),
sys/dev/sym/sym_fw2.h
1643
offsetof(struct sym_ccb, phys.pm0.ret),
sys/dev/sym/sym_fw2.h
1647
offsetof(struct sym_ccb, phys.pm1.ret),
sys/dev/sym/sym_fw2.h
1675
offsetof(struct sym_ccb, phys.pm0.ret),
sys/dev/sym/sym_fw2.h
1690
offsetof(struct sym_ccb, phys.pm0.sg.size),
sys/dev/sym/sym_fw2.h
1692
offsetof(struct sym_ccb, phys.pm0.sg.addr),
sys/dev/sym/sym_fw2.h
1702
offsetof(struct sym_ccb, phys.pm1.ret),
sys/dev/sym/sym_fw2.h
1717
offsetof(struct sym_ccb, phys.pm1.sg.size),
sys/dev/sym/sym_fw2.h
1719
offsetof(struct sym_ccb, phys.pm1.sg.addr),
sys/dev/sym/sym_fw2.h
1741
offsetof (struct sym_ccb, phys.wresid.addr),
sys/dev/sym/sym_fw2.h
1770
offsetof (struct sym_ccb, phys.wresid.size),
sys/dev/sym/sym_fw2.h
1786
offsetof (struct sym_ccb, phys.wresid),
sys/dev/sym/sym_fw2.h
1825
offsetof (struct sym_ccb, phys.wresid),
sys/dev/sym/sym_fw2.h
1852
offsetof(struct sym_hcb, cache),
sys/dev/sym/sym_fw2.h
1857
offsetof(struct sym_hcb, cache),
sys/dev/sym/sym_fw2.h
1862
offsetof(struct sym_hcb, cache),
sys/dev/sym/sym_fw2.h
289
SCR_SEL_TBL_ATN ^ offsetof (struct sym_dsb, select),
sys/dev/sym/sym_fw2.h
318
offsetof (struct sym_ccb, phys.head.savep),
sys/dev/sym/sym_fw2.h
323
offsetof (struct sym_ccb, phys.head.status),
sys/dev/sym/sym_fw2.h
336
offsetof(struct sym_dsb, select.sel_scntl3),
sys/dev/sym/sym_fw2.h
344
offsetof (struct sym_dsb, smsg),
sys/dev/sym/sym_fw2.h
369
offsetof (struct sym_dsb, cmd),
sys/dev/sym/sym_fw2.h
632
offsetof (struct sym_ccb, phys.head.lastp),
sys/dev/sym/sym_fw2.h
657
offsetof (struct sym_ccb, phys.head.status),
sys/dev/sym/sym_fw2.h
667
offsetof (struct sym_ccb, phys.head.status),
sys/dev/sym/sym_fw2.h
743
offsetof (struct sym_ccb, phys.head.savep),
sys/dev/sym/sym_fw2.h
752
offsetof (struct sym_ccb, phys.head.savep),
sys/dev/sym/sym_fw2.h
780
offsetof (struct sym_ccb, phys.head.status),
sys/dev/sym/sym_fw2.h
797
offsetof (struct sym_ccb, phys.head.savep),
sys/dev/sym/sym_fw2.h
882
offsetof(struct sym_tcb, head.wval),
sys/dev/sym/sym_fw2.h
884
offsetof(struct sym_tcb, head.sval),
sys/dev/sym/sym_fw2.h
891
offsetof(struct sym_tcb, head.uval),
sys/dev/sym/sym_fw2.h
914
offsetof(struct sym_tcb, head.luntbl_sa),
sys/dev/sym/sym_fw2.h
930
offsetof(struct sym_tcb, head.lun0_sa),
sys/dev/sym/sym_fw2.h
935
offsetof(struct sym_lcb, head.resel_sa),
sys/dev/sym/sym_fw2.h
958
offsetof(struct sym_lcb, head.itlq_tbl_sa),
sys/dev/sym/sym_fw2.h
991
offsetof(struct sym_ccb, phys.head.go.restart),
sys/dev/sym/sym_hipd.c
1142
CTASSERT(((offsetof(struct sym_reg, nc_sxfer) ^
sys/dev/sym/sym_hipd.c
1143
offsetof(struct sym_tcb, head.sval)) &3) == 0);
sys/dev/sym/sym_hipd.c
1144
CTASSERT(((offsetof(struct sym_reg, nc_scntl3) ^
sys/dev/sym/sym_hipd.c
1145
offsetof(struct sym_tcb, head.wval)) &3) == 0);
sys/dev/sym/sym_hipd.c
1438
#define CCB_BA(cp,lbl) (cp->ccb_ba + offsetof(struct sym_ccb, lbl))
sys/dev/sym/sym_hipd.c
1690
#define HCB_BA(np, lbl) (np->hcb_ba + offsetof(struct sym_hcb, lbl))
sys/dev/sym/sym_hipd.c
1712
#define SYM_GEN_A(s, label) ((short) offsetof(s, label)),
sys/dev/sym/sym_hipd.c
1713
#define SYM_GEN_B(s, label) ((short) offsetof(s, label)),
sys/dev/sym/sym_hipd.c
1867
offsetof(struct sym_fw2a_scr, pm0_data));
sys/dev/sym/sym_hipd.c
1870
offsetof(struct sym_fw2a_scr, pm1_data));
sys/dev/sym/sym_hipd.c
1884
*in++ = offsetof (struct sym_dsb, data[i]);
sys/dev/sym/sym_hipd.c
1886
*out++ = offsetof (struct sym_dsb, data[i]);
sys/dev/sym/sym_hipd.c
6695
OUTL_OFF(offsetof(struct sym_reg, nc_dstat), data);
sys/dev/sym/sym_hipd.c
6696
data = INL_OFF(offsetof(struct sym_reg, nc_dstat));
sys/dev/sym/sym_hipd.c
870
#define INB(r) INB_OFF(offsetof(struct sym_reg,r))
sys/dev/sym/sym_hipd.c
871
#define INW(r) INW_OFF(offsetof(struct sym_reg,r))
sys/dev/sym/sym_hipd.c
872
#define INL(r) INL_OFF(offsetof(struct sym_reg,r))
sys/dev/sym/sym_hipd.c
874
#define OUTB(r, v) OUTB_OFF(offsetof(struct sym_reg,r), (v))
sys/dev/sym/sym_hipd.c
875
#define OUTW(r, v) OUTW_OFF(offsetof(struct sym_reg,r), (v))
sys/dev/sym/sym_hipd.c
876
#define OUTL(r, v) OUTL_OFF(offsetof(struct sym_reg,r), (v))
sys/dev/ti/if_ti.c
2198
offsetof(struct ti_status, ti_ev_prodidx_r));
sys/dev/ti/if_ti.c
2222
sc->ti_rdata.ti_info_paddr + offsetof(struct ti_gib, ti_stats));
sys/dev/ti/if_ti.c
2279
offsetof(struct ti_status, ti_return_prodidx_r));
sys/dev/ti/if_ti.c
2311
offsetof(struct ti_status, ti_tx_considx_r));
sys/dev/ufshci/ufshci_private.h
415
#define ufshci_mmio_offsetof(reg) offsetof(struct ufshci_registers, reg)
sys/dev/usb/net/if_umb.c
2161
dgentryoff = offsetof(struct ncm_pointer16, dgram);
sys/dev/usb/net/if_umb.c
2164
dgentryoff = offsetof(struct ncm_pointer32, dgram);
sys/dev/usb/net/if_umb.c
2366
off = offsetof(struct mbim_cid_pin, data);
sys/dev/usb/net/if_umb.c
2493
off = offsetof(struct mbim_cid_connect, data);
sys/dev/usb/net/if_ure.c
2254
m_copydata(m, offsetof(struct ether_header, ether_type),
sys/dev/virtio/balloon/virtio_balloon.c
479
offsetof(struct virtio_balloon_config, num_pages));
sys/dev/virtio/balloon/virtio_balloon.c
497
offsetof(struct virtio_balloon_config, actual), npages);
sys/dev/virtio/block/virtio_blk.c
1035
offsetof(struct vtblk_request, vbr_bp));
sys/dev/virtio/block/virtio_blk.c
1492
offsetof(struct virtio_blk_config, _field), \
sys/dev/virtio/block/virtio_blk.c
1506
virtio_read_device_config(dev, offsetof(struct virtio_blk_config,
sys/dev/virtio/block/virtio_blk.c
1746
offsetof(struct virtio_blk_config, wce), wc);
sys/dev/virtio/console/virtio_console.c
462
offsetof(struct virtio_console_config, _field), \
sys/dev/virtio/gpu/virtio_gpu.c
420
offsetof(struct virtio_gpu_config, _field), \
sys/dev/virtio/network/if_vtnet.c
3982
offsetof(struct virtio_net_config, speed));
sys/dev/virtio/network/if_vtnet.c
3996
offsetof(struct virtio_net_config, status));
sys/dev/virtio/network/if_vtnet.c
4053
offsetof(struct virtio_net_config, mac),
sys/dev/virtio/network/if_vtnet.c
4081
offsetof(struct virtio_net_config, mac) + i,
sys/dev/virtio/network/if_vtnet.c
672
offsetof(struct virtio_net_config, mtu));
sys/dev/virtio/network/if_vtnet.c
686
offsetof(struct virtio_net_config, max_virtqueue_pairs));
sys/dev/virtio/network/if_vtnet.c
751
offsetof(struct virtio_net_config, mtu));
sys/dev/virtio/network/if_vtnet.c
801
offsetof(struct virtio_net_config,
sys/dev/virtio/network/virtio_net.h
301
case offsetof(struct udphdr, uh_sum):
sys/dev/virtio/network/virtio_net.h
302
case offsetof(struct tcphdr, th_sum):
sys/dev/virtio/p9fs/virtio_p9fs.c
334
offsetof(struct virtio_9pnet_config, mount_tag_len));
sys/dev/virtio/p9fs/virtio_p9fs.c
344
offsetof(struct virtio_9pnet_config, mount_tag),
sys/dev/virtio/pci/virtio_pci_modern.c
765
offsetof(struct virtio_pci_cap, cfg_type), 1);
sys/dev/virtio/pci/virtio_pci_modern.c
767
offsetof(struct virtio_pci_cap, bar), 1);
sys/dev/virtio/pci/virtio_pci_modern.c
825
offsetof(struct virtio_pci_notify_cap, notify_off_multiplier), 4);
sys/dev/virtio/pci/virtio_pci_modern.c
943
cap_offset + offsetof(struct virtio_pci_cap, cap_len), 1);
sys/dev/virtio/pci/virtio_pci_modern.c
952
cap_offset + offsetof(struct virtio_pci_cap, bar), 1);
sys/dev/virtio/pci/virtio_pci_modern.c
954
cap_offset + offsetof(struct virtio_pci_cap, offset), 4);
sys/dev/virtio/pci/virtio_pci_modern.c
956
cap_offset + offsetof(struct virtio_pci_cap, length), 4);
sys/dev/virtio/scsi/virtio_scsi.c
441
offsetof(struct virtio_scsi_config, _field), \
sys/dev/virtio/scsi/virtio_scsi.c
533
offsetof(struct virtio_scsi_config, sense_size),
sys/dev/virtio/scsi/virtio_scsi.c
541
offsetof(struct virtio_scsi_config, cdb_size),
sys/dev/vmware/vmci/vmci_resource.h
17
((type *)((char *)(ptr) - offsetof(type, member)))
sys/dev/vmware/vmxnet3/if_vmx.c
1354
offsetof(struct tcphdr, th_sum) :
sys/dev/vmware/vmxnet3/if_vmx.c
1355
offsetof(struct udphdr, uh_sum));
sys/dev/wg/if_wg.c
2978
if (!rn_inithead((void **)&sc->sc_aip4, offsetof(struct aip_addr, in) * NBBY))
sys/dev/wg/if_wg.c
2981
if (!rn_inithead((void **)&sc->sc_aip6, offsetof(struct aip_addr, in6) * NBBY))
sys/dev/wg/if_wg.c
548
addr->length = mask->length = offsetof(struct aip_addr, in) + sizeof(struct in_addr);
sys/dev/wg/if_wg.c
558
addr->length = mask->length = offsetof(struct aip_addr, in6) + sizeof(struct in6_addr);
sys/dev/wg/if_wg.c
680
addr.length = offsetof(struct aip_addr, in) + sizeof(struct in_addr);
sys/dev/wg/if_wg.c
685
addr.length = offsetof(struct aip_addr, in6) + sizeof(struct in6_addr);
sys/dev/wpi/if_wpi.c
5288
offsetof(struct wpi_shared, next));
sys/fs/ext2fs/ext2_csum.c
104
offsetof(struct ext2fs, e4fs_sbchksum)));
sys/fs/ext2fs/ext2_csum.c
117
offsetof(struct ext2fs, e4fs_sbchksum)));
sys/fs/ext2fs/ext2_csum.c
127
int offset = offsetof(struct ext2fs_extattr_header, h_checksum);
sys/fs/ext2fs/ext2_csum.c
429
offsetof(struct ext4_extent_tail, et_checksum);
sys/fs/ext2fs/ext2_csum.c
579
offset = offsetof(struct ext2fs_dinode, e2di_chksum_lo);
sys/fs/ext2fs/ext2_csum.c
595
offset = offsetof(struct ext2fs_dinode, e2di_chksum_hi);
sys/fs/ext2fs/ext2_csum.c
63
(offsetof(struct ext2_gd, ext4bgd_i_bmap_csum_hi) + \
sys/fs/ext2fs/ext2_csum.c
67
(offsetof(struct ext2fs_dinode, e2di_chksum_hi) + sizeof(uint16_t) - \
sys/fs/ext2fs/ext2_csum.c
679
offset = offsetof(struct ext2_gd, ext4bgd_csum);
sys/fs/ext2fs/ext2_csum.c
71
(offsetof(struct ext2_gd, ext4bgd_b_bmap_csum_hi) + \
sys/fs/ext2fs/ext2_csum.c
99
offsetof(struct ext2fs, e4fs_sbchksum))) {
sys/fs/ext2fs/ext2_lookup.c
169
ncookies = ncookies / (offsetof(struct ext2fs_direct_2,
sys/fs/ext2fs/ext2_lookup.c
196
if (le16toh(dp->e2d_reclen) <= offsetof(struct ext2fs_direct_2,
sys/fs/ext2fs/ext2_lookup.c
220
if (offsetof(struct ext2fs_direct_2, e2d_namlen) +
sys/fs/fuse/fuse_kernel.h
890
#define FUSE_NAME_OFFSET offsetof(struct fuse_dirent, name)
sys/fs/fuse/fuse_kernel.h
902
offsetof(struct fuse_direntplus, dirent.name)
sys/fs/fuse/fuse_vnops.c
2074
(offsetof(struct dirent, d_name) + 4) + 1;
sys/fs/nfsclient/nfs_clrpcops.c
88
#define DIRHDSIZ offsetof(struct dirent, d_name)
sys/fs/pseudofs/pseudofs.h
55
#define PFS_DELEN (offsetof(struct dirent, d_name) + PFS_NAMELEN)
sys/gdb/gdb_packet.c
64
offsetof(struct _midbuf, mb_buf) == 1,
sys/geom/part/g_part_bsd64.c
319
ressize = offsetof(struct disklabel64, d_partitions[RESPARTITIONS64]);
sys/geom/part/g_part_bsd64.c
361
if (pp->sectorsize > offsetof(struct disklabel64, d_magic))
sys/geom/part/g_part_bsd64.c
480
v = rounddown2(pp->sectorsize + offsetof(struct disklabel64, d_magic),
sys/geom/part/g_part_bsd64.c
485
v = le32dec(buf + offsetof(struct disklabel64, d_magic));
sys/geom/part/g_part_bsd64.c
517
if (crc32(&dlp->d_magic, offsetof(struct disklabel64,
sys/geom/part/g_part_bsd64.c
519
offsetof(struct disklabel64, d_magic)) != v32)
sys/geom/part/g_part_bsd64.c
656
v = offsetof(struct disklabel64,
sys/geom/part/g_part_bsd64.c
658
offsetof(struct disklabel64, d_magic);
sys/geom/part/g_part_gpt.c
63
CTASSERT(offsetof(struct gpt_hdr, padding) == 92);
sys/geom/part/g_part_gpt.c
718
table->hdr->hdr_size = offsetof(struct gpt_hdr, padding);
sys/geom/uzip/g_uzip_zstd.c
58
(type *)((uintptr_t)__p - offsetof(type, member)); \
sys/i386/i386/db_trace.c
57
#define DB_OFFSET(x) (db_expr_t *)offsetof(struct trapframe, x)
sys/i386/i386/genassym.c
100
ASSYM(PCB_CR0, offsetof(struct pcb, pcb_cr0));
sys/i386/i386/genassym.c
101
ASSYM(PCB_CR2, offsetof(struct pcb, pcb_cr2));
sys/i386/i386/genassym.c
102
ASSYM(PCB_CR3, offsetof(struct pcb, pcb_cr3));
sys/i386/i386/genassym.c
103
ASSYM(PCB_CR4, offsetof(struct pcb, pcb_cr4));
sys/i386/i386/genassym.c
104
ASSYM(PCB_EDI, offsetof(struct pcb, pcb_edi));
sys/i386/i386/genassym.c
105
ASSYM(PCB_ESI, offsetof(struct pcb, pcb_esi));
sys/i386/i386/genassym.c
106
ASSYM(PCB_EBP, offsetof(struct pcb, pcb_ebp));
sys/i386/i386/genassym.c
107
ASSYM(PCB_ESP, offsetof(struct pcb, pcb_esp));
sys/i386/i386/genassym.c
108
ASSYM(PCB_EBX, offsetof(struct pcb, pcb_ebx));
sys/i386/i386/genassym.c
109
ASSYM(PCB_EIP, offsetof(struct pcb, pcb_eip));
sys/i386/i386/genassym.c
110
ASSYM(TSS_ESP0, offsetof(struct i386tss, tss_esp0));
sys/i386/i386/genassym.c
112
ASSYM(PCB_DS, offsetof(struct pcb, pcb_ds));
sys/i386/i386/genassym.c
113
ASSYM(PCB_ES, offsetof(struct pcb, pcb_es));
sys/i386/i386/genassym.c
114
ASSYM(PCB_FS, offsetof(struct pcb, pcb_fs));
sys/i386/i386/genassym.c
115
ASSYM(PCB_GS, offsetof(struct pcb, pcb_gs));
sys/i386/i386/genassym.c
116
ASSYM(PCB_SS, offsetof(struct pcb, pcb_ss));
sys/i386/i386/genassym.c
117
ASSYM(PCB_DR0, offsetof(struct pcb, pcb_dr0));
sys/i386/i386/genassym.c
118
ASSYM(PCB_DR1, offsetof(struct pcb, pcb_dr1));
sys/i386/i386/genassym.c
119
ASSYM(PCB_DR2, offsetof(struct pcb, pcb_dr2));
sys/i386/i386/genassym.c
120
ASSYM(PCB_DR3, offsetof(struct pcb, pcb_dr3));
sys/i386/i386/genassym.c
121
ASSYM(PCB_DR6, offsetof(struct pcb, pcb_dr6));
sys/i386/i386/genassym.c
122
ASSYM(PCB_DR7, offsetof(struct pcb, pcb_dr7));
sys/i386/i386/genassym.c
124
ASSYM(PCB_EXT, offsetof(struct pcb, pcb_ext));
sys/i386/i386/genassym.c
126
ASSYM(PCB_EXT_TSS, offsetof(struct pcb_ext, ext_tss));
sys/i386/i386/genassym.c
128
ASSYM(PCB_FSD, offsetof(struct pcb, pcb_fsd));
sys/i386/i386/genassym.c
129
ASSYM(PCB_GSD, offsetof(struct pcb, pcb_gsd));
sys/i386/i386/genassym.c
130
ASSYM(PCB_VM86, offsetof(struct pcb, pcb_vm86));
sys/i386/i386/genassym.c
131
ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
sys/i386/i386/genassym.c
132
ASSYM(PCB_SAVEFPU, offsetof(struct pcb, pcb_save));
sys/i386/i386/genassym.c
133
ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
sys/i386/i386/genassym.c
138
ASSYM(PCB_GDT, offsetof(struct pcb, pcb_gdt));
sys/i386/i386/genassym.c
139
ASSYM(PCB_IDT, offsetof(struct pcb, pcb_idt));
sys/i386/i386/genassym.c
140
ASSYM(PCB_LDT, offsetof(struct pcb, pcb_ldt));
sys/i386/i386/genassym.c
141
ASSYM(PCB_TR, offsetof(struct pcb, pcb_tr));
sys/i386/i386/genassym.c
143
ASSYM(TF_FS, offsetof(struct trapframe, tf_fs));
sys/i386/i386/genassym.c
144
ASSYM(TF_ES, offsetof(struct trapframe, tf_es));
sys/i386/i386/genassym.c
145
ASSYM(TF_DS, offsetof(struct trapframe, tf_ds));
sys/i386/i386/genassym.c
146
ASSYM(TF_TRAPNO, offsetof(struct trapframe, tf_trapno));
sys/i386/i386/genassym.c
147
ASSYM(TF_ERR, offsetof(struct trapframe, tf_err));
sys/i386/i386/genassym.c
148
ASSYM(TF_EIP, offsetof(struct trapframe, tf_eip));
sys/i386/i386/genassym.c
149
ASSYM(TF_CS, offsetof(struct trapframe, tf_cs));
sys/i386/i386/genassym.c
150
ASSYM(TF_EFLAGS, offsetof(struct trapframe, tf_eflags));
sys/i386/i386/genassym.c
153
ASSYM(SIGF_HANDLER, offsetof(struct sigframe, sf_ahu.sf_handler));
sys/i386/i386/genassym.c
155
ASSYM(SIGF_SC, offsetof(struct osigframe, sf_siginfo.si_sc));
sys/i386/i386/genassym.c
157
ASSYM(SIGF_UC, offsetof(struct sigframe, sf_uc));
sys/i386/i386/genassym.c
159
ASSYM(SIGF_UC4, offsetof(struct freebsd4_sigframe, sf_uc));
sys/i386/i386/genassym.c
162
ASSYM(SC_PS, offsetof(struct osigcontext, sc_ps));
sys/i386/i386/genassym.c
163
ASSYM(SC_FS, offsetof(struct osigcontext, sc_fs));
sys/i386/i386/genassym.c
164
ASSYM(SC_GS, offsetof(struct osigcontext, sc_gs));
sys/i386/i386/genassym.c
165
ASSYM(SC_TRAPNO, offsetof(struct osigcontext, sc_trapno));
sys/i386/i386/genassym.c
168
ASSYM(UC4_EFLAGS, offsetof(struct freebsd4_ucontext, uc_mcontext.mc_eflags));
sys/i386/i386/genassym.c
169
ASSYM(UC4_GS, offsetof(struct freebsd4_ucontext, uc_mcontext.mc_gs));
sys/i386/i386/genassym.c
171
ASSYM(UC_EFLAGS, offsetof(ucontext_t, uc_mcontext.mc_eflags));
sys/i386/i386/genassym.c
172
ASSYM(UC_GS, offsetof(ucontext_t, uc_mcontext.mc_gs));
sys/i386/i386/genassym.c
179
ASSYM(BI_VERSION, offsetof(struct bootinfo, bi_version));
sys/i386/i386/genassym.c
180
ASSYM(BI_KERNELNAME, offsetof(struct bootinfo, bi_kernelname));
sys/i386/i386/genassym.c
181
ASSYM(BI_NFS_DISKLESS, offsetof(struct bootinfo, bi_nfs_diskless));
sys/i386/i386/genassym.c
183
ASSYM(BI_SIZE, offsetof(struct bootinfo, bi_size));
sys/i386/i386/genassym.c
184
ASSYM(BI_SYMTAB, offsetof(struct bootinfo, bi_symtab));
sys/i386/i386/genassym.c
185
ASSYM(BI_ESYMTAB, offsetof(struct bootinfo, bi_esymtab));
sys/i386/i386/genassym.c
186
ASSYM(BI_KERNEND, offsetof(struct bootinfo, bi_kernend));
sys/i386/i386/genassym.c
188
ASSYM(PC_PRVSPACE, offsetof(struct pcpu, pc_prvspace));
sys/i386/i386/genassym.c
189
ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
sys/i386/i386/genassym.c
190
ASSYM(PC_FPCURTHREAD, offsetof(struct pcpu, pc_fpcurthread));
sys/i386/i386/genassym.c
191
ASSYM(PC_IDLETHREAD, offsetof(struct pcpu, pc_idlethread));
sys/i386/i386/genassym.c
192
ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
sys/i386/i386/genassym.c
193
ASSYM(PC_COMMON_TSSP, offsetof(struct pcpu, pc_common_tssp));
sys/i386/i386/genassym.c
194
ASSYM(PC_COMMON_TSSD, offsetof(struct pcpu, pc_common_tssd));
sys/i386/i386/genassym.c
195
ASSYM(PC_TSS_GDT, offsetof(struct pcpu, pc_tss_gdt));
sys/i386/i386/genassym.c
196
ASSYM(PC_FSGS_GDT, offsetof(struct pcpu, pc_fsgs_gdt));
sys/i386/i386/genassym.c
197
ASSYM(PC_CURRENTLDT, offsetof(struct pcpu, pc_currentldt));
sys/i386/i386/genassym.c
198
ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
sys/i386/i386/genassym.c
199
ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap));
sys/i386/i386/genassym.c
200
ASSYM(PC_PRIVATE_TSS, offsetof(struct pcpu, pc_private_tss));
sys/i386/i386/genassym.c
201
ASSYM(PC_KESP0, offsetof(struct pcpu, pc_kesp0));
sys/i386/i386/genassym.c
202
ASSYM(PC_TRAMPSTK, offsetof(struct pcpu, pc_trampstk));
sys/i386/i386/genassym.c
203
ASSYM(PC_COPYOUT_BUF, offsetof(struct pcpu, pc_copyout_buf));
sys/i386/i386/genassym.c
204
ASSYM(PC_IBPB_SET, offsetof(struct pcpu, pc_ibpb_set));
sys/i386/i386/genassym.c
205
ASSYM(PC_MDS_TMP, offsetof(struct pcpu, pc_mds_tmp));
sys/i386/i386/genassym.c
206
ASSYM(PC_MDS_BUF, offsetof(struct pcpu, pc_mds_buf));
sys/i386/i386/genassym.c
207
ASSYM(PC_MDS_BUF64, offsetof(struct pcpu, pc_mds_buf64));
sys/i386/i386/genassym.c
79
ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace));
sys/i386/i386/genassym.c
80
ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap));
sys/i386/i386/genassym.c
81
ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
sys/i386/i386/genassym.c
83
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
sys/i386/i386/genassym.c
84
ASSYM(TD_AST, offsetof(struct thread, td_ast));
sys/i386/i386/genassym.c
85
ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
sys/i386/i386/genassym.c
86
ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
sys/i386/i386/genassym.c
87
ASSYM(TD_PFLAGS, offsetof(struct thread, td_pflags));
sys/i386/i386/genassym.c
88
ASSYM(TD_PROC, offsetof(struct thread, td_proc));
sys/i386/i386/genassym.c
89
ASSYM(TD_MD, offsetof(struct thread, td_md));
sys/i386/i386/genassym.c
93
ASSYM(P_MD, offsetof(struct proc, p_md));
sys/i386/i386/genassym.c
94
ASSYM(MD_LDT, offsetof(struct mdproc, md_ldt));
sys/i386/i386/machdep.c
155
CTASSERT(offsetof(struct pcpu, pc_curthread) == 0);
sys/i386/i386/npx.c
1016
offsetof(struct xstate_hdr, xstate_bv));
sys/i386/i386/npx.c
154
CTASSERT(X86_XSTATE_XCR0_OFFSET >= offsetof(struct savexmm, sv_pad) &&
sys/i386/i386/npx.c
500
offsetof(struct xstate_hdr, xstate_bv));
sys/i386/i386/vm_machdep.c
84
_Static_assert(__OFFSETOF_MONITORBUF == offsetof(struct pcpu, pc_monitorbuf),
sys/i386/include/pcpu_aux.h
53
: "i" (offsetof(struct pcpu, pc_curthread)));
sys/i386/include/pcpu_aux.h
64
: "i" (offsetof(struct pcpu, pc_curpcb)));
sys/i386/linux/linux_genassym.c
10
ASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc));
sys/i386/linux/linux_genassym.c
11
ASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_uc));
sys/i386/linux/linux_genassym.c
12
ASSYM(LINUX_RT_SIGF_SC, offsetof(struct l_ucontext, uc_mcontext));
sys/i386/linux/linux_genassym.c
13
ASSYM(L_SC_GS, offsetof(struct l_sigcontext, sc_gs));
sys/i386/linux/linux_genassym.c
14
ASSYM(L_SC_FS, offsetof(struct l_sigcontext, sc_fs));
sys/i386/linux/linux_genassym.c
15
ASSYM(L_SC_ES, offsetof(struct l_sigcontext, sc_es));
sys/i386/linux/linux_genassym.c
16
ASSYM(L_SC_DS, offsetof(struct l_sigcontext, sc_ds));
sys/i386/linux/linux_genassym.c
17
ASSYM(L_SC_CS, offsetof(struct l_sigcontext, sc_cs));
sys/i386/linux/linux_genassym.c
18
ASSYM(L_SC_SS, offsetof(struct l_sigcontext, sc_ss));
sys/i386/linux/linux_genassym.c
19
ASSYM(L_SC_EFLAGS, offsetof(struct l_sigcontext, sc_eflags));
sys/i386/linux/linux_genassym.c
20
ASSYM(L_SC_EDI, offsetof(struct l_sigcontext, sc_edi));
sys/i386/linux/linux_genassym.c
21
ASSYM(L_SC_ESI, offsetof(struct l_sigcontext, sc_esi));
sys/i386/linux/linux_genassym.c
22
ASSYM(L_SC_EBP, offsetof(struct l_sigcontext, sc_ebp));
sys/i386/linux/linux_genassym.c
23
ASSYM(L_SC_EBX, offsetof(struct l_sigcontext, sc_ebx));
sys/i386/linux/linux_genassym.c
24
ASSYM(L_SC_EDX, offsetof(struct l_sigcontext, sc_edx));
sys/i386/linux/linux_genassym.c
25
ASSYM(L_SC_ECX, offsetof(struct l_sigcontext, sc_ecx));
sys/i386/linux/linux_genassym.c
26
ASSYM(L_SC_EAX, offsetof(struct l_sigcontext, sc_eax));
sys/i386/linux/linux_genassym.c
27
ASSYM(L_SC_EIP, offsetof(struct l_sigcontext, sc_eip));
sys/i386/linux/linux_genassym.c
28
ASSYM(L_SC_ESP, offsetof(struct l_sigcontext, sc_esp_at_signal));
sys/kern/kern_acct.c
95
_Static_assert(sizeof(struct acctv3) - offsetof(struct acctv3, ac_trailer) ==
sys/kern/kern_acct.c
96
sizeof(struct acctv2) - offsetof(struct acctv2, ac_trailer), "trailer");
sys/kern/kern_acct.c
97
_Static_assert(sizeof(struct acctv3) - offsetof(struct acctv3, ac_len2) ==
sys/kern/kern_acct.c
98
sizeof(struct acctv2) - offsetof(struct acctv2, ac_len2), "len2");
sys/kern/kern_context.c
45
#define UC_COPY_SIZE offsetof(ucontext_t, uc_link)
sys/kern/kern_descrip.c
2028
ntable = malloc(offsetof(struct fdescenttbl, fdt_ofiles) +
sys/kern/kern_descrip.c
4758
kif->kf_structsize = offsetof(struct kinfo_file, kf_path) +
sys/kern/kern_jail.c
5049
&jail_default_enforce_statfs, offsetof(struct prison, pr_enforce_statfs),
sys/kern/kern_jail.c
5055
&jail_default_devfs_rsnum, offsetof(struct prison, pr_devfs_rsnum),
sys/kern/kern_jail.c
5081
NULL, offsetof(struct prison, pr_childmax), sysctl_jail_children,
sys/kern/kern_jail.c
5085
NULL, offsetof(struct prison, pr_childcount), sysctl_jail_children,
sys/kern/kern_jail.c
800
_Static_assert(offsetof(struct prison_ip, ctx) == 0,
sys/kern/kern_ktrace.c
113
[KTR_SYSCALL] = offsetof(struct ktr_syscall, ktr_args),
sys/kern/kern_linker.c
79
const int kld_off_address = offsetof(struct linker_file, address);
sys/kern/kern_linker.c
80
const int kld_off_filename = offsetof(struct linker_file, filename);
sys/kern/kern_linker.c
81
const int kld_off_pathname = offsetof(struct linker_file, pathname);
sys/kern/kern_linker.c
82
const int kld_off_next = offsetof(struct linker_file, link.tqe_next);
sys/kern/kern_mib.c
402
(void *)(offsetof(struct prison, pr_hostname)), MAXHOSTNAMELEN,
sys/kern/kern_mib.c
406
(void *)(offsetof(struct prison, pr_domainname)), MAXHOSTNAMELEN,
sys/kern/kern_mib.c
410
(void *)(offsetof(struct prison, pr_hostuuid)), HOSTUUIDLEN,
sys/kern/kern_proc.c
147
const int proc_off_p_pid = offsetof(struct proc, p_pid);
sys/kern/kern_proc.c
148
const int proc_off_p_comm = offsetof(struct proc, p_comm);
sys/kern/kern_proc.c
149
const int proc_off_p_list = offsetof(struct proc, p_list);
sys/kern/kern_proc.c
150
const int proc_off_p_hash = offsetof(struct proc, p_hash);
sys/kern/kern_proc.c
151
const int proc_off_p_threads = offsetof(struct proc, p_threads);
sys/kern/kern_proc.c
152
const int thread_off_td_tid = offsetof(struct thread, td_tid);
sys/kern/kern_proc.c
153
const int thread_off_td_name = offsetof(struct thread, td_name);
sys/kern/kern_proc.c
154
const int thread_off_td_oncpu = offsetof(struct thread, td_oncpu);
sys/kern/kern_proc.c
155
const int thread_off_td_pcb = offsetof(struct thread, td_pcb);
sys/kern/kern_proc.c
156
const int thread_off_td_plist = offsetof(struct thread, td_plist);
sys/kern/kern_proc.c
2772
offsetof(struct kinfo_vmentry, kve_path) +
sys/kern/kern_sharedpage.c
237
shared_page_write(tk_base + offsetof(struct vdso_timekeep, tk_ver),
sys/kern/kern_sharedpage.c
257
shared_page_write(tk_base + offsetof(struct vdso_timekeep32,
sys/kern/kern_sig.c
3879
bcopy(src, dest, offsetof(struct sigacts, ps_refcnt));
sys/kern/kern_tc.c
1391
memcpy(th, tho, offsetof(struct timehands, th_generation));
sys/kern/kern_thread.c
101
_Static_assert(offsetof(struct proc, p_filemon) == 0x3c8,
sys/kern/kern_thread.c
103
_Static_assert(offsetof(struct proc, p_comm) == 0x3e0,
sys/kern/kern_thread.c
105
_Static_assert(offsetof(struct proc, p_emuldata) == 0x4d0,
sys/kern/kern_thread.c
109
_Static_assert(offsetof(struct thread, td_flags) == 0x9c,
sys/kern/kern_thread.c
111
_Static_assert(offsetof(struct thread, td_pflags) == 0xa8,
sys/kern/kern_thread.c
113
_Static_assert(offsetof(struct thread, td_frame) == 0x33c,
sys/kern/kern_thread.c
115
_Static_assert(offsetof(struct thread, td_emuldata) == 0x380,
sys/kern/kern_thread.c
117
_Static_assert(offsetof(struct proc, p_flag) == 0x6c,
sys/kern/kern_thread.c
119
_Static_assert(offsetof(struct proc, p_pid) == 0x78,
sys/kern/kern_thread.c
121
_Static_assert(offsetof(struct proc, p_filemon) == 0x270,
sys/kern/kern_thread.c
123
_Static_assert(offsetof(struct proc, p_comm) == 0x284,
sys/kern/kern_thread.c
125
_Static_assert(offsetof(struct proc, p_emuldata) == 0x318,
sys/kern/kern_thread.c
89
_Static_assert(offsetof(struct thread, td_flags) == 0x108,
sys/kern/kern_thread.c
91
_Static_assert(offsetof(struct thread, td_pflags) == 0x114,
sys/kern/kern_thread.c
93
_Static_assert(offsetof(struct thread, td_frame) == 0x4e8,
sys/kern/kern_thread.c
95
_Static_assert(offsetof(struct thread, td_emuldata) == 0x6f0,
sys/kern/kern_thread.c
97
_Static_assert(offsetof(struct proc, p_flag) == 0xb8,
sys/kern/kern_thread.c
99
_Static_assert(offsetof(struct proc, p_pid) == 0xc4,
sys/kern/subr_blist.c
227
bl = malloc(offsetof(struct blist, bl_root[nodes]), M_SWAP, flags |
sys/kern/subr_firmware.c
119
((intptr_t)(x) - offsetof(struct priv_fw, fw)) )
sys/kern/subr_stats.c
1111
offsetof(struct statsblob, maxsz));
sys/kern/subr_stats.c
1114
offsetof(struct statsblob, maxsz));
sys/kern/subr_stats.c
1117
memcpy(*dst, src, offsetof(struct statsblob, maxsz));
sys/kern/subr_stats.c
1126
offsetof(struct statsblob, cursz);
sys/kern/subr_stats.c
1130
offsetof(struct statsblob, cursz);
sys/kern/subr_stats.c
121
_Static_assert(offsetof(struct statsblobv1, cursz) +
sys/kern/subr_stats.c
123
offsetof(struct statsblob, opaque),
sys/kern/sys_process.c
1536
data >= offsetof(struct ptrace_lwpinfo, pl_siginfo)
sys/kern/sys_process.c
744
offsetof(struct ptrace_sc_remote, pscr_ret),
sys/kern/sysv_sem.c
187
#define SEMUSZ(x) SEM_ALIGN(offsetof(struct sem_undo, un_ent[(x)]))
sys/kern/uipc_mbuf.c
185
CTASSERT(MSIZE - offsetof(struct mbuf, m_dat) == MLEN);
sys/kern/uipc_mbuf.c
186
CTASSERT(MSIZE - offsetof(struct mbuf, m_pktdat) == MHLEN);
sys/kern/uipc_mbuf.c
192
CTASSERT(offsetof(struct mbuf, m_dat) % 8 == 0);
sys/kern/uipc_mbuf.c
193
CTASSERT(offsetof(struct mbuf, m_pktdat) % 8 == 0);
sys/kern/uipc_mbuf.c
207
CTASSERT(offsetof(struct mbuf, m_dat) == 32);
sys/kern/uipc_mbuf.c
211
CTASSERT(offsetof(struct mbuf, m_dat) == 24);
sys/kern/uipc_socket.c
1152
offsetof(struct sockaddr_un,
sys/kern/uipc_socket.c
1551
sizeof(struct socket) - offsetof(struct socket, so_rcv));
sys/kern/uipc_syscalls.c
1518
if (len < offsetof(struct sockaddr, sa_data[0]))
sys/kern/uipc_usrreq.c
1947
_Static_assert(offsetof(struct pkthdr, memlen) + sizeof(u_int) <=
sys/kern/uipc_usrreq.c
1948
offsetof(struct pkthdr, ctllen), "unix/dgram can not store ctllen");
sys/kern/uipc_usrreq.c
2856
len = nam->sa_len - offsetof(struct sockaddr_un, sun_path);
sys/kern/uipc_usrreq.c
583
namelen = soun->sun_len - offsetof(struct sockaddr_un, sun_path);
sys/kern/vfs_acl.c
179
offsetof(struct acl, acl_maxcnt), &am);
sys/kern/vfs_cache.c
427
(offsetof(struct namecache, nc_name) + (pathlen) + 1)
sys/kern/vfs_cache.c
435
(offsetof(struct namecache_ts, nc_nc) + CACHE_ZONE_SMALL_SIZE)
sys/kern/vfs_cache.c
439
(offsetof(struct namecache_ts, nc_nc) + CACHE_ZONE_LARGE_SIZE)
sys/kern/vfs_export.c
183
off = offsetof(struct sockaddr_in, sin_addr) << 3;
sys/kern/vfs_export.c
191
off = offsetof(struct sockaddr_in6, sin6_addr) << 3;
sys/kern/vfs_subr.c
619
_Static_assert(offsetof(struct vnode, v_vnodelist) <
sys/kern/vfs_subr.c
620
offsetof(struct vnode, v_dbatchcpu),
sys/kern/vfs_subr.c
623
off1 = offsetof(struct vnode, v_vnodelist);
sys/kern/vfs_subr.c
624
off2 = offsetof(struct vnode, v_dbatchcpu);
sys/kern/vfs_syscalls.c
2448
sizeof(*ost) - offsetof(struct freebsd11_stat,
sys/kern/vfs_syscalls.c
4179
dstdp.d_reclen - offsetof(struct freebsd11_dirent, d_name) -
sys/net/bpf.c
102
_Static_assert(offsetof(struct bpf_if, bif_dlist) == 0,
sys/net/bpf.c
174
(offsetof(type, bh_hdrlen) + sizeof(((type *)0)->bh_hdrlen))
sys/net/debugnet_inet.c
478
memset(ip, 0, offsetof(struct ip, ip_p));
sys/net/ieee8023ad_lacp.c
932
return (memcmp(a, b, offsetof(struct lacp_peerinfo, lip_state)));
sys/net/if.c
115
offsetof(struct ifreq, ifr_ifru), "gap between ifr_name and ifr_ifru");
sys/net/if.c
3210
offsetof(struct ifreq, ifr_addr));
sys/net/if.c
3211
max_len += offsetof(struct ifreq, ifr_addr);
sys/net/if.c
870
masklen = offsetof(struct sockaddr_dl, sdl_data[0]) + IFNAMSIZ;
sys/net/if_clone.h
106
_Static_assert(offsetof(struct if_clone_addreq, destroy_f) ==
sys/net/if_clone.h
107
offsetof(struct if_clone_addreq_v2, destroy_f),
sys/net/if_gre.c
173
#define _OUT(_field) offsetof(struct nl_parsed_gre, _field)
sys/net/if_gre.c
996
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/net/if_ovpn.c
2171
crp->crp_digest_start = offsetof(struct ovpn_wire_header, auth_tag);
sys/net/if_ovpn.c
2256
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/net/if_ovpn.c
2336
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/net/if_ovpn.c
248
((sc)->counters[offsetof(struct ovpn_counters, name)/sizeof(uint64_t)])
sys/net/if_ovpn.c
250
((peer)->counters[offsetof(struct ovpn_peer_counters, name) / \
sys/net/if_ovpn.c
2619
offsetof(struct ovpn_wire_header, auth_tag);
sys/net/if_pflog.h
62
#define PFLOG_HDRLEN PFLOG_ALIGN(offsetof(struct pfloghdr, pad2))
sys/net/if_pflog.h
64
#define PFLOG_REAL_HDRLEN offsetof(struct pfloghdr, pad2)
sys/net/if_vlan.c
1227
#define _OUT(_field) offsetof(struct nl_parsed_vlan, _field)
sys/net/if_vxlan.c
2728
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/net/route.c
380
if (sdl->sdl_nlen + offsetof(struct sockaddr_dl, sdl_data) > sdl->sdl_len)
sys/net/rtsock.c
1432
if (offsetof(struct sockaddr_dl, sdl_data) + sdl->sdl_nlen + sdl->sdl_alen > sdl->sdl_len) {
sys/net/rtsock.c
1456
if (SA_SIZE(gw) < offsetof(struct sockaddr_in, sin_zero)) {
sys/net/rtsock.c
1486
size_t sdl_min_len = offsetof(struct sockaddr_dl, sdl_data);
sys/net/rtsock.c
1533
if (SA_SIZE(dst_sa) < offsetof(struct sockaddr_in, sin_zero)) {
sys/net/rtsock.c
1544
int len = mask_sa->sin_len - offsetof(struct sockaddr_in, sin_addr);
sys/net/rtsock.c
1607
int len = mask_sa->sin6_len - offsetof(struct sockaddr_in6, sin6_addr);
sys/net/rtsock.c
2303
sizeof(*rtm) - offsetof(struct rt_msghdr, rtm_index));
sys/net/rtsock.c
2343
ifm32->ifm_data_off = offsetof(struct if_msghdrl32, ifm_data);
sys/net/rtsock.c
2354
ifm->ifm_data_off = offsetof(struct if_msghdrl, ifm_data);
sys/net/rtsock.c
2418
offsetof(struct ifa_msghdrl32, ifam_data);
sys/net/rtsock.c
2429
ifam->ifam_data_off = offsetof(struct ifa_msghdrl, ifam_data);
sys/net/vnet.h
107
counter_u64_add(VNET(name)[offsetof(type, f) / sizeof(uint64_t)], (v))
sys/net/vnet.h
110
counter_u64_fetch(VNET(name)[offsetof(type, f) / sizeof(uint64_t)])
sys/net80211/ieee80211_ageq.c
224
offsetof(struct mbuf, m_nextpkt));
sys/net80211/ieee80211_node.c
1123
memset(ies, 0, offsetof(struct ieee80211_ies, data));
sys/net80211/ieee80211_output.c
1272
offsetof(struct ip, ip_tos), sizeof(tos), &tos);
sys/net80211/ieee80211_output.c
1287
offsetof(struct ip6_hdr, ip6_flow), sizeof(flow),
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
874
offsetof(struct ubt_hci_event_command_compl, opcode),
sys/netgraph/bluetooth/drivers/ubt/ng_ubt_intel.c
122
evt = malloc(offsetof(struct ubt_hci_event_command_compl, data) +
sys/netgraph/bluetooth/drivers/ubt/ng_ubt_rtl.c
197
evt = malloc(offsetof(struct ubt_hci_event_command_compl, data) +
sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h
103
((evt)->header.length + offsetof(struct ubt_hci_event, data))
sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h
105
(offsetof(struct ubt_hci_event_command_compl, data) - \
sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h
106
offsetof(struct ubt_hci_event_command_compl, numpkt))
sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h
83
((cmd)->length + offsetof(struct ubt_hci_cmd, data))
sys/netgraph/netflow/netflow_v9.c
175
m_old = m_getptr(m, t->flow_header + offsetof(struct netflow_v9_flowset_header, length), &offset);
sys/netgraph/ng_nat.c
135
(buf - offsetof(struct ng_nat_list_redirects, redirects));
sys/netgraph/ng_nat.c
916
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netgraph/ng_patch.c
74
offsetof(struct ng_patch_config, ops));
sys/netgraph/ng_socket.c
241
if (sap->sg_len > NG_NODESIZ + offsetof(struct sockaddr_ng, sg_data)) {
sys/netgraph/ng_socket.c
250
len = sap->sg_len - offsetof(struct sockaddr_ng, sg_data);
sys/netgraph/ng_socket.c
437
offsetof(struct sockaddr_ng, sg_data)) {
sys/netgraph/ng_socket.c
441
len = sap->sg_len - offsetof(struct sockaddr_ng, sg_data);
sys/netgraph/ng_tag.c
134
(buf - offsetof(struct ng_tag_hookin, tag_data));
sys/netgraph/ng_tag.c
145
(buf - offsetof(struct ng_tag_hookout, tag_data));
sys/netinet/icmp6.h
666
offsetof(struct icmp6stat, name) / sizeof(uint64_t)); \
sys/netinet/icmp6.h
721
offsetof(struct icmp6_ifstat, tag) / sizeof(uint64_t)], 1);\
sys/netinet/icmp_var.h
88
offsetof(struct icmpstat, name) / sizeof(uint64_t)); \
sys/netinet/in_fib_algo.c
507
#define KEY_LEN_INET (offsetof(struct sockaddr_in, sin_addr) + sizeof(in_addr_t))
sys/netinet/in_fib_algo.c
508
#define OFF_LEN_INET (8 * offsetof(struct sockaddr_in, sin_addr))
sys/netinet/in_pcb.h
363
offsetof(struct inpcb, inp_start_zero))
sys/netinet/ip_carp.c
2548
#define _OUT(_field) offsetof(struct nl_carp_parsed, _field)
sys/netinet/ip_carp.c
258
counter_u64_add(VNET(carpstats)[offsetof(struct carpstats, name) / \
sys/netinet/ip_gre.c
528
m_copydata(m, hlen + offsetof(struct ip, ip_tos),
sys/netinet/ip_gre.c
530
m_copydata(m, hlen + offsetof(struct ip, ip_id),
sys/netinet/ip_input.c
1281
offsetof(struct sockaddr_dl, sdl_data[0]);
sys/netinet/ip_output.c
1060
m_copydata(m, offset + offsetof(struct udphdr,
sys/netinet/ip_var.h
163
offsetof(struct ipstat, name) / sizeof(uint64_t)); \
sys/netinet/ip_var.h
170
offsetof(struct ipstat, name) / sizeof(uint64_t)); \
sys/netinet/sctp_crc32.c
121
offset += offsetof(struct sctphdr, checksum);
sys/netinet/sctp_os_bsd.h
333
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum); \
sys/netinet/sctp_output.c
11304
mout->m_pkthdr.csum_data = offsetof(struct sctphdr, checksum);
sys/netinet/sctp_output.c
11327
mout->m_pkthdr.csum_data = offsetof(struct sctphdr, checksum);
sys/netinet/sctp_output.c
4216
m->m_pkthdr.csum_data = offsetof(struct sctphdr, checksum);
sys/netinet/sctp_output.c
4541
m->m_pkthdr.csum_data = offsetof(struct sctphdr, checksum);
sys/netinet/sctp_usrreq.c
2207
left = *optsize - offsetof(struct sctp_getaddresses, addr);
sys/netinet/sctp_usrreq.c
2208
*optsize = offsetof(struct sctp_getaddresses, addr);
sys/netinet/sctp_usrreq.c
2285
limit = *optsize - offsetof(struct sctp_getaddresses, addr);
sys/netinet/sctp_usrreq.c
2287
*optsize = offsetof(struct sctp_getaddresses, addr) + actual;
sys/netinet/sctputil.c
7347
ip6cp->ip6c_off + sizeof(struct udphdr) + offsetof(struct sctphdr, checksum)) {
sys/netinet/sctputil.c
7408
offsetof(struct sctp_init, a_rwnd)) {
sys/netinet/tcp_log_buf.c
2101
entrysize = offsetof(struct tcp_log_buffer, tlb_th);
sys/netinet/tcp_output.c
1357
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_output.c
1363
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_output.c
1377
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_output.c
1384
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_output.c
552
offsetof(struct ipoption, ipopt_list);
sys/netinet/tcp_stacks/bbr.c
12564
offsetof(struct ipoption, ipopt_list);
sys/netinet/tcp_stacks/bbr.c
12929
offsetof(struct ipoption, ipopt_list);
sys/netinet/tcp_stacks/bbr.c
13418
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_stacks/bbr.c
13424
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_stacks/bbr.c
13437
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_stacks/bbr.c
13444
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_stacks/rack.c
18593
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_stacks/rack.c
18599
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_stacks/rack.c
18613
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_stacks/rack.c
18620
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_stacks/rack.c
19149
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_stacks/rack.c
19155
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_stacks/rack.c
19169
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_stacks/rack.c
19176
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_stacks/rack.c
21228
offsetof(struct ipoption, ipopt_list);
sys/netinet/tcp_stacks/rack.c
21713
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_stacks/rack.c
21719
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_stacks/rack.c
21733
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_stacks/rack.c
21740
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_stacks/tcp_bbr.h
503
#define BBR_STAT_ADD(name, amm) counter_u64_add(bbr_stat_arry[(offsetof(struct bbr_stats, name)/sizeof(uint64_t))], (amm))
sys/netinet/tcp_stacks/tcp_bbr.h
507
#define BBR_OPTS_ADD(name, amm) counter_u64_add(bbr_opts_arry[(offsetof(struct bbr_opts_stats, name)/sizeof(uint64_t))], (amm))
sys/netinet/tcp_stacks/tcp_rack.h
290
#define RACK_OPTS_ADD(name, amm) counter_u64_add(rack_opts_arry[(offsetof(struct rack_opts_stats, name)/sizeof(uint64_t))], (amm))
sys/netinet/tcp_subr.c
2059
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_subr.c
2064
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_subr.c
2080
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_subr.c
2084
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_subr.c
3204
(sizeof(struct ip) + 8 + i_hlen + sizeof(struct udphdr) + offsetof(struct tcphdr, th_ack))) {
sys/netinet/tcp_syncache.c
2040
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_syncache.c
2046
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_syncache.c
2071
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/tcp_syncache.c
2077
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netinet/tcp_usrreq.c
243
nam->sa_len < offsetof(struct sockaddr_in, sin_zero) ||
sys/netinet/tcp_var.h
1152
kmod_tcpstat_add(offsetof(struct tcpstat, name) / \
sys/netinet/tcp_var.h
312
offsetof(struct tcpcb, t_start_zero))
sys/netinet/udp_usrreq.c
1466
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netinet/udp_usrreq.c
1620
nam->sa_len < offsetof(struct sockaddr_in, sin_zero) ||
sys/netinet/udp_usrreq.c
571
char b[offsetof(struct ipovly, ih_src)];
sys/netinet/udp_var.h
114
offsetof(struct udpcb, u_start_zero))
sys/netinet/udp_var.h
146
offsetof(struct udpstat, name) / sizeof(uint64_t)); \
sys/netinet6/frag6.c
481
offsetof(struct ip6_hdr, ip6_plen));
sys/netinet6/frag6.c
524
offsetof(struct ip6_hdr, ip6_plen));
sys/netinet6/frag6.c
652
offsetof(struct ip6_frag, ip6f_offlg));
sys/netinet6/frag6.c
662
offsetof(struct ip6_frag, ip6f_offlg));
sys/netinet6/frag6.c
704
offsetof(struct ip6_frag, ip6f_offlg));
sys/netinet6/icmp6.c
1375
replylen += offsetof(struct ni_reply_fqdn, ni_fqdn_namelen);
sys/netinet6/icmp6.c
1398
replylen += offsetof(struct ni_reply_fqdn, ni_fqdn_namelen);
sys/netinet6/in6.c
123
_Static_assert(offsetof(struct in6_ifreq, ifr_ifru) ==
sys/netinet6/in6.c
124
offsetof(struct ifreq, ifr_ifru),
sys/netinet6/in6_fib_algo.c
72
#define KEY_LEN_INET6 (offsetof(struct sa_in6, sin6_addr) + sizeof(struct in6_addr))
sys/netinet6/in6_fib_algo.c
73
#define OFF_LEN_INET6 (8 * offsetof(struct sa_in6, sin6_addr))
sys/netinet6/in6_rmx.c
144
rh = rt_table_init(offsetof(struct sockaddr_in6, sin6_addr) << 3,
sys/netinet6/in6_var.h
578
offsetof(struct in6_ifstat, tag) / sizeof(uint64_t)], 1);\
sys/netinet6/ip6_input.c
1562
return (offsetof(struct ip6_hdr, ip6_nxt));
sys/netinet6/ip6_output.c
2247
const int icmp6off = offsetof(struct icmp6_hdr, icmp6_cksum);
sys/netinet6/raw_ip6.c
499
off = offsetof(struct icmp6_hdr, icmp6_cksum);
sys/netinet6/sctp6_usrreq.c
269
(int32_t)(ip6cp->ip6c_off + offsetof(struct sctphdr, checksum))) {
sys/netinet6/sctp6_usrreq.c
318
offsetof(struct sctp_init, a_rwnd)) {
sys/netinet6/udp6_usrreq.c
938
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netipsec/ipsec_input.c
175
m_copydata(m, offsetof(struct ip, ip_dst),
sys/netipsec/ipsec_input.c
183
m_copydata(m, offsetof(struct ip6_hdr, ip6_dst),
sys/netipsec/ipsec_input.c
253
offsetof(struct ip, ip_p), AF_INET, proto);
sys/netipsec/ipsec_input.c
560
offsetof(struct ip6_hdr, ip6_nxt), AF_INET6, proto);
sys/netipsec/ipsec_output.c
300
off = offsetof(struct ip, ip_p);
sys/netipsec/ipsec_output.c
305
off = offsetof(struct ip6_hdr, ip6_nxt);
sys/netipsec/ipsec_output.c
717
off = offsetof(struct ip, ip_p);
sys/netipsec/ipsec_output.c
723
off = offsetof(struct ip6_hdr, ip6_nxt);
sys/netipsec/key.c
5425
bcopy(sav, newsav, offsetof(struct secasvar, chain));
sys/netipsec/key.c
8466
const int sal = offsetof(struct sockaddr, sa_len) + sizeof(sa->sa_len);
sys/netipsec/udpencap.c
153
off = offsetof(struct ip, ip_p);
sys/netipsec/udpencap.c
166
off = offsetof(struct ip6_hdr, ip6_nxt);
sys/netipsec/udpencap.c
305
m->m_pkthdr.csum_data = offsetof(struct udphdr, uh_sum);
sys/netipsec/udpencap.c
328
off = offsetof(struct udphdr, uh_sum);
sys/netipsec/udpencap.c
330
off = offsetof(struct tcphdr, th_sum);
sys/netipsec/xform_ah.c
1024
offsetof(struct ip, ip_len),
sys/netipsec/xform_ah.c
1027
m_copyback(m, offsetof(struct ip, ip_len),
sys/netipsec/xform_ah.c
1035
offsetof(struct ip6_hdr, ip6_plen),
sys/netipsec/xform_ah.c
1038
m_copyback(m, offsetof(struct ip6_hdr, ip6_plen),
sys/netipsec/xform_ah.c
793
m_copydata(m, skip + offsetof(struct newah, ah_seq),
sys/netipsec/xform_esp.c
590
m_copydata(m, skip + offsetof(struct newesp, esp_seq),
sys/netlink/ktest_netlink_message_writer.c
46
#define _OUT(_field) offsetof(struct test_nlbuf_attrs, _field)
sys/netlink/netlink_generic.c
239
#define _IN(_field) offsetof(struct genlmsghdr, _field)
sys/netlink/netlink_generic.c
240
#define _OUT(_field) offsetof(struct nl_parsed_family, _field)
sys/netlink/netlink_message_parser.c
296
data_len -= offsetof(struct rtvia, rtvia_addr);
sys/netlink/netlink_snl.h
1007
#define _OUT(_field) offsetof(struct snl_msg_info, _field)
sys/netlink/netlink_snl.h
845
#define _OUT(_field) offsetof(struct snl_attr_bit, _field)
sys/netlink/netlink_snl.h
861
#define _OUT(_field) offsetof(struct snl_attr_bitset, _field)
sys/netlink/netlink_snl.h
950
#define _IN(_field) offsetof(struct nlmsgerr, _field)
sys/netlink/netlink_snl.h
951
#define _OUT(_field) offsetof(struct snl_errmsg_data, _field)
sys/netlink/netlink_snl.h
966
#define _IN(_field) offsetof(struct nlmsgerr, _field)
sys/netlink/netlink_snl.h
967
#define _OUT(_field) offsetof(struct snl_errmsg_data, _field)
sys/netlink/netlink_snl_generic.h
73
#define _OUT(_field) offsetof(struct _snl_genl_ctrl_mcast_group, _field)
sys/netlink/netlink_snl_generic.h
96
#define _IN(_field) offsetof(struct genlmsghdr, _field)
sys/netlink/netlink_snl_generic.h
97
#define _OUT(_field) offsetof(struct _getfamily_attrs, _field)
sys/netlink/netlink_snl_route_parsers.h
130
#define _IN(_field) offsetof(struct rtmsg, _field)
sys/netlink/netlink_snl_route_parsers.h
131
#define _OUT(_field) offsetof(struct snl_parsed_route, _field)
sys/netlink/netlink_snl_route_parsers.h
193
#define _IN(_field) offsetof(struct ifinfomsg, _field)
sys/netlink/netlink_snl_route_parsers.h
194
#define _OUT(_field) offsetof(struct snl_parsed_link, _field)
sys/netlink/netlink_snl_route_parsers.h
231
#define _IN(_field) offsetof(struct ifinfomsg, _field)
sys/netlink/netlink_snl_route_parsers.h
232
#define _OUT(_field) offsetof(struct snl_parsed_link_simple, _field)
sys/netlink/netlink_snl_route_parsers.h
257
#define _IN(_field) offsetof(struct ndmsg, _field)
sys/netlink/netlink_snl_route_parsers.h
258
#define _OUT(_field) offsetof(struct snl_parsed_neigh, _field)
sys/netlink/netlink_snl_route_parsers.h
305
#define _IN(_field) offsetof(struct ifaddrmsg, _field)
sys/netlink/netlink_snl_route_parsers.h
306
#define _OUT(_field) offsetof(struct snl_parsed_addr, _field)
sys/netlink/netlink_snl_route_parsers.h
357
#define _IN(_field) offsetof(struct nhmsg, _field)
sys/netlink/netlink_snl_route_parsers.h
358
#define _OUT(_field) offsetof(struct snl_parsed_nhop, _field)
sys/netlink/netlink_snl_route_parsers.h
59
#define _IN(_field) offsetof(struct rtnexthop, _field)
sys/netlink/netlink_snl_route_parsers.h
60
#define _OUT(_field) offsetof(struct rta_mpath_nh, _field)
sys/netlink/route/iface.c
395
#define _IN(_field) offsetof(struct ifinfomsg, _field)
sys/netlink/route/iface.c
396
#define _OUT(_field) offsetof(struct nl_parsed_link, _field)
sys/netlink/route/iface.c
755
#define _IN(_field) offsetof(struct ifaddrmsg, _field)
sys/netlink/route/iface.c
756
#define _OUT(_field) offsetof(struct nl_parsed_ifa, _field)
sys/netlink/route/neigh.c
316
#define _IN(_field) offsetof(struct ndmsg, _field)
sys/netlink/route/neigh.c
317
#define _OUT(_field) offsetof(struct nl_parsed_neigh, _field)
sys/netlink/route/nexthop.c
703
#define _IN(_field) offsetof(struct nhmsg, _field)
sys/netlink/route/nexthop.c
704
#define _OUT(_field) offsetof(struct nl_parsed_nhop, _field)
sys/netlink/route/rt.c
405
#define _IN(_field) offsetof(struct rtnexthop, _field)
sys/netlink/route/rt.c
406
#define _OUT(_field) offsetof(struct rta_mpath_nh, _field)
sys/netlink/route/rt.c
501
#define _IN(_field) offsetof(struct rtmsg, _field)
sys/netlink/route/rt.c
502
#define _OUT(_field) offsetof(struct nl_parsed_route, _field)
sys/netpfil/ipfilter/netinet/fil.c
283
{ { (void *)offsetof(struct ipf_main_softc_s, ipf_flags) },
sys/netpfil/ipfilter/netinet/fil.c
287
{ { (void *)offsetof(struct ipf_main_softc_s, ipf_active) },
sys/netpfil/ipfilter/netinet/fil.c
291
{ { (void *)offsetof(ipf_main_softc_t, ipf_control_forwarding) },
sys/netpfil/ipfilter/netinet/fil.c
295
{ { (void *)offsetof(ipf_main_softc_t, ipf_update_ipid) },
sys/netpfil/ipfilter/netinet/fil.c
299
{ { (void *)offsetof(ipf_main_softc_t, ipf_chksrc) },
sys/netpfil/ipfilter/netinet/fil.c
303
{ { (void *)offsetof(ipf_main_softc_t, ipf_minttl) },
sys/netpfil/ipfilter/netinet/fil.c
307
{ { (void *)offsetof(ipf_main_softc_t, ipf_icmpminfragmtu) },
sys/netpfil/ipfilter/netinet/fil.c
311
{ { (void *)offsetof(ipf_main_softc_t, ipf_pass) },
sys/netpfil/ipfilter/netinet/fil.c
315
{ { (void *)offsetof(ipf_main_softc_t, ipf_tcpidletimeout) },
sys/netpfil/ipfilter/netinet/fil.c
319
{ { (void *)offsetof(ipf_main_softc_t, ipf_tcpclosewait) },
sys/netpfil/ipfilter/netinet/fil.c
323
{ { (void *)offsetof(ipf_main_softc_t, ipf_tcplastack) },
sys/netpfil/ipfilter/netinet/fil.c
327
{ { (void *)offsetof(ipf_main_softc_t, ipf_tcptimeout) },
sys/netpfil/ipfilter/netinet/fil.c
331
{ { (void *)offsetof(ipf_main_softc_t, ipf_tcpsynsent) },
sys/netpfil/ipfilter/netinet/fil.c
335
{ { (void *)offsetof(ipf_main_softc_t, ipf_tcpsynrecv) },
sys/netpfil/ipfilter/netinet/fil.c
339
{ { (void *)offsetof(ipf_main_softc_t, ipf_tcpclosed) },
sys/netpfil/ipfilter/netinet/fil.c
343
{ { (void *)offsetof(ipf_main_softc_t, ipf_tcphalfclosed) },
sys/netpfil/ipfilter/netinet/fil.c
347
{ { (void *)offsetof(ipf_main_softc_t, ipf_tcptimewait) },
sys/netpfil/ipfilter/netinet/fil.c
351
{ { (void *)offsetof(ipf_main_softc_t, ipf_udptimeout) },
sys/netpfil/ipfilter/netinet/fil.c
355
{ { (void *)offsetof(ipf_main_softc_t, ipf_udpacktimeout) },
sys/netpfil/ipfilter/netinet/fil.c
359
{ { (void *)offsetof(ipf_main_softc_t, ipf_icmptimeout) },
sys/netpfil/ipfilter/netinet/fil.c
363
{ { (void *)offsetof(ipf_main_softc_t, ipf_icmpacktimeout) },
sys/netpfil/ipfilter/netinet/fil.c
367
{ { (void *)offsetof(ipf_main_softc_t, ipf_iptimeout) },
sys/netpfil/ipfilter/netinet/fil.c
371
{ { (void *)offsetof(ipf_main_softc_t, ipf_max_namelen) },
sys/netpfil/ipfilter/netinet/fil.c
376
{ { (void *)offsetof(ipf_main_softc_t, ipf_get_loopback) },
sys/netpfil/ipfilter/netinet/fil.c
4342
offsetof(frdest_t, fd_name) - offsetof(frdest_t, fd_addr)) || \
sys/netpfil/ipfilter/netinet/ip_compat.h
666
#ifndef offsetof
sys/netpfil/ipfilter/netinet/ip_dstlist.c
666
size - offsetof(frdest_t, fd_ip6))) {
sys/netpfil/ipfilter/netinet/ip_fil.h
452
#define FI_CSIZE offsetof(fr_info_t, fin_icode)
sys/netpfil/ipfilter/netinet/ip_fil.h
453
#define FI_LCSIZE offsetof(fr_info_t, fin_dp)
sys/netpfil/ipfilter/netinet/ip_fil.h
458
#define FI_COPYSIZE offsetof(fr_info_t, fin_dp)
sys/netpfil/ipfilter/netinet/ip_fil.h
788
#define FR_CMPSIZ (offsetof(struct frentry, fr_ifnames) - \
sys/netpfil/ipfilter/netinet/ip_fil.h
789
offsetof(struct frentry, fr_func))
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
547
iclen = hlen + offsetof(struct icmp, icmp_ip) + ohlen;
sys/netpfil/ipfilter/netinet/ip_fil_freebsd.c
558
iclen = hlen + offsetof(struct icmp, icmp_ip) + ohlen;
sys/netpfil/ipfilter/netinet/ip_frag.c
103
{ { (void *)offsetof(ipf_frag_softc_t, ipfr_ttl) },
sys/netpfil/ipfilter/netinet/ip_frag.c
99
{ { (void *)offsetof(ipf_frag_softc_t, ipfr_size) },
sys/netpfil/ipfilter/netinet/ip_frag.h
90
#define IPFR_CMPSZ (offsetof(ipfr_t, ipfr_pass) - \
sys/netpfil/ipfilter/netinet/ip_frag.h
91
offsetof(ipfr_t, ipfr_ifp))
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
119
{ { (void *)offsetof(ipf_ftp_softc_t, ipf_p_ftp_debug) },
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
123
{ { (void *)offsetof(ipf_ftp_softc_t, ipf_p_ftp_pasvonly) },
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
127
{ { (void *)offsetof(ipf_ftp_softc_t, ipf_p_ftp_insecure) },
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
131
{ { (void *)offsetof(ipf_ftp_softc_t, ipf_p_ftp_pasvrdr) },
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
135
{ { (void *)offsetof(ipf_ftp_softc_t, ipf_p_ftp_forcepasv) },
sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
139
{ { (void *)offsetof(ipf_ftp_softc_t, ipf_p_ftp_single_xfer) },
sys/netpfil/ipfilter/netinet/ip_htable.c
128
{ { (void *)offsetof(ipf_htable_softc_t, ipf_htable_size_max) },
sys/netpfil/ipfilter/netinet/ip_log.c
138
{ { (void *)offsetof(ipf_log_softc_t, ipl_suppress) },
sys/netpfil/ipfilter/netinet/ip_log.c
142
{ { (void *)offsetof(ipf_log_softc_t, ipl_logall) },
sys/netpfil/ipfilter/netinet/ip_log.c
146
{ { (void *)offsetof(ipf_log_softc_t, ipl_logsize) },
sys/netpfil/ipfilter/netinet/ip_nat.c
128
{ { (void *)offsetof(ipf_nat_softc_t, ipf_nat_lock) },
sys/netpfil/ipfilter/netinet/ip_nat.c
132
{ { (void *)offsetof(ipf_nat_softc_t, ipf_nat_table_sz) },
sys/netpfil/ipfilter/netinet/ip_nat.c
136
{ { (void *)offsetof(ipf_nat_softc_t, ipf_nat_table_max) },
sys/netpfil/ipfilter/netinet/ip_nat.c
140
{ { (void *)offsetof(ipf_nat_softc_t, ipf_nat_maprules_sz) },
sys/netpfil/ipfilter/netinet/ip_nat.c
144
{ { (void *)offsetof(ipf_nat_softc_t, ipf_nat_rdrrules_sz) },
sys/netpfil/ipfilter/netinet/ip_nat.c
148
{ { (void *)offsetof(ipf_nat_softc_t, ipf_nat_hostmap_sz) },
sys/netpfil/ipfilter/netinet/ip_nat.c
152
{ { (void *)offsetof(ipf_nat_softc_t, ipf_nat_maxbucket) },
sys/netpfil/ipfilter/netinet/ip_nat.c
156
{ { (void *)offsetof(ipf_nat_softc_t, ipf_nat_logging) },
sys/netpfil/ipfilter/netinet/ip_nat.c
160
{ { (void *)offsetof(ipf_nat_softc_t, ipf_nat_doflush) },
sys/netpfil/ipfilter/netinet/ip_nat.c
164
{ { (void *)offsetof(ipf_nat_softc_t, ipf_nat_table_wm_low) },
sys/netpfil/ipfilter/netinet/ip_nat.c
168
{ { (void *)offsetof(ipf_nat_softc_t, ipf_nat_table_wm_high) },
sys/netpfil/ipfilter/netinet/ip_nat.c
2001
bzero((char *)nat, offsetof(struct nat, nat_tqe));
sys/netpfil/ipfilter/netinet/ip_nat.c
8284
offsetof(ipnat_t, in_ndst) - offsetof(ipnat_t, in_v)) != 0)
sys/netpfil/ipfilter/netinet/ip_nat.c
8288
n1->in_size - offsetof(ipnat_t, in_tuc)) != 0)
sys/netpfil/ipfilter/netinet/ip_nat.h
383
#define IPN_CMPSIZ (sizeof(ipnat_t) - offsetof(ipnat_t, in_v))
sys/netpfil/ipfilter/netinet/ip_pool.c
381
if (node.ipn_addr.adf_len != offsetof(addrfamily_t, adf_addr) +
sys/netpfil/ipfilter/netinet/ip_pool.c
389
if (node.ipn_addr.adf_len != offsetof(addrfamily_t, adf_addr) +
sys/netpfil/ipfilter/netinet/ip_pool.c
469
if (node.ipn_addr.adf_len != offsetof(addrfamily_t, adf_addr) +
sys/netpfil/ipfilter/netinet/ip_pool.c
477
if (node.ipn_addr.adf_len != offsetof(addrfamily_t, adf_addr) +
sys/netpfil/ipfilter/netinet/ip_pool.c
742
v.adf_len = offsetof(addrfamily_t, adf_addr) +
sys/netpfil/ipfilter/netinet/ip_pool.c
748
v.adf_len = offsetof(addrfamily_t, adf_addr) +
sys/netpfil/ipfilter/netinet/ip_proxy.c
117
{ { (void *)offsetof(ipf_proxy_softc_t, ips_proxy_debug) },
sys/netpfil/ipfilter/netinet/ip_state.c
101
{ { (void *)offsetof(ipf_state_softc_t, ipf_state_size) },
sys/netpfil/ipfilter/netinet/ip_state.c
105
{ { (void *)offsetof(ipf_state_softc_t, ipf_state_lock) },
sys/netpfil/ipfilter/netinet/ip_state.c
109
{ { (void *)offsetof(ipf_state_softc_t, ipf_state_maxbucket) },
sys/netpfil/ipfilter/netinet/ip_state.c
113
{ { (void *)offsetof(ipf_state_softc_t, ipf_state_logging) },
sys/netpfil/ipfilter/netinet/ip_state.c
117
{ { (void *)offsetof(ipf_state_softc_t, ipf_state_wm_high) },
sys/netpfil/ipfilter/netinet/ip_state.c
121
{ { (void *)offsetof(ipf_state_softc_t, ipf_state_wm_low) },
sys/netpfil/ipfilter/netinet/ip_state.c
125
{ { (void *)offsetof(ipf_state_softc_t, ipf_state_wm_freq) },
sys/netpfil/ipfilter/netinet/ip_state.c
1297
offsetof(struct ipstate, is_authmsk) -
sys/netpfil/ipfilter/netinet/ip_state.c
1298
offsetof(struct ipstate, is_pass)) == 0) {
sys/netpfil/ipfilter/netinet/ip_state.c
904
bzero((char *)isn, offsetof(struct ipstate, is_pkts));
sys/netpfil/ipfilter/netinet/ip_state.c
97
{ { (void *)offsetof(ipf_state_softc_t, ipf_state_max) },
sys/netpfil/ipfilter/netinet/ip_sync.c
678
bzero((char *)is, offsetof(ipstate_t, is_die));
sys/netpfil/ipfilter/netinet/ip_sync.c
680
sizeof(*is) - offsetof(ipstate_t, is_die));
sys/netpfil/ipfilter/netinet/ip_sync.c
914
bzero((char *)n, offsetof(nat_t, nat_age));
sys/netpfil/ipfilter/netinet/ip_sync.c
916
sizeof(*n) - offsetof(nat_t, nat_age));
sys/netpfil/ipfilter/netinet/ip_tftp_pxy.c
51
{ { (void *)offsetof(ipf_tftp_softc_t, ipf_p_tftp_readonly) },
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
619
NULL, offsetof(ipf_nat_softc_t, ipf_nat_defage), "");
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
621
NULL, offsetof(ipf_state_softc_t, ipf_state_size), "");
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
623
NULL, offsetof(ipf_state_softc_t, ipf_state_max), "");
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
625
NULL, offsetof(ipf_nat_softc_t, ipf_nat_table_max), "");
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
627
NULL, offsetof(ipf_nat_softc_t, ipf_nat_table_sz), "");
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
629
NULL, offsetof(ipf_nat_softc_t, ipf_nat_maprules_sz), "");
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
631
NULL, offsetof(ipf_nat_softc_t, ipf_nat_rdrrules_sz), "");
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
633
NULL, offsetof(ipf_nat_softc_t, ipf_nat_hostmap_sz), "");
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
635
NULL, offsetof(ipf_auth_softc_t, ipf_auth_size), "");
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
637
NULL, offsetof(ipf_auth_softc_t, ipf_auth_used), "");
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
639
NULL, offsetof(ipf_auth_softc_t, ipf_auth_defaultage), "");
sys/netpfil/ipfilter/netinet/mlfk_ipl.c
641
NULL, offsetof(ipf_frag_softc_t, ipfr_ttl), "");
sys/netpfil/ipfilter/netinet/radix_ipf.c
1079
afp->adf_len = offsetof(addrfamily_t, adf_addr) + 4;
sys/netpfil/ipfilter/netinet/radix_ipf.c
1082
afp->adf_len = offsetof(addrfamily_t, adf_addr) + 16;
sys/netpfil/ipfilter/netinet/radix_ipf.c
1093
afp->adf_len = offsetof(addrfamily_t, adf_addr) + 4;
sys/netpfil/ipfilter/netinet/radix_ipf.c
1096
afp->adf_len = offsetof(addrfamily_t, adf_addr) + 4;
sys/netpfil/ipfilter/netinet/radix_ipf.c
1099
afp->adf_len = offsetof(addrfamily_t, adf_addr) + 16;
sys/netpfil/ipfilter/netinet/radix_ipf.c
29
#define ADF_OFF offsetof(addrfamily_t, adf_addr)
sys/netpfil/ipfilter/netinet/radix_ipf.c
73
mlen = mask->adf_len - offsetof(addrfamily_t, adf_addr);
sys/netpfil/ipfw/dn_sched_wf2q.c
271
int ofs = offsetof(struct wf2qp_queue, heap_pos);
sys/netpfil/ipfw/ip_dummynet.c
1992
heap_init(&V_dn_cfg.evheap, 16, offsetof(struct dn_id, id));
sys/netpfil/ipfw/ip_dummynet.c
2543
offsetof(struct dn_schk, schk_next),
sys/netpfil/ipfw/ip_dummynet.c
2546
offsetof(struct dn_fsk, fsk_next),
sys/netpfil/ipfw/ip_dummynet.c
2553
heap_init(&V_dn_cfg.evheap, 16, offsetof(struct dn_id, id));
sys/netpfil/ipfw/ip_dummynet.c
468
offsetof(struct dn_queue, q_next),
sys/netpfil/ipfw/ip_dummynet.c
884
offsetof(struct dn_sch_inst, si_next),
sys/netpfil/ipfw/ip_fw2.c
1064
offsetof(struct sctp_init, a_rwnd))) {
sys/netpfil/ipfw/ip_fw2.c
1632
offsetof(struct sctp_init, a_rwnd))
sys/netpfil/ipfw/ip_fw2.c
1636
offsetof(struct sctp_init, a_rwnd));
sys/netpfil/ipfw/ip_fw2.c
1757
PULLUP_TO(hlen, ulp, offsetof(
sys/netpfil/ipfw/ip_fw2.c
1829
offsetof(struct sctp_init, a_rwnd))
sys/netpfil/ipfw/ip_fw2.c
1833
offsetof(struct sctp_init, a_rwnd));
sys/netpfil/ipfw/ip_fw2.c
945
offsetof(struct sctp_init, a_rwnd))) {
sys/netpfil/ipfw/ip_fw_compat.c
467
ci->urule_numoff = offsetof(struct ip_fw_rule, rulenum);
sys/netpfil/ipfw/ip_fw_dynamic.c
2447
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netpfil/ipfw/ip_fw_dynamic.c
2552
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netpfil/ipfw/ip_fw_nat.c
442
offsetof(struct tcphdr, th_sum);
sys/netpfil/ipfw/ip_fw_nat.c
448
offsetof(struct udphdr, uh_sum);
sys/netpfil/ipfw/ip_fw_sockopt.c
2492
ci->urule_numoff = offsetof(struct ip_fw_rule, rulenum);
sys/netpfil/ipfw/ip_fw_table_algo.c
321
#define KEY_LEN_INET (offsetof(struct sockaddr_in, sin_addr) + sizeof(in_addr_t))
sys/netpfil/ipfw/ip_fw_table_algo.c
322
#define KEY_LEN_INET6 (offsetof(struct sa_in6, sin6_addr) + sizeof(struct in6_addr))
sys/netpfil/ipfw/ip_fw_table_algo.c
323
#define KEY_LEN_MAC (offsetof(struct sa_mac, mac_addr) + ETHER_ADDR_LEN)
sys/netpfil/ipfw/ip_fw_table_algo.c
325
#define OFF_LEN_INET (8 * offsetof(struct sockaddr_in, sin_addr))
sys/netpfil/ipfw/ip_fw_table_algo.c
326
#define OFF_LEN_INET6 (8 * offsetof(struct sa_in6, sin6_addr))
sys/netpfil/ipfw/ip_fw_table_algo.c
327
#define OFF_LEN_MAC (8 * offsetof(struct sa_mac, mac_addr))
sys/netpfil/ipfw/nat64/nat64_translate.c
1120
if (len < offsetof(struct tcphdr, th_sum))
sys/netpfil/ipfw/nat64/nat64_translate.c
1132
if (len < offsetof(struct udphdr, uh_sum))
sys/netpfil/ipfw/nat64/nat64_translate.c
1633
offsetof(struct ip6_hdr, ip6_plen), &cfg->stats,
sys/netpfil/ipfw/nat64/nat64_translate.h
71
offsetof(struct nat64_stats, f) / sizeof(uint64_t)], (v))
sys/netpfil/ipfw/nat64/nat64_translate.h
75
offsetof(struct nat64_stats, f) / sizeof(uint64_t)])
sys/netpfil/ipfw/nptv6/nptv6.h
37
offsetof(struct ipfw_nptv6_stats, f) / sizeof(uint64_t)], (v))
sys/netpfil/ipfw/nptv6/nptv6.h
41
offsetof(struct ipfw_nptv6_stats, f) / sizeof(uint64_t)])
sys/netpfil/ipfw/test/dn_test.h
30
#ifndef offsetof
sys/netpfil/ipfw/test/mylist.h
32
(ty *)((char *)((pL)->next) - offsetof(ty, member))
sys/netpfil/pf/pf.c
4169
#define PTR_IP(field) (offsetof(struct ip, field))
sys/netpfil/pf/pf.c
4170
#define PTR_IP6(field) (offsetof(struct ip6_hdr, field))
sys/netpfil/pf/pf.c
4322
ptr = offsetof(struct ip6_hdr, ip6_nxt);
sys/netpfil/pf/pf.c
4531
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netpfil/pf/pf.c
4555
m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
sys/netpfil/pf/pf.c
830
m_copyback(m, off + offsetof(struct sctphdr, checksum),
sys/netpfil/pf/pf.c
835
m_copyback(m, off + offsetof(struct sctphdr, checksum),
sys/netpfil/pf/pf_nl.c
1074
#define _OUT(_field) offsetof(struct pf_kstate_kill, _field)
sys/netpfil/pf/pf_nl.c
1148
#define _OUT(_field) offsetof(struct nl_parsed_set_statusif, _field)
sys/netpfil/pf/pf_nl.c
1300
#define _OUT(_field) offsetof(struct pfioc_natlook, _field)
sys/netpfil/pf/pf_nl.c
1352
#define _OUT(_field) offsetof(struct pf_nl_set_debug, _field)
sys/netpfil/pf/pf_nl.c
1381
#define _OUT(_field) offsetof(struct pf_nl_set_timeout, _field)
sys/netpfil/pf/pf_nl.c
1439
#define _OUT(_field) offsetof(struct pf_nl_set_limit, _field)
sys/netpfil/pf/pf_nl.c
1538
#define _OUT(_field) offsetof(struct pf_pooladdr, _field)
sys/netpfil/pf/pf_nl.c
1546
#define _OUT(_field) offsetof(struct pf_nl_pooladdr, _field)
sys/netpfil/pf/pf_nl.c
1658
#define _OUT(_field) offsetof(struct pfioc_ruleset, _field)
sys/netpfil/pf/pf_nl.c
1819
#define _OUT(_field) offsetof(struct pfioc_table, _field)
sys/netpfil/pf/pf_nl.c
2124
#define _OUT(_field) offsetof(struct pfr_addr, _field)
sys/netpfil/pf/pf_nl.c
2157
#define _OUT(_field) offsetof(struct nl_parsed_table_addrs, _field)
sys/netpfil/pf/pf_nl.c
2366
#define _OUT(_field) offsetof(struct nl_parsed_table_astats, _field)
sys/netpfil/pf/pf_nl.c
2510
#define _OUT(_field) offsetof(struct pfioc_statelim, _field)
sys/netpfil/pf/pf_nl.c
2609
#define _OUT(_field) offsetof(struct pfioc_sourcelim, _field)
sys/netpfil/pf/pf_nl.c
2715
#define _OUT(_field) offsetof(struct nlattr_source, _field)
sys/netpfil/pf/pf_nl.c
2802
#define _OUT(_field) offsetof(struct pfioc_source_kill, _field)
sys/netpfil/pf/pf_nl.c
418
#define _OUT(_field) offsetof(struct pf_addr_wrap, _field)
sys/netpfil/pf/pf_nl.c
456
#define _OUT(_field) offsetof(struct pf_rule_addr, _field)
sys/netpfil/pf/pf_nl.c
490
#define _OUT(_field) offsetof(struct pf_mape_portset, _field)
sys/netpfil/pf/pf_nl.c
540
#define _OUT(_field) offsetof(struct nl_parsed_labels, _field)
sys/netpfil/pf/pf_nl.c
583
#define _OUT(_field) offsetof(struct pf_kpool, _field)
sys/netpfil/pf/pf_nl.c
617
#define _OUT(_field) offsetof(struct pf_rule_uid, _field)
sys/netpfil/pf/pf_nl.c
666
#define _OUT(_field) offsetof(struct nl_parsed_timeout, _field)
sys/netpfil/pf/pf_nl.c
68
#define _IN(_field) offsetof(struct genlmsghdr, _field)
sys/netpfil/pf/pf_nl.c
69
#define _OUT(_field) offsetof(struct nl_parsed_state, _field)
sys/netpfil/pf/pf_nl.c
705
#define _OUT(_field) offsetof(struct pf_kthreshold, _field)
sys/netpfil/pf/pf_nl.c
713
#define _OUT(_field) offsetof(struct pf_krule, _field)
sys/netpfil/pf/pf_nl.c
801
#define _OUT(_field) offsetof(struct nl_parsed_addrule, _field)
sys/netpfil/pf/pf_nl.c
833
#define _OUT(_field) offsetof(struct pfioc_rule, _field)
sys/netpfil/pf/pf_nl.c
885
#define _OUT(_field) offsetof(struct nl_parsed_get_rule, _field)
sys/netpfil/pf/pf_norm.c
1002
m = m_getptr(m, extoff + offsetof(struct ip6_ext, ip6e_nxt),
sys/netpfil/pf/pf_norm.c
1070
m = m_getptr(m, extoff + offsetof(struct ip6_ext, ip6e_nxt),
sys/netpfil/pf/pf_norm.c
971
m = m_getptr(m, hdrlen + offsetof(struct ip6_frag, ip6f_nxt), &off);
sys/netpfil/pf/pf_table.c
2025
offsetof(struct sockaddr_in, sin_addr) * 8) ||
sys/netpfil/pf/pf_table.c
2027
offsetof(struct sockaddr_in6, sin6_addr) * 8)) {
sys/netpfil/pf/pflow.c
1392
#define _OUT(_field) offsetof(struct pflow_parsed_del, _field)
sys/netpfil/pf/pflow.c
1417
#define _OUT(_field) offsetof(struct pflow_parsed_get, _field)
sys/netpfil/pf/pflow.c
1538
#define _OUT(_field) offsetof(struct pflow_sockaddr, _field)
sys/netpfil/pf/pflow.c
1555
#define _OUT(_field) offsetof(struct pflow_parsed_set, _field)
sys/ofed/drivers/infiniband/core/ib_device.c
89
#define IB_MANDATORY_FUNC(x) { offsetof(struct ib_device, x), #x }
sys/ofed/drivers/infiniband/core/ib_sa_query.c
152
.struct_offset_bytes = offsetof(struct ib_sa_path_rec, field), \
sys/ofed/drivers/infiniband/core/ib_sa_query.c
252
.struct_offset_bytes = offsetof(struct ib_sa_mcmember_rec, field), \
sys/ofed/drivers/infiniband/core/ib_sa_query.c
336
.struct_offset_bytes = offsetof(struct ib_sa_service_rec, field), \
sys/ofed/drivers/infiniband/core/ib_sa_query.c
384
.struct_offset_bytes = offsetof(struct ib_class_port_info, field), \
sys/ofed/drivers/infiniband/core/ib_sa_query.c
460
.struct_offset_bytes = offsetof(struct ib_sa_guidinfo_rec, field), \
sys/ofed/drivers/infiniband/core/ib_ud_header.c
46
.struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \
sys/ofed/drivers/infiniband/core/ib_user_mad.c
700
(u32 __user *) ((char *)arg + offsetof(struct ib_user_mad_reg_req, id)))) {
sys/ofed/drivers/infiniband/core/ib_user_mad.c
769
(u32 __user *) ((char *)arg + offsetof(struct
sys/ofed/drivers/infiniband/core/ib_user_mad.c
819
offsetof(struct ib_user_mad_reg_req2, id)))) {
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2757
ib_filter_sz = offsetof(struct ib_flow_eth_filter, real_sz);
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2768
ib_filter_sz = offsetof(struct ib_flow_ipv4_filter, real_sz);
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2779
ib_filter_sz = offsetof(struct ib_flow_ipv6_filter, real_sz);
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2795
ib_filter_sz = offsetof(struct ib_flow_tcp_udp_filter, real_sz);
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2806
ib_filter_sz = offsetof(struct ib_flow_tunnel_filter, real_sz);
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2821
ib_filter_sz = offsetof(struct ib_flow_esp_filter, real_sz);
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2832
ib_filter_sz = offsetof(struct ib_flow_gre_filter, real_sz);
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2843
ib_filter_sz = offsetof(struct ib_flow_mpls_filter, real_sz);
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
3731
BUILD_BUG_ON_ZERO(offsetof(req, response) != 0) + \
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
3742
BUILD_BUG_ON_ZERO(offsetof(req, driver_data) != \
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
3744
BUILD_BUG_ON_ZERO(offsetof(resp, driver_data) != \
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
3750
1 + BUILD_BUG_ON_ZERO(offsetof(req, driver_data) != \
sys/ofed/drivers/infiniband/core/ib_uverbs_ioctl.c
548
offsetof(struct bundle_priv, internal_buffer);
sys/ofed/drivers/infiniband/core/ib_uverbs_ioctl.c
82
offsetof(struct bundle_priv, internal_buffer) +
sys/ofed/drivers/infiniband/core/ib_uverbs_std_types_flow_action.c
150
BUILD_BUG_ON(offsetof(struct ib_uverbs_flow_ipv4_filter, flags) +
sys/ofed/drivers/infiniband/core/ib_uverbs_std_types_flow_action.c
152
BUILD_BUG_ON(offsetof(struct ib_uverbs_flow_ipv6_filter, reserved) +
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
420
sizeof(*tx_sa) - offsetof(typeof(*tx_sa), busy));
sys/ofed/include/rdma/ib_verbs.h
2072
BUILD_BUG_ON_ZERO(offsetof(struct drv_struct, member)) + \
sys/ofed/include/rdma/uverbs_ioctl.h
422
offsetof(struct ib_device, ibdev_fn) + \
sys/ofed/include/rdma/uverbs_ioctl.h
437
offsetof(struct ib_device, ibdev_fn) + \
sys/opencrypto/crypto.c
226
cryptostats[offsetof(struct cryptostats, stat) / sizeof(uint64_t)],\
sys/powerpc/powerpc/db_trace.c
53
#define DB_OFFSET(x) (db_expr_t *)offsetof(struct trapframe, x)
sys/powerpc/powerpc/exec_machdep.c
281
offsetof(struct sigframe32, sf_uc) :
sys/powerpc/powerpc/exec_machdep.c
282
offsetof(struct sigframe, sf_uc));
sys/powerpc/powerpc/exec_machdep.c
285
offsetof(struct sigframe, sf_uc);
sys/powerpc/powerpc/exec_machdep.c
295
offsetof(struct sigframe32, sf_si);
sys/powerpc/powerpc/exec_machdep.c
300
offsetof(struct sigframe, sf_si);
sys/powerpc/powerpc/exec_machdep.c
942
#define UC32_COPY_SIZE offsetof(ucontext32_t, uc_link)
sys/powerpc/powerpc/genassym.c
105
ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock));
sys/powerpc/powerpc/genassym.c
111
ASSYM(PC_KERNSLB, offsetof(struct pcpu, pc_aim.slb));
sys/powerpc/powerpc/genassym.c
112
ASSYM(PC_USERSLB, offsetof(struct pcpu, pc_aim.userslb));
sys/powerpc/powerpc/genassym.c
113
ASSYM(PC_SLBSAVE, offsetof(struct pcpu, pc_aim.slbsave));
sys/powerpc/powerpc/genassym.c
114
ASSYM(PC_SLBSTACK, offsetof(struct pcpu, pc_aim.slbstack));
sys/powerpc/powerpc/genassym.c
119
ASSYM(PM_SR, offsetof(struct pmap, pm_sr));
sys/powerpc/powerpc/genassym.c
124
ASSYM(PM_ROOT, offsetof(struct pmap, pm_root));
sys/powerpc/powerpc/genassym.c
126
ASSYM(PM_PDIR, offsetof(struct pmap, pm_pdir));
sys/powerpc/powerpc/genassym.c
145
ASSYM(FRAME_0, offsetof(struct trapframe, fixreg[0]));
sys/powerpc/powerpc/genassym.c
146
ASSYM(FRAME_1, offsetof(struct trapframe, fixreg[1]));
sys/powerpc/powerpc/genassym.c
147
ASSYM(FRAME_2, offsetof(struct trapframe, fixreg[2]));
sys/powerpc/powerpc/genassym.c
148
ASSYM(FRAME_3, offsetof(struct trapframe, fixreg[3]));
sys/powerpc/powerpc/genassym.c
149
ASSYM(FRAME_4, offsetof(struct trapframe, fixreg[4]));
sys/powerpc/powerpc/genassym.c
150
ASSYM(FRAME_5, offsetof(struct trapframe, fixreg[5]));
sys/powerpc/powerpc/genassym.c
151
ASSYM(FRAME_6, offsetof(struct trapframe, fixreg[6]));
sys/powerpc/powerpc/genassym.c
152
ASSYM(FRAME_7, offsetof(struct trapframe, fixreg[7]));
sys/powerpc/powerpc/genassym.c
153
ASSYM(FRAME_8, offsetof(struct trapframe, fixreg[8]));
sys/powerpc/powerpc/genassym.c
154
ASSYM(FRAME_9, offsetof(struct trapframe, fixreg[9]));
sys/powerpc/powerpc/genassym.c
155
ASSYM(FRAME_10, offsetof(struct trapframe, fixreg[10]));
sys/powerpc/powerpc/genassym.c
156
ASSYM(FRAME_11, offsetof(struct trapframe, fixreg[11]));
sys/powerpc/powerpc/genassym.c
157
ASSYM(FRAME_12, offsetof(struct trapframe, fixreg[12]));
sys/powerpc/powerpc/genassym.c
158
ASSYM(FRAME_13, offsetof(struct trapframe, fixreg[13]));
sys/powerpc/powerpc/genassym.c
159
ASSYM(FRAME_14, offsetof(struct trapframe, fixreg[14]));
sys/powerpc/powerpc/genassym.c
160
ASSYM(FRAME_15, offsetof(struct trapframe, fixreg[15]));
sys/powerpc/powerpc/genassym.c
161
ASSYM(FRAME_16, offsetof(struct trapframe, fixreg[16]));
sys/powerpc/powerpc/genassym.c
162
ASSYM(FRAME_17, offsetof(struct trapframe, fixreg[17]));
sys/powerpc/powerpc/genassym.c
163
ASSYM(FRAME_18, offsetof(struct trapframe, fixreg[18]));
sys/powerpc/powerpc/genassym.c
164
ASSYM(FRAME_19, offsetof(struct trapframe, fixreg[19]));
sys/powerpc/powerpc/genassym.c
165
ASSYM(FRAME_20, offsetof(struct trapframe, fixreg[20]));
sys/powerpc/powerpc/genassym.c
166
ASSYM(FRAME_21, offsetof(struct trapframe, fixreg[21]));
sys/powerpc/powerpc/genassym.c
167
ASSYM(FRAME_22, offsetof(struct trapframe, fixreg[22]));
sys/powerpc/powerpc/genassym.c
168
ASSYM(FRAME_23, offsetof(struct trapframe, fixreg[23]));
sys/powerpc/powerpc/genassym.c
169
ASSYM(FRAME_24, offsetof(struct trapframe, fixreg[24]));
sys/powerpc/powerpc/genassym.c
170
ASSYM(FRAME_25, offsetof(struct trapframe, fixreg[25]));
sys/powerpc/powerpc/genassym.c
171
ASSYM(FRAME_26, offsetof(struct trapframe, fixreg[26]));
sys/powerpc/powerpc/genassym.c
172
ASSYM(FRAME_27, offsetof(struct trapframe, fixreg[27]));
sys/powerpc/powerpc/genassym.c
173
ASSYM(FRAME_28, offsetof(struct trapframe, fixreg[28]));
sys/powerpc/powerpc/genassym.c
174
ASSYM(FRAME_29, offsetof(struct trapframe, fixreg[29]));
sys/powerpc/powerpc/genassym.c
175
ASSYM(FRAME_30, offsetof(struct trapframe, fixreg[30]));
sys/powerpc/powerpc/genassym.c
176
ASSYM(FRAME_31, offsetof(struct trapframe, fixreg[31]));
sys/powerpc/powerpc/genassym.c
177
ASSYM(FRAME_LR, offsetof(struct trapframe, lr));
sys/powerpc/powerpc/genassym.c
178
ASSYM(FRAME_CR, offsetof(struct trapframe, cr));
sys/powerpc/powerpc/genassym.c
179
ASSYM(FRAME_CTR, offsetof(struct trapframe, ctr));
sys/powerpc/powerpc/genassym.c
180
ASSYM(FRAME_XER, offsetof(struct trapframe, xer));
sys/powerpc/powerpc/genassym.c
181
ASSYM(FRAME_SRR0, offsetof(struct trapframe, srr0));
sys/powerpc/powerpc/genassym.c
182
ASSYM(FRAME_SRR1, offsetof(struct trapframe, srr1));
sys/powerpc/powerpc/genassym.c
183
ASSYM(FRAME_EXC, offsetof(struct trapframe, exc));
sys/powerpc/powerpc/genassym.c
184
ASSYM(FRAME_AIM_DAR, offsetof(struct trapframe, dar));
sys/powerpc/powerpc/genassym.c
185
ASSYM(FRAME_AIM_DSISR, offsetof(struct trapframe, cpu.aim.dsisr));
sys/powerpc/powerpc/genassym.c
186
ASSYM(FRAME_BOOKE_DEAR, offsetof(struct trapframe, dar));
sys/powerpc/powerpc/genassym.c
187
ASSYM(FRAME_BOOKE_ESR, offsetof(struct trapframe, cpu.booke.esr));
sys/powerpc/powerpc/genassym.c
188
ASSYM(FRAME_BOOKE_DBCR0, offsetof(struct trapframe, cpu.booke.dbcr0));
sys/powerpc/powerpc/genassym.c
190
ASSYM(CF_FUNC, offsetof(struct callframe, cf_func));
sys/powerpc/powerpc/genassym.c
191
ASSYM(CF_ARG0, offsetof(struct callframe, cf_arg0));
sys/powerpc/powerpc/genassym.c
192
ASSYM(CF_ARG1, offsetof(struct callframe, cf_arg1));
sys/powerpc/powerpc/genassym.c
195
ASSYM(PCB_CONTEXT, offsetof(struct pcb, pcb_context));
sys/powerpc/powerpc/genassym.c
196
ASSYM(PCB_CR, offsetof(struct pcb, pcb_cr));
sys/powerpc/powerpc/genassym.c
197
ASSYM(PCB_DSCR, offsetof(struct pcb, pcb_dscr));
sys/powerpc/powerpc/genassym.c
198
ASSYM(PCB_FSCR, offsetof(struct pcb, pcb_fscr));
sys/powerpc/powerpc/genassym.c
199
ASSYM(PCB_TAR, offsetof(struct pcb, pcb_tar));
sys/powerpc/powerpc/genassym.c
200
ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp));
sys/powerpc/powerpc/genassym.c
201
ASSYM(PCB_TOC, offsetof(struct pcb, pcb_toc));
sys/powerpc/powerpc/genassym.c
202
ASSYM(PCB_LR, offsetof(struct pcb, pcb_lr));
sys/powerpc/powerpc/genassym.c
203
ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
sys/powerpc/powerpc/genassym.c
204
ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
sys/powerpc/powerpc/genassym.c
210
ASSYM(PCB_AIM_USR_VSID, offsetof(struct pcb, pcb_cpu.aim.usr_vsid));
sys/powerpc/powerpc/genassym.c
211
ASSYM(PCB_BOOKE_DBCR0, offsetof(struct pcb, pcb_cpu.booke.dbcr0));
sys/powerpc/powerpc/genassym.c
213
ASSYM(PCB_VSCR, offsetof(struct pcb, pcb_vec.vscr));
sys/powerpc/powerpc/genassym.c
215
ASSYM(PCB_EBB_EBBHR, offsetof(struct pcb, pcb_ebb.ebbhr));
sys/powerpc/powerpc/genassym.c
216
ASSYM(PCB_EBB_EBBRR, offsetof(struct pcb, pcb_ebb.ebbrr));
sys/powerpc/powerpc/genassym.c
217
ASSYM(PCB_EBB_BESCR, offsetof(struct pcb, pcb_ebb.bescr));
sys/powerpc/powerpc/genassym.c
219
ASSYM(PCB_LMON_LMRR, offsetof(struct pcb, pcb_lm.lmrr));
sys/powerpc/powerpc/genassym.c
220
ASSYM(PCB_LMON_LMSER, offsetof(struct pcb, pcb_lm.lmser));
sys/powerpc/powerpc/genassym.c
222
ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
sys/powerpc/powerpc/genassym.c
223
ASSYM(TD_PROC, offsetof(struct thread, td_proc));
sys/powerpc/powerpc/genassym.c
224
ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
sys/powerpc/powerpc/genassym.c
226
ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace));
sys/powerpc/powerpc/genassym.c
228
ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap));
sys/powerpc/powerpc/genassym.c
230
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
sys/powerpc/powerpc/genassym.c
231
ASSYM(TD_AST, offsetof(struct thread, td_ast));
sys/powerpc/powerpc/genassym.c
233
ASSYM(SF_UC, offsetof(struct sigframe, sf_uc));
sys/powerpc/powerpc/genassym.c
57
ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
sys/powerpc/powerpc/genassym.c
58
ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
sys/powerpc/powerpc/genassym.c
59
ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap));
sys/powerpc/powerpc/genassym.c
60
ASSYM(PC_TEMPSAVE, offsetof(struct pcpu, pc_tempsave));
sys/powerpc/powerpc/genassym.c
61
ASSYM(PC_DISISAVE, offsetof(struct pcpu, pc_disisave));
sys/powerpc/powerpc/genassym.c
62
ASSYM(PC_DBSAVE, offsetof(struct pcpu, pc_dbsave));
sys/powerpc/powerpc/genassym.c
63
ASSYM(PC_RESTORE, offsetof(struct pcpu, pc_restore));
sys/powerpc/powerpc/genassym.c
64
ASSYM(PC_FLAGS, offsetof(struct pcpu, pc_flags));
sys/powerpc/powerpc/genassym.c
67
ASSYM(PC_BOOKE_CRITSAVE, offsetof(struct pcpu, pc_booke.critsave));
sys/powerpc/powerpc/genassym.c
68
ASSYM(PC_BOOKE_MCHKSAVE, offsetof(struct pcpu, pc_booke.mchksave));
sys/powerpc/powerpc/genassym.c
69
ASSYM(PC_BOOKE_TLBSAVE, offsetof(struct pcpu, pc_booke.tlbsave));
sys/powerpc/powerpc/genassym.c
70
ASSYM(PC_BOOKE_TLB_LEVEL, offsetof(struct pcpu, pc_booke.tlb_level));
sys/powerpc/powerpc/genassym.c
71
ASSYM(PC_BOOKE_TLB_LOCK, offsetof(struct pcpu, pc_booke.tlb_lock));
sys/riscv/include/pcpu_aux.h
47
_Static_assert(offsetof(struct pcpu, __pad) +
sys/riscv/riscv/db_interface.c
63
#define DB_OFFSET(x) (db_expr_t *)offsetof(struct trapframe, x)
sys/riscv/riscv/genassym.c
101
ASSYM(KF_TP, offsetof(struct kernframe, kf_tp));
sys/riscv/riscv/genassym.c
103
ASSYM(HYP_H_RA, offsetof(struct hypctx, host_regs.hyp_ra));
sys/riscv/riscv/genassym.c
104
ASSYM(HYP_H_SP, offsetof(struct hypctx, host_regs.hyp_sp));
sys/riscv/riscv/genassym.c
105
ASSYM(HYP_H_GP, offsetof(struct hypctx, host_regs.hyp_gp));
sys/riscv/riscv/genassym.c
106
ASSYM(HYP_H_TP, offsetof(struct hypctx, host_regs.hyp_tp));
sys/riscv/riscv/genassym.c
107
ASSYM(HYP_H_T, offsetof(struct hypctx, host_regs.hyp_t));
sys/riscv/riscv/genassym.c
108
ASSYM(HYP_H_S, offsetof(struct hypctx, host_regs.hyp_s));
sys/riscv/riscv/genassym.c
109
ASSYM(HYP_H_A, offsetof(struct hypctx, host_regs.hyp_a));
sys/riscv/riscv/genassym.c
110
ASSYM(HYP_H_SEPC, offsetof(struct hypctx, host_regs.hyp_sepc));
sys/riscv/riscv/genassym.c
111
ASSYM(HYP_H_SSTATUS, offsetof(struct hypctx, host_regs.hyp_sstatus));
sys/riscv/riscv/genassym.c
112
ASSYM(HYP_H_HSTATUS, offsetof(struct hypctx, host_regs.hyp_hstatus));
sys/riscv/riscv/genassym.c
113
ASSYM(HYP_H_SSCRATCH, offsetof(struct hypctx, host_sscratch));
sys/riscv/riscv/genassym.c
114
ASSYM(HYP_H_STVEC, offsetof(struct hypctx, host_stvec));
sys/riscv/riscv/genassym.c
115
ASSYM(HYP_H_SCOUNTEREN, offsetof(struct hypctx, host_scounteren));
sys/riscv/riscv/genassym.c
117
ASSYM(HYP_G_RA, offsetof(struct hypctx, guest_regs.hyp_ra));
sys/riscv/riscv/genassym.c
118
ASSYM(HYP_G_SP, offsetof(struct hypctx, guest_regs.hyp_sp));
sys/riscv/riscv/genassym.c
119
ASSYM(HYP_G_GP, offsetof(struct hypctx, guest_regs.hyp_gp));
sys/riscv/riscv/genassym.c
120
ASSYM(HYP_G_TP, offsetof(struct hypctx, guest_regs.hyp_tp));
sys/riscv/riscv/genassym.c
121
ASSYM(HYP_G_T, offsetof(struct hypctx, guest_regs.hyp_t));
sys/riscv/riscv/genassym.c
122
ASSYM(HYP_G_S, offsetof(struct hypctx, guest_regs.hyp_s));
sys/riscv/riscv/genassym.c
123
ASSYM(HYP_G_A, offsetof(struct hypctx, guest_regs.hyp_a));
sys/riscv/riscv/genassym.c
124
ASSYM(HYP_G_SEPC, offsetof(struct hypctx, guest_regs.hyp_sepc));
sys/riscv/riscv/genassym.c
125
ASSYM(HYP_G_SSTATUS, offsetof(struct hypctx, guest_regs.hyp_sstatus));
sys/riscv/riscv/genassym.c
126
ASSYM(HYP_G_HSTATUS, offsetof(struct hypctx, guest_regs.hyp_hstatus));
sys/riscv/riscv/genassym.c
127
ASSYM(HYP_G_SCOUNTEREN, offsetof(struct hypctx, guest_scounteren));
sys/riscv/riscv/genassym.c
129
ASSYM(HYP_TRAP_SEPC, offsetof(struct hyptrap, sepc));
sys/riscv/riscv/genassym.c
130
ASSYM(HYP_TRAP_SCAUSE, offsetof(struct hyptrap, scause));
sys/riscv/riscv/genassym.c
131
ASSYM(HYP_TRAP_STVAL, offsetof(struct hyptrap, stval));
sys/riscv/riscv/genassym.c
132
ASSYM(HYP_TRAP_HTVAL, offsetof(struct hyptrap, htval));
sys/riscv/riscv/genassym.c
133
ASSYM(HYP_TRAP_HTINST, offsetof(struct hyptrap, htinst));
sys/riscv/riscv/genassym.c
136
ASSYM(RISCV_BOOTPARAMS_KERN_PHYS, offsetof(struct riscv_bootparams, kern_phys));
sys/riscv/riscv/genassym.c
137
ASSYM(RISCV_BOOTPARAMS_KERN_STACK, offsetof(struct riscv_bootparams,
sys/riscv/riscv/genassym.c
139
ASSYM(RISCV_BOOTPARAMS_DTBP_PHYS, offsetof(struct riscv_bootparams, dtbp_phys));
sys/riscv/riscv/genassym.c
140
ASSYM(RISCV_BOOTPARAMS_MODULEP, offsetof(struct riscv_bootparams, modulep));
sys/riscv/riscv/genassym.c
63
ASSYM(PM_SATP, offsetof(struct pmap, pm_satp));
sys/riscv/riscv/genassym.c
65
ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
sys/riscv/riscv/genassym.c
67
ASSYM(PCB_RA, offsetof(struct pcb, pcb_ra));
sys/riscv/riscv/genassym.c
68
ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp));
sys/riscv/riscv/genassym.c
69
ASSYM(PCB_GP, offsetof(struct pcb, pcb_gp));
sys/riscv/riscv/genassym.c
70
ASSYM(PCB_TP, offsetof(struct pcb, pcb_tp));
sys/riscv/riscv/genassym.c
71
ASSYM(PCB_S, offsetof(struct pcb, pcb_s));
sys/riscv/riscv/genassym.c
72
ASSYM(PCB_X, offsetof(struct pcb, pcb_x));
sys/riscv/riscv/genassym.c
73
ASSYM(PCB_FCSR, offsetof(struct pcb, pcb_fcsr));
sys/riscv/riscv/genassym.c
75
ASSYM(SF_UC, offsetof(struct sigframe, sf_uc));
sys/riscv/riscv/genassym.c
77
ASSYM(PC_CURPCB, offsetof(struct pcpu, pc_curpcb));
sys/riscv/riscv/genassym.c
78
ASSYM(PC_CURTHREAD, offsetof(struct pcpu, pc_curthread));
sys/riscv/riscv/genassym.c
80
ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
sys/riscv/riscv/genassym.c
81
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
sys/riscv/riscv/genassym.c
82
ASSYM(TD_AST, offsetof(struct thread, td_ast));
sys/riscv/riscv/genassym.c
83
ASSYM(TD_PROC, offsetof(struct thread, td_proc));
sys/riscv/riscv/genassym.c
84
ASSYM(TD_FRAME, offsetof(struct thread, td_frame));
sys/riscv/riscv/genassym.c
85
ASSYM(TD_MD, offsetof(struct thread, td_md));
sys/riscv/riscv/genassym.c
86
ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
sys/riscv/riscv/genassym.c
89
ASSYM(TF_RA, offsetof(struct trapframe, tf_ra));
sys/riscv/riscv/genassym.c
90
ASSYM(TF_SP, offsetof(struct trapframe, tf_sp));
sys/riscv/riscv/genassym.c
91
ASSYM(TF_GP, offsetof(struct trapframe, tf_gp));
sys/riscv/riscv/genassym.c
92
ASSYM(TF_TP, offsetof(struct trapframe, tf_tp));
sys/riscv/riscv/genassym.c
93
ASSYM(TF_T, offsetof(struct trapframe, tf_t));
sys/riscv/riscv/genassym.c
94
ASSYM(TF_S, offsetof(struct trapframe, tf_s));
sys/riscv/riscv/genassym.c
95
ASSYM(TF_A, offsetof(struct trapframe, tf_a));
sys/riscv/riscv/genassym.c
96
ASSYM(TF_SEPC, offsetof(struct trapframe, tf_sepc));
sys/riscv/riscv/genassym.c
97
ASSYM(TF_STVAL, offsetof(struct trapframe, tf_stval));
sys/riscv/riscv/genassym.c
98
ASSYM(TF_SCAUSE, offsetof(struct trapframe, tf_scause));
sys/riscv/riscv/genassym.c
99
ASSYM(TF_SSTATUS, offsetof(struct trapframe, tf_sstatus));
sys/rpc/clnt_nl.c
123
#define OUT(field) offsetof(struct nl_reply_parsed, field)
sys/rpc/rpc_generic.c
341
offsetof(struct sockaddr_un, sun_path)),
sys/security/mac/mac_framework.c
420
#define FPO(f) (offsetof(struct mac_policy_ops, mpo_##f) / sizeof(uintptr_t))
sys/sys/_offsetof.h
15
#ifndef offsetof
sys/sys/assym.h
52
char __assym_offset__ ## parenttype ## __ ## name ## __ ## datatype [offsetof(struct parenttype, name)]; \
sys/sys/assym.h
54
OFFSET_CTASSERT(offsetof(struct parenttype, name) == offsetof(struct parenttype ## _lite, name))
sys/sys/disk/gpt.h
82
CTASSERT(offsetof(struct gpt_hdr, padding) == 92);
sys/sys/mbuf.h
296
#define m_ext_copylen offsetof(struct m_ext, ext_arg2)
sys/sys/mbuf.h
314
#define m_epg_ext_copylen offsetof(struct m_ext, ext_free)
sys/sys/mbuf.h
93
#define MHSIZE offsetof(struct mbuf, m_dat)
sys/sys/mbuf.h
94
#define MPKTHSIZE offsetof(struct mbuf, m_pktdat)
sys/sys/namei.h
235
#define NDINIT_PREFILL(arg) memset(arg, 0xff, offsetof(struct nameidata, \
sys/sys/param.h
379
((struct s *)(void *)((char *)(x) - offsetof(struct s, m)))
sys/sys/sf_buf.h
190
counter_u64_add(sfstat[offsetof(struct sfstat, name) / sizeof(uint64_t)],\
sys/sys/vmmeter.h
125
(offsetof(struct vmmeter, v_page_size) / sizeof(counter_u64_t))
sys/tests/ktest.c
67
#define _IN(_field) offsetof(struct genlmsghdr, _field)
sys/tests/ktest.c
68
#define _OUT(_field) offsetof(struct nl_ktest_parsed, _field)
sys/tests/ktest_example.c
74
#define _OUT(_field) offsetof(struct test1_attrs, _field)
sys/ufs/ffs/ffs_softdep.c
693
#define DOTDOT_OFFSET offsetof(struct dirtemplate, dotdot_ino)
sys/ufs/ffs/ffs_softdep.c
694
#define DOT_OFFSET offsetof(struct dirtemplate, dot_ino)
sys/ufs/ufs/ufs_vnops.c
2434
ncookies = ncookies / (offsetof(struct direct, d_name) + 4) + 1;
sys/ufs/ufs/ufs_vnops.c
2460
if (dp->d_reclen <= offsetof(struct direct, d_name) ||
sys/ufs/ufs/ufs_vnops.c
2476
if (offsetof(struct direct, d_name) + dstdp.d_namlen >
sys/vm/vm_object.c
2643
kvo->kvo_structsize = offsetof(struct kinfo_vmobject, kvo_path)
sys/x86/bios/vpd.c
304
for (i = offsetof(struct vpd, BuildID); i < v->Length ; i++)
sys/x86/xen/hvm.c
233
_Static_assert(offsetof(struct vbe_fb, fb_bpp) ==
sys/x86/xen/hvm.c
234
offsetof(struct efi_fb, fb_mask_reserved) +
sys/x86/xen/hvm.c
251
offsetof(xenpf_dom0_console_t, u.vesa_lfb.ext_lfb_base))
sys/x86/xen/xen_arch_intr.c
150
_Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0,
sys/x86/xen/xen_arch_intr.c
164
_Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0,
sys/x86/xen/xen_arch_intr.c
180
_Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0,
sys/x86/xen/xen_arch_intr.c
189
_Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0,
sys/x86/xen/xen_arch_intr.c
206
_Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0,
sys/x86/xen/xen_arch_intr.c
270
_Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0,
sys/x86/xen/xen_arch_intr.c
375
_Static_assert(offsetof(struct xenisrc, xi_arch) ==
sys/x86/xen/xen_arch_intr.c
376
offsetof(struct avail_list, preserve),
tests/sys/capsicum/linux.cc
1061
BPF_STMT(BPF_LD+BPF_W+BPF_ABS, offsetof(struct seccomp_data, nr))
tests/sys/fs/fusefs/readdir.cc
229
ASSERT_LT(de0->d_reclen + offsetof(struct dirent, d_fileno), bufsize);
tests/sys/net/routing/rtsock_common.h
818
data_len += offsetof(struct sockaddr_dl, sdl_data);
tests/sys/netlink/test_rtnl_gre.c
43
#define _OUT(_field) offsetof(struct nl_parsed_gre, _field)
tests/sys/netlink/test_rtnl_gre.c
55
#define _OUT(_field) offsetof(struct nla_gre_info, _field)
tests/sys/netlink/test_rtnl_gre.c
64
#define _IN(_field) offsetof(struct ifinfomsg, _field)
tests/sys/netlink/test_rtnl_gre.c
65
#define _OUT(_field) offsetof(struct nla_gre_link, _field)
tests/sys/netlink/test_snl.c
187
#define _IN(_field) offsetof(struct ifinfomsg, _field)
tests/sys/netlink/test_snl.c
188
#define _OUT(_field) offsetof(struct nl_parsed_link, _field)
tests/sys/netmap/ctrl-api-test.c
2007
if (offsetof(struct netmap_ring, f) != (o)) {\
tests/sys/netmap/ctrl-api-test.c
2009
#f, offsetof(struct netmap_ring, f), (o));\
tools/tools/drm/radeon/mkregtable/mkregtable.c
29
(type *)((char *)__mptr - offsetof(type, member)); })
tools/tools/nvmf/nvmfd/discovery.c
307
offsetof(struct nvmf_fabric_connect_data, subnqn));
tools/tools/nvmf/nvmfd/io.c
547
offsetof(struct nvmf_fabric_connect_data, hostid));
tools/tools/nvmf/nvmfd/io.c
554
offsetof(struct nvmf_fabric_connect_data, cntlid));
tools/tools/nvmf/nvmfd/io.c
562
offsetof(struct nvmf_fabric_connect_data, hostnqn));
tools/tools/nvmf/nvmfd/io.c
576
offsetof(struct nvmf_fabric_connect_cmd, qid));
tools/tools/nvmf/nvmfd/io.c
642
offsetof(struct nvmf_fabric_connect_data, subnqn));
tools/tools/pirtool/pirtool.c
207
num_slots = (pir->size - offsetof(pir_table_t, entry[0])) / 16;
tools/tools/pirtool/pirtool.c
216
offsetof(pir_table_t, signature),
tools/tools/pirtool/pirtool.c
221
offsetof(pir_table_t, minor),
tools/tools/pirtool/pirtool.c
223
offsetof(pir_table_t, size),
tools/tools/pirtool/pirtool.c
226
offsetof(pir_table_t, bus),
tools/tools/pirtool/pirtool.c
232
offsetof(pir_table_t, excl_irqs));
tools/tools/pirtool/pirtool.c
239
offsetof(pir_table_t, compatible),
tools/tools/pirtool/pirtool.c
242
offsetof(pir_table_t, miniport_data),
tools/tools/pirtool/pirtool.c
244
offsetof(pir_table_t, checksum),
usr.bin/elfdump/elfdump.c
100
offsetof(Elf32_Ehdr, e_version), offsetof(Elf32_Ehdr, e_entry),
usr.bin/elfdump/elfdump.c
101
offsetof(Elf32_Ehdr, e_phoff), offsetof(Elf32_Ehdr, e_shoff),
usr.bin/elfdump/elfdump.c
102
offsetof(Elf32_Ehdr, e_flags), offsetof(Elf32_Ehdr, e_ehsize),
usr.bin/elfdump/elfdump.c
103
offsetof(Elf32_Ehdr, e_phentsize), offsetof(Elf32_Ehdr, e_phnum),
usr.bin/elfdump/elfdump.c
104
offsetof(Elf32_Ehdr, e_shentsize), offsetof(Elf32_Ehdr, e_shnum),
usr.bin/elfdump/elfdump.c
105
offsetof(Elf32_Ehdr, e_shstrndx),
usr.bin/elfdump/elfdump.c
107
offsetof(Elf_Note, n_namesz), offsetof(Elf_Note, n_descsz),
usr.bin/elfdump/elfdump.c
108
offsetof(Elf_Note, n_type),
usr.bin/elfdump/elfdump.c
110
offsetof(Elf32_Phdr, p_type), offsetof(Elf32_Phdr, p_offset),
usr.bin/elfdump/elfdump.c
111
offsetof(Elf32_Phdr, p_vaddr), offsetof(Elf32_Phdr, p_paddr),
usr.bin/elfdump/elfdump.c
112
offsetof(Elf32_Phdr, p_filesz), offsetof(Elf32_Phdr, p_memsz),
usr.bin/elfdump/elfdump.c
113
offsetof(Elf32_Phdr, p_flags), offsetof(Elf32_Phdr, p_align),
usr.bin/elfdump/elfdump.c
115
offsetof(Elf32_Shdr, sh_name), offsetof(Elf32_Shdr, sh_type),
usr.bin/elfdump/elfdump.c
116
offsetof(Elf32_Shdr, sh_flags), offsetof(Elf32_Shdr, sh_addr),
usr.bin/elfdump/elfdump.c
117
offsetof(Elf32_Shdr, sh_offset), offsetof(Elf32_Shdr, sh_size),
usr.bin/elfdump/elfdump.c
118
offsetof(Elf32_Shdr, sh_link), offsetof(Elf32_Shdr, sh_info),
usr.bin/elfdump/elfdump.c
119
offsetof(Elf32_Shdr, sh_addralign), offsetof(Elf32_Shdr, sh_entsize),
usr.bin/elfdump/elfdump.c
121
offsetof(Elf32_Sym, st_name), offsetof(Elf32_Sym, st_value),
usr.bin/elfdump/elfdump.c
122
offsetof(Elf32_Sym, st_size), offsetof(Elf32_Sym, st_info),
usr.bin/elfdump/elfdump.c
123
offsetof(Elf32_Sym, st_shndx),
usr.bin/elfdump/elfdump.c
125
offsetof(Elf32_Rel, r_offset), offsetof(Elf32_Rel, r_info),
usr.bin/elfdump/elfdump.c
127
offsetof(Elf32_Rela, r_offset), offsetof(Elf32_Rela, r_info),
usr.bin/elfdump/elfdump.c
128
offsetof(Elf32_Rela, r_addend)
usr.bin/elfdump/elfdump.c
134
offsetof(Elf64_Dyn, d_tag), offsetof(Elf64_Dyn, d_un.d_ptr),
usr.bin/elfdump/elfdump.c
135
offsetof(Elf64_Dyn, d_un.d_val),
usr.bin/elfdump/elfdump.c
137
offsetof(Elf32_Ehdr, e_ident[EI_CLASS]),
usr.bin/elfdump/elfdump.c
138
offsetof(Elf32_Ehdr, e_ident[EI_DATA]),
usr.bin/elfdump/elfdump.c
139
offsetof(Elf32_Ehdr, e_ident[EI_OSABI]),
usr.bin/elfdump/elfdump.c
140
offsetof(Elf64_Ehdr, e_type), offsetof(Elf64_Ehdr, e_machine),
usr.bin/elfdump/elfdump.c
141
offsetof(Elf64_Ehdr, e_version), offsetof(Elf64_Ehdr, e_entry),
usr.bin/elfdump/elfdump.c
142
offsetof(Elf64_Ehdr, e_phoff), offsetof(Elf64_Ehdr, e_shoff),
usr.bin/elfdump/elfdump.c
143
offsetof(Elf64_Ehdr, e_flags), offsetof(Elf64_Ehdr, e_ehsize),
usr.bin/elfdump/elfdump.c
144
offsetof(Elf64_Ehdr, e_phentsize), offsetof(Elf64_Ehdr, e_phnum),
usr.bin/elfdump/elfdump.c
145
offsetof(Elf64_Ehdr, e_shentsize), offsetof(Elf64_Ehdr, e_shnum),
usr.bin/elfdump/elfdump.c
146
offsetof(Elf64_Ehdr, e_shstrndx),
usr.bin/elfdump/elfdump.c
148
offsetof(Elf_Note, n_namesz), offsetof(Elf_Note, n_descsz),
usr.bin/elfdump/elfdump.c
149
offsetof(Elf_Note, n_type),
usr.bin/elfdump/elfdump.c
151
offsetof(Elf64_Phdr, p_type), offsetof(Elf64_Phdr, p_offset),
usr.bin/elfdump/elfdump.c
152
offsetof(Elf64_Phdr, p_vaddr), offsetof(Elf64_Phdr, p_paddr),
usr.bin/elfdump/elfdump.c
153
offsetof(Elf64_Phdr, p_filesz), offsetof(Elf64_Phdr, p_memsz),
usr.bin/elfdump/elfdump.c
154
offsetof(Elf64_Phdr, p_flags), offsetof(Elf64_Phdr, p_align),
usr.bin/elfdump/elfdump.c
156
offsetof(Elf64_Shdr, sh_name), offsetof(Elf64_Shdr, sh_type),
usr.bin/elfdump/elfdump.c
157
offsetof(Elf64_Shdr, sh_flags), offsetof(Elf64_Shdr, sh_addr),
usr.bin/elfdump/elfdump.c
158
offsetof(Elf64_Shdr, sh_offset), offsetof(Elf64_Shdr, sh_size),
usr.bin/elfdump/elfdump.c
159
offsetof(Elf64_Shdr, sh_link), offsetof(Elf64_Shdr, sh_info),
usr.bin/elfdump/elfdump.c
160
offsetof(Elf64_Shdr, sh_addralign), offsetof(Elf64_Shdr, sh_entsize),
usr.bin/elfdump/elfdump.c
162
offsetof(Elf64_Sym, st_name), offsetof(Elf64_Sym, st_value),
usr.bin/elfdump/elfdump.c
163
offsetof(Elf64_Sym, st_size), offsetof(Elf64_Sym, st_info),
usr.bin/elfdump/elfdump.c
164
offsetof(Elf64_Sym, st_shndx),
usr.bin/elfdump/elfdump.c
166
offsetof(Elf64_Rel, r_offset), offsetof(Elf64_Rel, r_info),
usr.bin/elfdump/elfdump.c
168
offsetof(Elf64_Rela, r_offset), offsetof(Elf64_Rela, r_info),
usr.bin/elfdump/elfdump.c
169
offsetof(Elf64_Rela, r_addend)
usr.bin/elfdump/elfdump.c
93
offsetof(Elf32_Dyn, d_tag), offsetof(Elf32_Dyn, d_un.d_ptr),
usr.bin/elfdump/elfdump.c
94
offsetof(Elf32_Dyn, d_un.d_val),
usr.bin/elfdump/elfdump.c
96
offsetof(Elf32_Ehdr, e_ident[EI_CLASS]),
usr.bin/elfdump/elfdump.c
97
offsetof(Elf32_Ehdr, e_ident[EI_DATA]),
usr.bin/elfdump/elfdump.c
98
offsetof(Elf32_Ehdr, e_ident[EI_OSABI]),
usr.bin/elfdump/elfdump.c
99
offsetof(Elf32_Ehdr, e_type), offsetof(Elf32_Ehdr, e_machine),
usr.bin/genl/genl.c
106
#define _OUT(_field) offsetof(struct genl_ctrl_op, _field)
usr.bin/genl/genl.c
131
#define _OUT(_field) offsetof(struct genl_mcast_group, _field)
usr.bin/genl/genl.c
158
#define _OUT(_field) offsetof(struct genl_family, _field)
usr.bin/genl/genl.c
77
#define _OUT(_field) offsetof(struct nlevent, _field)
usr.bin/genl/parser_rpc.c
52
#define OUT(field) offsetof(struct nl_request_parsed, field)
usr.bin/ipcs/ipc.c
91
#define X(a, b) { "kern.ipc." #a, offsetof(TYPEC, a), (b) },
usr.bin/lastcomm/readrec.c
47
#define roffsetof(s, f) (sizeof(s) - offsetof(s, f))
usr.bin/m4/look.c
64
offsetof(struct ndblock, name),
usr.bin/mkimg/gpt.c
226
crc = crc32(hdr, offsetof(struct gpt_hdr, padding));
usr.bin/mkimg/gpt.c
267
le32enc(&hdr->hdr_size, offsetof(struct gpt_hdr, padding));
usr.bin/netstat/unix.c
317
(int)(sa->sun_len - offsetof(struct sockaddr_un, sun_path)),
usr.bin/truss/syscalls.c
1139
(int)(len - offsetof(struct sockaddr_un, sun_path)),
usr.bin/truss/syscalls.c
1589
if (msg->msg_name == NULL || msg->msg_namelen < offsetof(struct sockaddr, sa_data)
usr.sbin/bhyve/acpi.c
567
offsetof(ACPI_TABLE_FADT, Facs), sizeof(fadt.Facs)));
usr.sbin/bhyve/acpi.c
569
offsetof(ACPI_TABLE_FADT, Dsdt), sizeof(fadt.Dsdt)));
usr.sbin/bhyve/acpi.c
571
offsetof(ACPI_TABLE_FADT, XFacs), sizeof(fadt.XFacs)));
usr.sbin/bhyve/acpi.c
573
offsetof(ACPI_TABLE_FADT, XDsdt), sizeof(fadt.XDsdt)));
usr.sbin/bhyve/acpi.c
731
offsetof(ACPI_TABLE_RSDP, Checksum), 0, 20));
usr.sbin/bhyve/acpi.c
733
offsetof(ACPI_TABLE_RSDP, RsdtPhysicalAddress),
usr.sbin/bhyve/acpi.c
736
offsetof(ACPI_TABLE_RSDP, Length), sizeof(rsdp.Length)));
usr.sbin/bhyve/acpi.c
738
offsetof(ACPI_TABLE_RSDP, XsdtPhysicalAddress),
usr.sbin/bhyve/acpi.c
741
offsetof(ACPI_TABLE_RSDP, ExtendedChecksum), 0,
usr.sbin/bhyve/basl.c
610
offsetof(ACPI_TABLE_HEADER, Length), sizeof(header_le.Length)));
usr.sbin/bhyve/basl.c
612
offsetof(ACPI_TABLE_HEADER, Checksum), 0,
usr.sbin/bhyve/pci_nvme.c
130
#define NVME_DOORBELL_OFFSET offsetof(struct nvme_registers, doorbell)
usr.sbin/bhyve/tpm_intf_crb.c
337
case offsetof(struct tpm_crb_regs, loc_ctrl): {
usr.sbin/bhyve/tpm_intf_crb.c
35
(TPM_CRB_ADDRESS + offsetof(struct tpm_crb_regs, ctrl_req))
usr.sbin/bhyve/tpm_intf_crb.c
356
case offsetof(struct tpm_crb_regs, ctrl_req): {
usr.sbin/bhyve/tpm_intf_crb.c
373
case offsetof(struct tpm_crb_regs, ctrl_cancel): {
usr.sbin/bhyve/tpm_intf_crb.c
381
case offsetof(struct tpm_crb_regs, int_enable):
usr.sbin/bhyve/tpm_intf_crb.c
385
case offsetof(struct tpm_crb_regs, ctrl_start): {
usr.sbin/bhyve/tpm_intf_crb.c
39
(TPM_CRB_ADDRESS + offsetof(struct tpm_crb_regs, data_buffer))
usr.sbin/bhyve/tpm_intf_crb.c
408
case offsetof(struct tpm_crb_regs, cmd_size):
usr.sbin/bhyve/tpm_intf_crb.c
409
case offsetof(struct tpm_crb_regs, cmd_addr_lo):
usr.sbin/bhyve/tpm_intf_crb.c
410
case offsetof(struct tpm_crb_regs, cmd_addr_hi):
usr.sbin/bhyve/tpm_intf_crb.c
411
case offsetof(struct tpm_crb_regs, rsp_size):
usr.sbin/bhyve/tpm_intf_crb.c
412
case offsetof(struct tpm_crb_regs,
usr.sbin/bhyve/tpm_intf_crb.c
413
rsp_addr) ... offsetof(struct tpm_crb_regs, rsp_addr) +
usr.sbin/bhyve/tpm_intf_crb.c
415
case offsetof(struct tpm_crb_regs,
usr.sbin/bhyve/tpm_intf_crb.c
416
data_buffer) ... offsetof(struct tpm_crb_regs, data_buffer) +
usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c
141
(int)offsetof(struct iwmbt_hci_event_cmd_compl, data))
usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.h
39
((cmd)->length + offsetof(struct iwmbt_hci_cmd, data))
usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.h
74
(offsetof(struct iwmbt_hci_event_cmd_compl, data) + sizeof(payload))
usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.h
76
(offsetof(struct iwmbt_hci_event_cmd_compl, data) - \
usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.h
77
offsetof(struct iwmbt_hci_event_cmd_compl, numpkt))
usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.c
187
uint8_t cmd_buf[offsetof(struct rtlbt_hci_cmd, data) + sizeof(*vcmd)];
usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.c
94
(int)offsetof(struct rtlbt_hci_event_cmd_compl, data))
usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.h
41
((cmd)->length + offsetof(struct rtlbt_hci_cmd, data))
usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.h
64
(offsetof(struct rtlbt_hci_event_cmd_compl, data) + sizeof(payload))
usr.sbin/btxld/elfh.c
51
htole32(offsetof(struct elfh, p)), /* e_phoff */
usr.sbin/btxld/elfh.c
52
htole32(offsetof(struct elfh, sh)), /* e_shoff */
usr.sbin/btxld/elfh.c
92
htole32(offsetof(struct elfh, shstrtab)), /* sh_offset */
usr.sbin/crunch/crunchide/exec_elf32.c
466
off = offsetof(Elf_Ehdr, e_shoff);
usr.sbin/ctld/nvmf_discovery.cc
501
offsetof(struct nvmf_fabric_connect_data, subnqn));
usr.sbin/fstyp/hammer_disk.h
398
offsetof(struct hammer_blockmap, entry_crc)
usr.sbin/fstyp/hammer_disk.h
432
offsetof(struct hammer_blockmap_layer1, layer1_crc)
usr.sbin/fstyp/hammer_disk.h
454
offsetof(struct hammer_blockmap_layer2, entry_crc)
usr.sbin/fstyp/hammer_disk.h
587
#define HAMMER_FIFO_HEAD_CRCOFF offsetof(struct hammer_fifo_head, hdr_crc)
usr.sbin/fstyp/hammer_disk.h
800
offsetof(struct hammer_volume_ondisk, vol_crc)
usr.sbin/fstyp/hammer_disk.h
918
offsetof(struct hammer_inode_data, mtime)
usr.sbin/fstyp/hammer_disk.h
966
#define HAMMER_ENTRY_NAME_OFF offsetof(struct hammer_direntry_data, name[0])
usr.sbin/fstyp/hammer_disk.h
967
#define HAMMER_ENTRY_SIZE(nlen) offsetof(struct hammer_direntry_data, name[nlen])
usr.sbin/fstyp/hammer_disk.h
977
#define HAMMER_SYMLINK_NAME_OFF offsetof(struct hammer_symlink_data, name[0])
usr.sbin/makefs/ffs/ffs_bswap.c
75
for (i = 0; i < offsetof(struct fs, fs_fmod) / sizeof(u_int32_t); i++)
usr.sbin/moused/moused/util-list.h
112
offsetof(__typeof__(type), member))
usr.sbin/ngctl/write.c
78
offsetof(struct sockaddr_ng, sg_data) + NG_HOOKSIZ,
usr.sbin/ntp/ntpdc/nl.c
100
(int) offsetof(struct info_peer_summary, ppoll));
usr.sbin/ntp/ntpdc/nl.c
102
(int) offsetof(struct info_peer_summary, reach));
usr.sbin/ntp/ntpdc/nl.c
104
(int) offsetof(struct info_peer_summary, flags));
usr.sbin/ntp/ntpdc/nl.c
106
(int) offsetof(struct info_peer_summary, hmode));
usr.sbin/ntp/ntpdc/nl.c
108
(int) offsetof(struct info_peer_summary, delay));
usr.sbin/ntp/ntpdc/nl.c
110
(int) offsetof(struct info_peer_summary, offset));
usr.sbin/ntp/ntpdc/nl.c
112
(int) offsetof(struct info_peer_summary, dispersion));
usr.sbin/ntp/ntpdc/nl.c
114
(int) offsetof(struct info_peer_summary, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
116
(int) offsetof(struct info_peer_summary, unused1));
usr.sbin/ntp/ntpdc/nl.c
118
(int) offsetof(struct info_peer_summary, dstadr6));
usr.sbin/ntp/ntpdc/nl.c
12
(int) offsetof(struct req_pkt, rm_vn_mode));
usr.sbin/ntp/ntpdc/nl.c
120
(int) offsetof(struct info_peer_summary, srcadr6));
usr.sbin/ntp/ntpdc/nl.c
126
(int) offsetof(struct info_peer, dstadr));
usr.sbin/ntp/ntpdc/nl.c
128
(int) offsetof(struct info_peer, srcadr));
usr.sbin/ntp/ntpdc/nl.c
130
(int) offsetof(struct info_peer, srcport));
usr.sbin/ntp/ntpdc/nl.c
132
(int) offsetof(struct info_peer, flags));
usr.sbin/ntp/ntpdc/nl.c
134
(int) offsetof(struct info_peer, leap));
usr.sbin/ntp/ntpdc/nl.c
136
(int) offsetof(struct info_peer, hmode));
usr.sbin/ntp/ntpdc/nl.c
138
(int) offsetof(struct info_peer, pmode));
usr.sbin/ntp/ntpdc/nl.c
14
(int) offsetof(struct req_pkt, auth_seq));
usr.sbin/ntp/ntpdc/nl.c
140
(int) offsetof(struct info_peer, stratum));
usr.sbin/ntp/ntpdc/nl.c
142
(int) offsetof(struct info_peer, ppoll));
usr.sbin/ntp/ntpdc/nl.c
144
(int) offsetof(struct info_peer, hpoll));
usr.sbin/ntp/ntpdc/nl.c
146
(int) offsetof(struct info_peer, precision));
usr.sbin/ntp/ntpdc/nl.c
148
(int) offsetof(struct info_peer, version));
usr.sbin/ntp/ntpdc/nl.c
150
(int) offsetof(struct info_peer, unused8));
usr.sbin/ntp/ntpdc/nl.c
152
(int) offsetof(struct info_peer, reach));
usr.sbin/ntp/ntpdc/nl.c
154
(int) offsetof(struct info_peer, unreach));
usr.sbin/ntp/ntpdc/nl.c
156
(int) offsetof(struct info_peer, flash));
usr.sbin/ntp/ntpdc/nl.c
158
(int) offsetof(struct info_peer, ttl));
usr.sbin/ntp/ntpdc/nl.c
16
(int) offsetof(struct req_pkt, implementation));
usr.sbin/ntp/ntpdc/nl.c
160
(int) offsetof(struct info_peer, flash2));
usr.sbin/ntp/ntpdc/nl.c
162
(int) offsetof(struct info_peer, associd));
usr.sbin/ntp/ntpdc/nl.c
164
(int) offsetof(struct info_peer, keyid));
usr.sbin/ntp/ntpdc/nl.c
166
(int) offsetof(struct info_peer, pkeyid));
usr.sbin/ntp/ntpdc/nl.c
168
(int) offsetof(struct info_peer, refid));
usr.sbin/ntp/ntpdc/nl.c
170
(int) offsetof(struct info_peer, timer));
usr.sbin/ntp/ntpdc/nl.c
172
(int) offsetof(struct info_peer, rootdelay));
usr.sbin/ntp/ntpdc/nl.c
174
(int) offsetof(struct info_peer, rootdispersion));
usr.sbin/ntp/ntpdc/nl.c
176
(int) offsetof(struct info_peer, reftime));
usr.sbin/ntp/ntpdc/nl.c
178
(int) offsetof(struct info_peer, org));
usr.sbin/ntp/ntpdc/nl.c
18
(int) offsetof(struct req_pkt, request));
usr.sbin/ntp/ntpdc/nl.c
180
(int) offsetof(struct info_peer, rec));
usr.sbin/ntp/ntpdc/nl.c
182
(int) offsetof(struct info_peer, xmt));
usr.sbin/ntp/ntpdc/nl.c
184
(int) offsetof(struct info_peer, filtdelay));
usr.sbin/ntp/ntpdc/nl.c
186
(int) offsetof(struct info_peer, filtoffset));
usr.sbin/ntp/ntpdc/nl.c
188
(int) offsetof(struct info_peer, order));
usr.sbin/ntp/ntpdc/nl.c
190
(int) offsetof(struct info_peer, delay));
usr.sbin/ntp/ntpdc/nl.c
192
(int) offsetof(struct info_peer, dispersion));
usr.sbin/ntp/ntpdc/nl.c
194
(int) offsetof(struct info_peer, offset));
usr.sbin/ntp/ntpdc/nl.c
196
(int) offsetof(struct info_peer, selectdisp));
usr.sbin/ntp/ntpdc/nl.c
198
(int) offsetof(struct info_peer, unused1));
usr.sbin/ntp/ntpdc/nl.c
20
(int) offsetof(struct req_pkt, err_nitems));
usr.sbin/ntp/ntpdc/nl.c
200
(int) offsetof(struct info_peer, unused2));
usr.sbin/ntp/ntpdc/nl.c
202
(int) offsetof(struct info_peer, unused3));
usr.sbin/ntp/ntpdc/nl.c
204
(int) offsetof(struct info_peer, unused4));
usr.sbin/ntp/ntpdc/nl.c
206
(int) offsetof(struct info_peer, unused5));
usr.sbin/ntp/ntpdc/nl.c
208
(int) offsetof(struct info_peer, unused6));
usr.sbin/ntp/ntpdc/nl.c
210
(int) offsetof(struct info_peer, unused7));
usr.sbin/ntp/ntpdc/nl.c
212
(int) offsetof(struct info_peer, estbdelay));
usr.sbin/ntp/ntpdc/nl.c
214
(int) offsetof(struct info_peer, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
216
(int) offsetof(struct info_peer, unused9));
usr.sbin/ntp/ntpdc/nl.c
218
(int) offsetof(struct info_peer, dstadr6));
usr.sbin/ntp/ntpdc/nl.c
22
(int) offsetof(struct req_pkt, mbz_itemsize));
usr.sbin/ntp/ntpdc/nl.c
220
(int) offsetof(struct info_peer, srcadr6));
usr.sbin/ntp/ntpdc/nl.c
226
(int) offsetof(struct info_peer_stats, dstadr));
usr.sbin/ntp/ntpdc/nl.c
228
(int) offsetof(struct info_peer_stats, srcadr));
usr.sbin/ntp/ntpdc/nl.c
230
(int) offsetof(struct info_peer_stats, srcport));
usr.sbin/ntp/ntpdc/nl.c
232
(int) offsetof(struct info_peer_stats, flags));
usr.sbin/ntp/ntpdc/nl.c
234
(int) offsetof(struct info_peer_stats, timereset));
usr.sbin/ntp/ntpdc/nl.c
236
(int) offsetof(struct info_peer_stats, timereceived));
usr.sbin/ntp/ntpdc/nl.c
238
(int) offsetof(struct info_peer_stats, timetosend));
usr.sbin/ntp/ntpdc/nl.c
24
(int) offsetof(struct req_pkt, u));
usr.sbin/ntp/ntpdc/nl.c
240
(int) offsetof(struct info_peer_stats, timereachable));
usr.sbin/ntp/ntpdc/nl.c
242
(int) offsetof(struct info_peer_stats, sent));
usr.sbin/ntp/ntpdc/nl.c
244
(int) offsetof(struct info_peer_stats, unused1));
usr.sbin/ntp/ntpdc/nl.c
246
(int) offsetof(struct info_peer_stats, processed));
usr.sbin/ntp/ntpdc/nl.c
248
(int) offsetof(struct info_peer_stats, unused2));
usr.sbin/ntp/ntpdc/nl.c
250
(int) offsetof(struct info_peer_stats, badauth));
usr.sbin/ntp/ntpdc/nl.c
252
(int) offsetof(struct info_peer_stats, bogusorg));
usr.sbin/ntp/ntpdc/nl.c
254
(int) offsetof(struct info_peer_stats, oldpkt));
usr.sbin/ntp/ntpdc/nl.c
256
(int) offsetof(struct info_peer_stats, unused3));
usr.sbin/ntp/ntpdc/nl.c
258
(int) offsetof(struct info_peer_stats, unused4));
usr.sbin/ntp/ntpdc/nl.c
26
(int) offsetof(struct req_pkt, tstamp));
usr.sbin/ntp/ntpdc/nl.c
260
(int) offsetof(struct info_peer_stats, seldisp));
usr.sbin/ntp/ntpdc/nl.c
262
(int) offsetof(struct info_peer_stats, selbroken));
usr.sbin/ntp/ntpdc/nl.c
264
(int) offsetof(struct info_peer_stats, unused5));
usr.sbin/ntp/ntpdc/nl.c
266
(int) offsetof(struct info_peer_stats, candidate));
usr.sbin/ntp/ntpdc/nl.c
268
(int) offsetof(struct info_peer_stats, unused6));
usr.sbin/ntp/ntpdc/nl.c
270
(int) offsetof(struct info_peer_stats, unused7));
usr.sbin/ntp/ntpdc/nl.c
272
(int) offsetof(struct info_peer_stats, unused8));
usr.sbin/ntp/ntpdc/nl.c
274
(int) offsetof(struct info_peer_stats, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
276
(int) offsetof(struct info_peer_stats, unused9));
usr.sbin/ntp/ntpdc/nl.c
278
(int) offsetof(struct info_peer_stats, dstadr6));
usr.sbin/ntp/ntpdc/nl.c
28
(int) offsetof(struct req_pkt, keyid));
usr.sbin/ntp/ntpdc/nl.c
280
(int) offsetof(struct info_peer_stats, srcadr6));
usr.sbin/ntp/ntpdc/nl.c
286
(int) offsetof(struct info_loop, last_offset));
usr.sbin/ntp/ntpdc/nl.c
288
(int) offsetof(struct info_loop, drift_comp));
usr.sbin/ntp/ntpdc/nl.c
290
(int) offsetof(struct info_loop, compliance));
usr.sbin/ntp/ntpdc/nl.c
292
(int) offsetof(struct info_loop, watchdog_timer));
usr.sbin/ntp/ntpdc/nl.c
298
(int) offsetof(struct info_sys, peer));
usr.sbin/ntp/ntpdc/nl.c
30
(int) offsetof(struct req_pkt, mac));
usr.sbin/ntp/ntpdc/nl.c
300
(int) offsetof(struct info_sys, peer_mode));
usr.sbin/ntp/ntpdc/nl.c
302
(int) offsetof(struct info_sys, leap));
usr.sbin/ntp/ntpdc/nl.c
304
(int) offsetof(struct info_sys, stratum));
usr.sbin/ntp/ntpdc/nl.c
306
(int) offsetof(struct info_sys, precision));
usr.sbin/ntp/ntpdc/nl.c
308
(int) offsetof(struct info_sys, rootdelay));
usr.sbin/ntp/ntpdc/nl.c
310
(int) offsetof(struct info_sys, rootdispersion));
usr.sbin/ntp/ntpdc/nl.c
312
(int) offsetof(struct info_sys, refid));
usr.sbin/ntp/ntpdc/nl.c
314
(int) offsetof(struct info_sys, reftime));
usr.sbin/ntp/ntpdc/nl.c
316
(int) offsetof(struct info_sys, poll));
usr.sbin/ntp/ntpdc/nl.c
318
(int) offsetof(struct info_sys, flags));
usr.sbin/ntp/ntpdc/nl.c
320
(int) offsetof(struct info_sys, unused1));
usr.sbin/ntp/ntpdc/nl.c
322
(int) offsetof(struct info_sys, unused2));
usr.sbin/ntp/ntpdc/nl.c
324
(int) offsetof(struct info_sys, unused3));
usr.sbin/ntp/ntpdc/nl.c
326
(int) offsetof(struct info_sys, bdelay));
usr.sbin/ntp/ntpdc/nl.c
328
(int) offsetof(struct info_sys, frequency));
usr.sbin/ntp/ntpdc/nl.c
330
(int) offsetof(struct info_sys, authdelay));
usr.sbin/ntp/ntpdc/nl.c
332
(int) offsetof(struct info_sys, stability));
usr.sbin/ntp/ntpdc/nl.c
334
(int) offsetof(struct info_sys, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
336
(int) offsetof(struct info_sys, unused4));
usr.sbin/ntp/ntpdc/nl.c
338
(int) offsetof(struct info_sys, peer6));
usr.sbin/ntp/ntpdc/nl.c
344
(int) offsetof(struct info_sys_stats, timeup));
usr.sbin/ntp/ntpdc/nl.c
346
(int) offsetof(struct info_sys_stats, timereset));
usr.sbin/ntp/ntpdc/nl.c
348
(int) offsetof(struct info_sys_stats, denied));
usr.sbin/ntp/ntpdc/nl.c
350
(int) offsetof(struct info_sys_stats, oldversionpkt));
usr.sbin/ntp/ntpdc/nl.c
352
(int) offsetof(struct info_sys_stats, newversionpkt));
usr.sbin/ntp/ntpdc/nl.c
354
(int) offsetof(struct info_sys_stats, unknownversion));
usr.sbin/ntp/ntpdc/nl.c
356
(int) offsetof(struct info_sys_stats, badlength));
usr.sbin/ntp/ntpdc/nl.c
358
(int) offsetof(struct info_sys_stats, processed));
usr.sbin/ntp/ntpdc/nl.c
36
(int) offsetof(struct req_pkt_tail, tstamp));
usr.sbin/ntp/ntpdc/nl.c
360
(int) offsetof(struct info_sys_stats, badauth));
usr.sbin/ntp/ntpdc/nl.c
362
(int) offsetof(struct info_sys_stats, received));
usr.sbin/ntp/ntpdc/nl.c
364
(int) offsetof(struct info_sys_stats, limitrejected));
usr.sbin/ntp/ntpdc/nl.c
370
(int) offsetof(struct old_info_sys_stats, timeup));
usr.sbin/ntp/ntpdc/nl.c
372
(int) offsetof(struct old_info_sys_stats, timereset));
usr.sbin/ntp/ntpdc/nl.c
374
(int) offsetof(struct old_info_sys_stats, denied));
usr.sbin/ntp/ntpdc/nl.c
376
(int) offsetof(struct old_info_sys_stats, oldversionpkt));
usr.sbin/ntp/ntpdc/nl.c
378
(int) offsetof(struct old_info_sys_stats, newversionpkt));
usr.sbin/ntp/ntpdc/nl.c
38
(int) offsetof(struct req_pkt_tail, keyid));
usr.sbin/ntp/ntpdc/nl.c
380
(int) offsetof(struct old_info_sys_stats, unknownversion));
usr.sbin/ntp/ntpdc/nl.c
382
(int) offsetof(struct old_info_sys_stats, badlength));
usr.sbin/ntp/ntpdc/nl.c
384
(int) offsetof(struct old_info_sys_stats, processed));
usr.sbin/ntp/ntpdc/nl.c
386
(int) offsetof(struct old_info_sys_stats, badauth));
usr.sbin/ntp/ntpdc/nl.c
388
(int) offsetof(struct old_info_sys_stats, wanderhold));
usr.sbin/ntp/ntpdc/nl.c
394
(int) offsetof(struct info_mem_stats, timereset));
usr.sbin/ntp/ntpdc/nl.c
396
(int) offsetof(struct info_mem_stats, totalpeermem));
usr.sbin/ntp/ntpdc/nl.c
398
(int) offsetof(struct info_mem_stats, freepeermem));
usr.sbin/ntp/ntpdc/nl.c
4
(int) offsetof(union req_data_u_tag, u32));
usr.sbin/ntp/ntpdc/nl.c
40
(int) offsetof(struct req_pkt_tail, mac));
usr.sbin/ntp/ntpdc/nl.c
400
(int) offsetof(struct info_mem_stats, findpeer_calls));
usr.sbin/ntp/ntpdc/nl.c
402
(int) offsetof(struct info_mem_stats, allocations));
usr.sbin/ntp/ntpdc/nl.c
404
(int) offsetof(struct info_mem_stats, demobilizations));
usr.sbin/ntp/ntpdc/nl.c
406
(int) offsetof(struct info_mem_stats, hashcount));
usr.sbin/ntp/ntpdc/nl.c
412
(int) offsetof(struct info_io_stats, timereset));
usr.sbin/ntp/ntpdc/nl.c
414
(int) offsetof(struct info_io_stats, totalrecvbufs));
usr.sbin/ntp/ntpdc/nl.c
416
(int) offsetof(struct info_io_stats, freerecvbufs));
usr.sbin/ntp/ntpdc/nl.c
418
(int) offsetof(struct info_io_stats, fullrecvbufs));
usr.sbin/ntp/ntpdc/nl.c
420
(int) offsetof(struct info_io_stats, lowwater));
usr.sbin/ntp/ntpdc/nl.c
422
(int) offsetof(struct info_io_stats, dropped));
usr.sbin/ntp/ntpdc/nl.c
424
(int) offsetof(struct info_io_stats, ignored));
usr.sbin/ntp/ntpdc/nl.c
426
(int) offsetof(struct info_io_stats, received));
usr.sbin/ntp/ntpdc/nl.c
428
(int) offsetof(struct info_io_stats, sent));
usr.sbin/ntp/ntpdc/nl.c
430
(int) offsetof(struct info_io_stats, notsent));
usr.sbin/ntp/ntpdc/nl.c
432
(int) offsetof(struct info_io_stats, interrupts));
usr.sbin/ntp/ntpdc/nl.c
434
(int) offsetof(struct info_io_stats, int_received));
usr.sbin/ntp/ntpdc/nl.c
440
(int) offsetof(struct info_timer_stats, timereset));
usr.sbin/ntp/ntpdc/nl.c
442
(int) offsetof(struct info_timer_stats, alarms));
usr.sbin/ntp/ntpdc/nl.c
444
(int) offsetof(struct info_timer_stats, overflows));
usr.sbin/ntp/ntpdc/nl.c
446
(int) offsetof(struct info_timer_stats, xmtcalls));
usr.sbin/ntp/ntpdc/nl.c
452
(int) offsetof(struct old_conf_peer, peeraddr));
usr.sbin/ntp/ntpdc/nl.c
454
(int) offsetof(struct old_conf_peer, hmode));
usr.sbin/ntp/ntpdc/nl.c
456
(int) offsetof(struct old_conf_peer, version));
usr.sbin/ntp/ntpdc/nl.c
458
(int) offsetof(struct old_conf_peer, minpoll));
usr.sbin/ntp/ntpdc/nl.c
46
(int) offsetof(union resp_pkt_u_tag, data));
usr.sbin/ntp/ntpdc/nl.c
460
(int) offsetof(struct old_conf_peer, maxpoll));
usr.sbin/ntp/ntpdc/nl.c
462
(int) offsetof(struct old_conf_peer, flags));
usr.sbin/ntp/ntpdc/nl.c
464
(int) offsetof(struct old_conf_peer, ttl));
usr.sbin/ntp/ntpdc/nl.c
466
(int) offsetof(struct old_conf_peer, unused));
usr.sbin/ntp/ntpdc/nl.c
468
(int) offsetof(struct old_conf_peer, keyid));
usr.sbin/ntp/ntpdc/nl.c
474
(int) offsetof(struct conf_peer, peeraddr));
usr.sbin/ntp/ntpdc/nl.c
476
(int) offsetof(struct conf_peer, hmode));
usr.sbin/ntp/ntpdc/nl.c
478
(int) offsetof(struct conf_peer, version));
usr.sbin/ntp/ntpdc/nl.c
48
(int) offsetof(union resp_pkt_u_tag, u32));
usr.sbin/ntp/ntpdc/nl.c
480
(int) offsetof(struct conf_peer, minpoll));
usr.sbin/ntp/ntpdc/nl.c
482
(int) offsetof(struct conf_peer, maxpoll));
usr.sbin/ntp/ntpdc/nl.c
484
(int) offsetof(struct conf_peer, flags));
usr.sbin/ntp/ntpdc/nl.c
486
(int) offsetof(struct conf_peer, ttl));
usr.sbin/ntp/ntpdc/nl.c
488
(int) offsetof(struct conf_peer, unused1));
usr.sbin/ntp/ntpdc/nl.c
490
(int) offsetof(struct conf_peer, keyid));
usr.sbin/ntp/ntpdc/nl.c
492
(int) offsetof(struct conf_peer, keystr));
usr.sbin/ntp/ntpdc/nl.c
494
(int) offsetof(struct conf_peer, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
496
(int) offsetof(struct conf_peer, unused2));
usr.sbin/ntp/ntpdc/nl.c
498
(int) offsetof(struct conf_peer, peeraddr6));
usr.sbin/ntp/ntpdc/nl.c
504
(int) offsetof(struct conf_unpeer, peeraddr));
usr.sbin/ntp/ntpdc/nl.c
506
(int) offsetof(struct conf_unpeer, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
508
(int) offsetof(struct conf_unpeer, peeraddr6));
usr.sbin/ntp/ntpdc/nl.c
514
(int) offsetof(struct conf_sys_flags, flags));
usr.sbin/ntp/ntpdc/nl.c
520
(int) offsetof(struct info_restrict, addr));
usr.sbin/ntp/ntpdc/nl.c
522
(int) offsetof(struct info_restrict, mask));
usr.sbin/ntp/ntpdc/nl.c
524
(int) offsetof(struct info_restrict, count));
usr.sbin/ntp/ntpdc/nl.c
526
(int) offsetof(struct info_restrict, flags));
usr.sbin/ntp/ntpdc/nl.c
528
(int) offsetof(struct info_restrict, mflags));
usr.sbin/ntp/ntpdc/nl.c
530
(int) offsetof(struct info_restrict, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
532
(int) offsetof(struct info_restrict, unused1));
usr.sbin/ntp/ntpdc/nl.c
534
(int) offsetof(struct info_restrict, addr6));
usr.sbin/ntp/ntpdc/nl.c
536
(int) offsetof(struct info_restrict, mask6));
usr.sbin/ntp/ntpdc/nl.c
54
(int) offsetof(struct resp_pkt, rm_vn_mode));
usr.sbin/ntp/ntpdc/nl.c
542
(int) offsetof(struct conf_restrict, addr));
usr.sbin/ntp/ntpdc/nl.c
544
(int) offsetof(struct conf_restrict, mask));
usr.sbin/ntp/ntpdc/nl.c
546
(int) offsetof(struct conf_restrict, flags));
usr.sbin/ntp/ntpdc/nl.c
548
(int) offsetof(struct conf_restrict, mflags));
usr.sbin/ntp/ntpdc/nl.c
550
(int) offsetof(struct conf_restrict, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
552
(int) offsetof(struct conf_restrict, addr6));
usr.sbin/ntp/ntpdc/nl.c
554
(int) offsetof(struct conf_restrict, mask6));
usr.sbin/ntp/ntpdc/nl.c
56
(int) offsetof(struct resp_pkt, auth_seq));
usr.sbin/ntp/ntpdc/nl.c
560
(int) offsetof(struct info_monitor_1, avg_int));
usr.sbin/ntp/ntpdc/nl.c
562
(int) offsetof(struct info_monitor_1, last_int));
usr.sbin/ntp/ntpdc/nl.c
564
(int) offsetof(struct info_monitor_1, restr));
usr.sbin/ntp/ntpdc/nl.c
566
(int) offsetof(struct info_monitor_1, count));
usr.sbin/ntp/ntpdc/nl.c
568
(int) offsetof(struct info_monitor_1, addr));
usr.sbin/ntp/ntpdc/nl.c
570
(int) offsetof(struct info_monitor_1, daddr));
usr.sbin/ntp/ntpdc/nl.c
572
(int) offsetof(struct info_monitor_1, flags));
usr.sbin/ntp/ntpdc/nl.c
574
(int) offsetof(struct info_monitor_1, port));
usr.sbin/ntp/ntpdc/nl.c
576
(int) offsetof(struct info_monitor_1, mode));
usr.sbin/ntp/ntpdc/nl.c
578
(int) offsetof(struct info_monitor_1, version));
usr.sbin/ntp/ntpdc/nl.c
58
(int) offsetof(struct resp_pkt, implementation));
usr.sbin/ntp/ntpdc/nl.c
580
(int) offsetof(struct info_monitor_1, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
582
(int) offsetof(struct info_monitor_1, unused1));
usr.sbin/ntp/ntpdc/nl.c
584
(int) offsetof(struct info_monitor_1, addr6));
usr.sbin/ntp/ntpdc/nl.c
586
(int) offsetof(struct info_monitor_1, daddr6));
usr.sbin/ntp/ntpdc/nl.c
592
(int) offsetof(struct info_monitor, avg_int));
usr.sbin/ntp/ntpdc/nl.c
594
(int) offsetof(struct info_monitor, last_int));
usr.sbin/ntp/ntpdc/nl.c
596
(int) offsetof(struct info_monitor, restr));
usr.sbin/ntp/ntpdc/nl.c
598
(int) offsetof(struct info_monitor, count));
usr.sbin/ntp/ntpdc/nl.c
6
(int) offsetof(union req_data_u_tag, data));
usr.sbin/ntp/ntpdc/nl.c
60
(int) offsetof(struct resp_pkt, request));
usr.sbin/ntp/ntpdc/nl.c
600
(int) offsetof(struct info_monitor, addr));
usr.sbin/ntp/ntpdc/nl.c
602
(int) offsetof(struct info_monitor, port));
usr.sbin/ntp/ntpdc/nl.c
604
(int) offsetof(struct info_monitor, mode));
usr.sbin/ntp/ntpdc/nl.c
606
(int) offsetof(struct info_monitor, version));
usr.sbin/ntp/ntpdc/nl.c
608
(int) offsetof(struct info_monitor, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
610
(int) offsetof(struct info_monitor, unused1));
usr.sbin/ntp/ntpdc/nl.c
612
(int) offsetof(struct info_monitor, addr6));
usr.sbin/ntp/ntpdc/nl.c
618
(int) offsetof(struct old_info_monitor, lasttime));
usr.sbin/ntp/ntpdc/nl.c
62
(int) offsetof(struct resp_pkt, err_nitems));
usr.sbin/ntp/ntpdc/nl.c
620
(int) offsetof(struct old_info_monitor, firsttime));
usr.sbin/ntp/ntpdc/nl.c
622
(int) offsetof(struct old_info_monitor, count));
usr.sbin/ntp/ntpdc/nl.c
624
(int) offsetof(struct old_info_monitor, addr));
usr.sbin/ntp/ntpdc/nl.c
626
(int) offsetof(struct old_info_monitor, port));
usr.sbin/ntp/ntpdc/nl.c
628
(int) offsetof(struct old_info_monitor, mode));
usr.sbin/ntp/ntpdc/nl.c
630
(int) offsetof(struct old_info_monitor, version));
usr.sbin/ntp/ntpdc/nl.c
632
(int) offsetof(struct old_info_monitor, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
634
(int) offsetof(struct old_info_monitor, addr6));
usr.sbin/ntp/ntpdc/nl.c
64
(int) offsetof(struct resp_pkt, mbz_itemsize));
usr.sbin/ntp/ntpdc/nl.c
640
(int) offsetof(struct reset_flags, flags));
usr.sbin/ntp/ntpdc/nl.c
646
(int) offsetof(struct info_auth, timereset));
usr.sbin/ntp/ntpdc/nl.c
648
(int) offsetof(struct info_auth, numkeys));
usr.sbin/ntp/ntpdc/nl.c
650
(int) offsetof(struct info_auth, numfreekeys));
usr.sbin/ntp/ntpdc/nl.c
652
(int) offsetof(struct info_auth, keylookups));
usr.sbin/ntp/ntpdc/nl.c
654
(int) offsetof(struct info_auth, keynotfound));
usr.sbin/ntp/ntpdc/nl.c
656
(int) offsetof(struct info_auth, encryptions));
usr.sbin/ntp/ntpdc/nl.c
658
(int) offsetof(struct info_auth, decryptions));
usr.sbin/ntp/ntpdc/nl.c
66
(int) offsetof(struct resp_pkt, u));
usr.sbin/ntp/ntpdc/nl.c
660
(int) offsetof(struct info_auth, expired));
usr.sbin/ntp/ntpdc/nl.c
662
(int) offsetof(struct info_auth, keyuncached));
usr.sbin/ntp/ntpdc/nl.c
668
(int) offsetof(struct info_trap, local_address));
usr.sbin/ntp/ntpdc/nl.c
670
(int) offsetof(struct info_trap, trap_address));
usr.sbin/ntp/ntpdc/nl.c
672
(int) offsetof(struct info_trap, trap_port));
usr.sbin/ntp/ntpdc/nl.c
674
(int) offsetof(struct info_trap, sequence));
usr.sbin/ntp/ntpdc/nl.c
676
(int) offsetof(struct info_trap, settime));
usr.sbin/ntp/ntpdc/nl.c
678
(int) offsetof(struct info_trap, origtime));
usr.sbin/ntp/ntpdc/nl.c
680
(int) offsetof(struct info_trap, resets));
usr.sbin/ntp/ntpdc/nl.c
682
(int) offsetof(struct info_trap, flags));
usr.sbin/ntp/ntpdc/nl.c
684
(int) offsetof(struct info_trap, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
686
(int) offsetof(struct info_trap, local_address6));
usr.sbin/ntp/ntpdc/nl.c
688
(int) offsetof(struct info_trap, trap_address6));
usr.sbin/ntp/ntpdc/nl.c
694
(int) offsetof(struct conf_trap, local_address));
usr.sbin/ntp/ntpdc/nl.c
696
(int) offsetof(struct conf_trap, trap_address));
usr.sbin/ntp/ntpdc/nl.c
698
(int) offsetof(struct conf_trap, trap_port));
usr.sbin/ntp/ntpdc/nl.c
700
(int) offsetof(struct conf_trap, unused));
usr.sbin/ntp/ntpdc/nl.c
702
(int) offsetof(struct conf_trap, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
704
(int) offsetof(struct conf_trap, local_address6));
usr.sbin/ntp/ntpdc/nl.c
706
(int) offsetof(struct conf_trap, trap_address6));
usr.sbin/ntp/ntpdc/nl.c
712
(int) offsetof(struct info_control, ctltimereset));
usr.sbin/ntp/ntpdc/nl.c
714
(int) offsetof(struct info_control, numctlreq));
usr.sbin/ntp/ntpdc/nl.c
716
(int) offsetof(struct info_control, numctlbadpkts));
usr.sbin/ntp/ntpdc/nl.c
718
(int) offsetof(struct info_control, numctlresponses));
usr.sbin/ntp/ntpdc/nl.c
72
(int) offsetof(struct info_peer_list, addr));
usr.sbin/ntp/ntpdc/nl.c
720
(int) offsetof(struct info_control, numctlfrags));
usr.sbin/ntp/ntpdc/nl.c
722
(int) offsetof(struct info_control, numctlerrors));
usr.sbin/ntp/ntpdc/nl.c
724
(int) offsetof(struct info_control, numctltooshort));
usr.sbin/ntp/ntpdc/nl.c
726
(int) offsetof(struct info_control, numctlinputresp));
usr.sbin/ntp/ntpdc/nl.c
728
(int) offsetof(struct info_control, numctlinputfrag));
usr.sbin/ntp/ntpdc/nl.c
730
(int) offsetof(struct info_control, numctlinputerr));
usr.sbin/ntp/ntpdc/nl.c
732
(int) offsetof(struct info_control, numctlbadoffset));
usr.sbin/ntp/ntpdc/nl.c
734
(int) offsetof(struct info_control, numctlbadversion));
usr.sbin/ntp/ntpdc/nl.c
736
(int) offsetof(struct info_control, numctldatatooshort));
usr.sbin/ntp/ntpdc/nl.c
738
(int) offsetof(struct info_control, numctlbadop));
usr.sbin/ntp/ntpdc/nl.c
74
(int) offsetof(struct info_peer_list, port));
usr.sbin/ntp/ntpdc/nl.c
740
(int) offsetof(struct info_control, numasyncmsgs));
usr.sbin/ntp/ntpdc/nl.c
746
(int) offsetof(struct info_clock, clockadr));
usr.sbin/ntp/ntpdc/nl.c
748
(int) offsetof(struct info_clock, type));
usr.sbin/ntp/ntpdc/nl.c
750
(int) offsetof(struct info_clock, flags));
usr.sbin/ntp/ntpdc/nl.c
752
(int) offsetof(struct info_clock, lastevent));
usr.sbin/ntp/ntpdc/nl.c
754
(int) offsetof(struct info_clock, currentstatus));
usr.sbin/ntp/ntpdc/nl.c
756
(int) offsetof(struct info_clock, polls));
usr.sbin/ntp/ntpdc/nl.c
758
(int) offsetof(struct info_clock, noresponse));
usr.sbin/ntp/ntpdc/nl.c
76
(int) offsetof(struct info_peer_list, hmode));
usr.sbin/ntp/ntpdc/nl.c
760
(int) offsetof(struct info_clock, badformat));
usr.sbin/ntp/ntpdc/nl.c
762
(int) offsetof(struct info_clock, baddata));
usr.sbin/ntp/ntpdc/nl.c
764
(int) offsetof(struct info_clock, timestarted));
usr.sbin/ntp/ntpdc/nl.c
766
(int) offsetof(struct info_clock, fudgetime1));
usr.sbin/ntp/ntpdc/nl.c
768
(int) offsetof(struct info_clock, fudgetime2));
usr.sbin/ntp/ntpdc/nl.c
770
(int) offsetof(struct info_clock, fudgeval1));
usr.sbin/ntp/ntpdc/nl.c
772
(int) offsetof(struct info_clock, fudgeval2));
usr.sbin/ntp/ntpdc/nl.c
778
(int) offsetof(struct conf_fudge, clockadr));
usr.sbin/ntp/ntpdc/nl.c
78
(int) offsetof(struct info_peer_list, flags));
usr.sbin/ntp/ntpdc/nl.c
780
(int) offsetof(struct conf_fudge, which));
usr.sbin/ntp/ntpdc/nl.c
782
(int) offsetof(struct conf_fudge, fudgetime));
usr.sbin/ntp/ntpdc/nl.c
784
(int) offsetof(struct conf_fudge, fudgeval_flags));
usr.sbin/ntp/ntpdc/nl.c
790
(int) offsetof(struct info_clkbug, clockadr));
usr.sbin/ntp/ntpdc/nl.c
792
(int) offsetof(struct info_clkbug, nvalues));
usr.sbin/ntp/ntpdc/nl.c
794
(int) offsetof(struct info_clkbug, ntimes));
usr.sbin/ntp/ntpdc/nl.c
796
(int) offsetof(struct info_clkbug, svalues));
usr.sbin/ntp/ntpdc/nl.c
798
(int) offsetof(struct info_clkbug, stimes));
usr.sbin/ntp/ntpdc/nl.c
80
(int) offsetof(struct info_peer_list, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
800
(int) offsetof(struct info_clkbug, values));
usr.sbin/ntp/ntpdc/nl.c
802
(int) offsetof(struct info_clkbug, times));
usr.sbin/ntp/ntpdc/nl.c
808
(int) offsetof(struct info_kernel, offset));
usr.sbin/ntp/ntpdc/nl.c
810
(int) offsetof(struct info_kernel, freq));
usr.sbin/ntp/ntpdc/nl.c
812
(int) offsetof(struct info_kernel, maxerror));
usr.sbin/ntp/ntpdc/nl.c
814
(int) offsetof(struct info_kernel, esterror));
usr.sbin/ntp/ntpdc/nl.c
816
(int) offsetof(struct info_kernel, status));
usr.sbin/ntp/ntpdc/nl.c
818
(int) offsetof(struct info_kernel, shift));
usr.sbin/ntp/ntpdc/nl.c
82
(int) offsetof(struct info_peer_list, unused1));
usr.sbin/ntp/ntpdc/nl.c
820
(int) offsetof(struct info_kernel, constant));
usr.sbin/ntp/ntpdc/nl.c
822
(int) offsetof(struct info_kernel, precision));
usr.sbin/ntp/ntpdc/nl.c
824
(int) offsetof(struct info_kernel, tolerance));
usr.sbin/ntp/ntpdc/nl.c
826
(int) offsetof(struct info_kernel, ppsfreq));
usr.sbin/ntp/ntpdc/nl.c
828
(int) offsetof(struct info_kernel, jitter));
usr.sbin/ntp/ntpdc/nl.c
830
(int) offsetof(struct info_kernel, stabil));
usr.sbin/ntp/ntpdc/nl.c
832
(int) offsetof(struct info_kernel, jitcnt));
usr.sbin/ntp/ntpdc/nl.c
834
(int) offsetof(struct info_kernel, calcnt));
usr.sbin/ntp/ntpdc/nl.c
836
(int) offsetof(struct info_kernel, errcnt));
usr.sbin/ntp/ntpdc/nl.c
838
(int) offsetof(struct info_kernel, stbcnt));
usr.sbin/ntp/ntpdc/nl.c
84
(int) offsetof(struct info_peer_list, addr6));
usr.sbin/ntp/ntpdc/nl.c
844
(int) offsetof(struct info_if_stats, unaddr));
usr.sbin/ntp/ntpdc/nl.c
846
(int) offsetof(struct info_if_stats, unbcast));
usr.sbin/ntp/ntpdc/nl.c
848
(int) offsetof(struct info_if_stats, unmask));
usr.sbin/ntp/ntpdc/nl.c
850
(int) offsetof(struct info_if_stats, v6_flag));
usr.sbin/ntp/ntpdc/nl.c
852
(int) offsetof(struct info_if_stats, name));
usr.sbin/ntp/ntpdc/nl.c
854
(int) offsetof(struct info_if_stats, flags));
usr.sbin/ntp/ntpdc/nl.c
856
(int) offsetof(struct info_if_stats, last_ttl));
usr.sbin/ntp/ntpdc/nl.c
858
(int) offsetof(struct info_if_stats, num_mcast));
usr.sbin/ntp/ntpdc/nl.c
860
(int) offsetof(struct info_if_stats, received));
usr.sbin/ntp/ntpdc/nl.c
862
(int) offsetof(struct info_if_stats, sent));
usr.sbin/ntp/ntpdc/nl.c
864
(int) offsetof(struct info_if_stats, notsent));
usr.sbin/ntp/ntpdc/nl.c
866
(int) offsetof(struct info_if_stats, uptime));
usr.sbin/ntp/ntpdc/nl.c
868
(int) offsetof(struct info_if_stats, scopeid));
usr.sbin/ntp/ntpdc/nl.c
870
(int) offsetof(struct info_if_stats, ifindex));
usr.sbin/ntp/ntpdc/nl.c
872
(int) offsetof(struct info_if_stats, ifnum));
usr.sbin/ntp/ntpdc/nl.c
874
(int) offsetof(struct info_if_stats, peercnt));
usr.sbin/ntp/ntpdc/nl.c
876
(int) offsetof(struct info_if_stats, family));
usr.sbin/ntp/ntpdc/nl.c
878
(int) offsetof(struct info_if_stats, ignore_packets));
usr.sbin/ntp/ntpdc/nl.c
880
(int) offsetof(struct info_if_stats, action));
usr.sbin/ntp/ntpdc/nl.c
882
(int) offsetof(struct info_if_stats, _filler0));
usr.sbin/ntp/ntpdc/nl.c
888
(int) offsetof(struct info_dns_assoc, peeraddr));
usr.sbin/ntp/ntpdc/nl.c
890
(int) offsetof(struct info_dns_assoc, associd));
usr.sbin/ntp/ntpdc/nl.c
892
(int) offsetof(struct info_dns_assoc, hostname));
usr.sbin/ntp/ntpdc/nl.c
90
(int) offsetof(struct info_peer_summary, dstadr));
usr.sbin/ntp/ntpdc/nl.c
92
(int) offsetof(struct info_peer_summary, srcadr));
usr.sbin/ntp/ntpdc/nl.c
94
(int) offsetof(struct info_peer_summary, srcport));
usr.sbin/ntp/ntpdc/nl.c
96
(int) offsetof(struct info_peer_summary, stratum));
usr.sbin/ntp/ntpdc/nl.c
98
(int) offsetof(struct info_peer_summary, hpoll));
usr.sbin/pciconf/pciconf.c
548
if (conf[0].pc_reported_len < offsetof(struct pci_conf, pc_subbus)) {
usr.sbin/powerd/powerd.c
347
#define _OUT(_field) offsetof(struct nlevent, _field)
usr.sbin/route6d/route6d.c
3333
sin6->sin6_len - offsetof(struct sockaddr_in6, sin6_addr));
usr.sbin/rtsold/rtsock.c
103
offsetof(struct rt_msghdr, rtm_msglen) + sizeof(rtm->rtm_msglen);
usr.sbin/sndctl/sndctl.c
141
#define F(member) offsetof(struct snd_dev, member)
usr.sbin/sndctl/sndctl.c
177
#define F(member) offsetof(struct snd_chan, member)
usr.sbin/uefisign/pe.c
109
CTASSERT(offsetof(struct pe_optional_header_32_plus, po_size_of_headers) == 60);
usr.sbin/uefisign/pe.c
110
CTASSERT(offsetof(struct pe_optional_header_32_plus, po_checksum) == 64);
usr.sbin/uefisign/pe.c
111
CTASSERT(offsetof(struct pe_optional_header_32_plus, po_subsystem) == 68);
usr.sbin/uefisign/pe.c
112
CTASSERT(offsetof(struct pe_optional_header_32_plus, po_number_of_rva_and_sizes) == 108);
usr.sbin/uefisign/pe.c
128
CTASSERT(offsetof(struct pe_section_header, psh_size_of_raw_data) == 16);
usr.sbin/uefisign/pe.c
129
CTASSERT(offsetof(struct pe_section_header, psh_pointer_to_raw_data) == 20);
usr.sbin/uefisign/pe.c
218
x->x_path, pde->pde_rva + offsetof(struct pe_certificate, pc_signature));
usr.sbin/uefisign/pe.c
221
pde->pde_rva + offsetof(struct pe_certificate, pc_signature), x->x_path);
usr.sbin/uefisign/pe.c
375
offsetof(struct pe_optional_header_32_plus, po_checksum);
usr.sbin/uefisign/pe.c
424
offsetof(struct pe_optional_header_32, po_checksum);
usr.sbin/uefisign/pe.c
94
CTASSERT(offsetof(struct pe_optional_header_32, po_size_of_headers) == 60);
usr.sbin/uefisign/pe.c
95
CTASSERT(offsetof(struct pe_optional_header_32, po_checksum) == 64);
usr.sbin/uefisign/pe.c
96
CTASSERT(offsetof(struct pe_optional_header_32, po_subsystem) == 68);
usr.sbin/uefisign/pe.c
97
CTASSERT(offsetof(struct pe_optional_header_32, po_number_of_rva_and_sizes) == 92);