/freebsd-11-stable/sys/dev/aic7xxx/ |
H A D | aic7xxx_osm.h | 109 #ifndef offsetof 110 #define offsetof(type, member) ((size_t)(&((type *)0)->member)) macro
|
/freebsd-11-stable/sys/mips/cavium/octe/ |
H A D | ethernet-rx.c | 200 CVMX_PREFETCH(m, offsetof(struct mbuf, m_data)); 201 CVMX_PREFETCH(m, offsetof(struct mbuf, m_pkthdr));
|
/freebsd-11-stable/sys/dev/ipmi/ |
H A D | ipmi_smbios.c | 97 offsetof(struct ipmi_entry, interrupt_number)) 134 if (s->length > offsetof(struct ipmi_entry, interrupt_number)) {
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_sharedpage.c | 229 shared_page_write(tk_base + offsetof(struct vdso_timekeep, tk_ver), 249 shared_page_write(tk_base + offsetof(struct vdso_timekeep32,
|
/freebsd-11-stable/usr.sbin/apmd/contrib/ |
H A D | pccardq.c | 87 pccardq.sun_len = offsetof(struct sockaddr_un, sun_path) + strlen(pccardq.sun_path); 102 pccardd.sun_len = offsetof(struct sockaddr_un, sun_path) + pccardd_len;
|
/freebsd-11-stable/contrib/gcclibs/libcpp/ |
H A D | system.h | 367 #ifndef offsetof 368 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER) macro
|
/freebsd-11-stable/sys/geom/part/ |
H A D | g_part_bsd64.c | 320 ressize = offsetof(struct disklabel64, d_partitions[RESPARTITIONS64]); 362 if (pp->sectorsize > offsetof(struct disklabel64, d_magic)) 481 v = rounddown2(pp->sectorsize + offsetof(struct disklabel64, d_magic), 486 v = le32dec(buf + offsetof(struct disklabel64, d_magic)); 518 if (crc32(&dlp->d_magic, offsetof(struct disklabel64, 520 offsetof(struct disklabel64, d_magic)) != v32) 657 v = offsetof(struct disklabel64, 659 offsetof(struct disklabel64, d_magic);
|
/freebsd-11-stable/sys/dev/hptmv/ |
H A D | vdevice.h | 80 #define ARRAY_VDEV_SIZE (offsetof(VDevice, u) + sizeof(RaidArray)) 81 #define DISK_VDEV_SIZE (offsetof(VDevice, u) + sizeof(Device))
|
/freebsd-11-stable/sbin/nvmecontrol/ |
H A D | identify.c | 195 hexlength = offsetof(struct nvme_controller_data, 258 hexlength = offsetof(struct nvme_namespace_data,
|
/freebsd-11-stable/sys/netinet/ |
H A D | ip_var.h | 153 kmod_ipstat_inc(offsetof(struct ipstat, name) / sizeof(uint64_t)) 156 kmod_ipstat_dec(offsetof(struct ipstat, name) / sizeof(uint64_t))
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContextWindows_x86_64.cpp | 46 #define GPR_OFFSET(regname) (LLVM_EXTENSION offsetof(GPR, regname)) 75 (sizeof(GPR) + LLVM_EXTENSION offsetof(FPReg, regname))
|
H A D | RegisterInfos_ppc64.h | 14 #define GPR_PPC64_OFFSET(regname) (offsetof(GPR_PPC64, regname)) 15 #define FPR_PPC64_OFFSET(regname) (offsetof(FPR_PPC64, regname) \ 17 #define VMX_PPC64_OFFSET(regname) (offsetof(VMX_PPC64, regname) \
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfilingWriter.c | 136 offsetof(ValueProfRecord, SiteCountArray); 169 uint32_t RecordHeaderSize = offsetof(ValueProfRecord, SiteCountArray);
|
/freebsd-11-stable/contrib/gcc/ |
H A D | vec.h | 562 return offsetof (VEC(T,base),vec) + alloc_ * sizeof(T); \ 847 return offsetof (VEC(T,base),vec) + alloc_ * sizeof(T); \ 984 offsetof (VEC(T,A),base.vec), \ 998 offsetof (VEC(T,A),base.vec), sizeof (T) \ 1023 offsetof (VEC(T,A),base.vec),\ 1039 offsetof (VEC(T,A),base.vec), \ 1080 (NULL, alloc_, offsetof (VEC(T,A),base.vec), \ 1093 offsetof (VEC(T,A),base.vec), sizeof (T) \ 1118 offsetof (VEC(T,A),base.vec),\ 1133 (*vec_, alloc_, offsetof (VE [all...] |
/freebsd-11-stable/contrib/gcc/config/ia64/ |
H A D | unwind-ia64.c | 2173 : : "i"(offsetof (struct _Unwind_Context, rnat))); 2175 : : "i"(offsetof (struct _Unwind_Context, bsp))); 2177 : : "i"(offsetof (struct _Unwind_Context, psp))); 2179 : : "i"(offsetof (struct _Unwind_Context, rp))); 2181 : : "i"(offsetof (struct _Unwind_Context, pr))); 2183 : : "i"(offsetof (struct _Unwind_Context, gp))); 2185 : : "i"(offsetof (struct _Unwind_Context, pfs_loc))); 2187 : : "i"(offsetof (struct _Unwind_Context, unat_loc))); 2189 : : "i"(offsetof (struct _Unwind_Context, lc_loc))); 2191 : : "i"(offsetof (struc [all...] |
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_dcbx.c | 867 data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port, 885 data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port, 904 offsetof(struct public_port, operational_dcbx_mib); 922 offsetof(struct public_port, remote_dcbx_mib); 938 offsetof(struct public_port, local_admin_dcbx_mib); 953 offsetof(struct public_port, dcb_dscp_map); 1418 offsetof(struct public_port, local_admin_dcbx_mib); 1428 offsetof(struct public_port, dcb_dscp_map); 1540 offsetof(struct public_port, lldp_received_tlvs[i]); 1587 offsetof(struc [all...] |
/freebsd-11-stable/crypto/openssl/crypto/asn1/ |
H A D | asn1t.h | 181 static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), lck, cb, 0}; \ 185 static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_ENCODING, 0, 0, cb, offsetof(tname, enc)}; \ 268 offsetof(stname,selname) ,\ 280 offsetof(stname,selname) ,\ 299 (flags), (tag), offsetof(stname, field),\ 402 offsetof(name, field),\ 419 offsetof(name, field),\
|
/freebsd-11-stable/sys/dev/hwpmc/ |
H A D | hwpmc_logging.c | 158 CTASSERT(offsetof(struct pmclog_map_in,pl_pathname) == 164 CTASSERT(offsetof(struct pmclog_pmcattach,pl_pathname) == 5*4); 169 CTASSERT(offsetof(struct pmclog_procexec,pl_pathname) == 5*4 + 839 recordlen = offsetof(struct pmclog_callchain, pl_pc) + 875 recordlen = offsetof(struct pmclog_map_in, pl_pathname) + 942 recordlen = offsetof(struct pmclog_pmcattach, pl_pathname) + pathlen; 999 recordlen = offsetof(struct pmclog_procexec, pl_pathname) + pathlen;
|
/freebsd-11-stable/contrib/libpcap/msdos/ |
H A D | pktdrvr.c | 99 #define rxOutOfs offsetof (PktRealStub,_rxOutOfs) 100 #define rxInOfs offsetof (PktRealStub,_rxInOfs) 101 #define PktReceiver offsetof (PktRealStub,_PktReceiver [para_skip]) 102 #define pktDrop offsetof (PktRealStub,_pktDrop) 103 #define pktTemp offsetof (PktRealStub,_pktTemp) 104 #define pktTxBuf offsetof (PktRealStub,_pktTxBuf) 105 #define FIRST_RX_BUF offsetof (PktRealStub,_pktRxBuf [0]) 106 #define LAST_RX_BUF offsetof (PktRealStub,_pktRxBuf [NUM_RX_BUF-1]) 1174 if (*(WORD*)(real_stub_array + offsetof(PktRealStub,_dummy)) != 0xB800)
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | vm_machdep.c | 96 _Static_assert(OFFSETOF_CURTHREAD == offsetof(struct pcpu, pc_curthread), 98 _Static_assert(OFFSETOF_CURPCB == offsetof(struct pcpu, pc_curpcb), 100 _Static_assert(__OFFSETOF_MONITORBUF == offsetof(struct pcpu, pc_monitorbuf),
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | vm_machdep.c | 83 _Static_assert(OFFSETOF_CURTHREAD == offsetof(struct pcpu, pc_curthread), 85 _Static_assert(OFFSETOF_CURPCB == offsetof(struct pcpu, pc_curpcb), 87 _Static_assert(OFFSETOF_MONITORBUF == offsetof(struct pcpu, pc_monitorbuf),
|
/freebsd-11-stable/sys/dev/arcmsr/ |
H A D | arcmsr.c | 1760 devicemap = offsetof(struct HBA_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]); 1769 devicemap = offsetof(struct HBB_RWBUFFER, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]); 1778 devicemap = offsetof(struct HBC_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]); 1786 devicemap = offsetof(struct HBD_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]); 1794 devicemap = offsetof(struct HBE_MessageUnit, msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]); 3743 size_t iop_firm_model = offsetof(struct HBA_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/ 3744 size_t iop_firm_version = offsetof(struct HBA_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_VERS_OFFSET]); /*firm_version,17,68-83*/ 3745 size_t iop_device_map = offsetof(struct HBA_MessageUnit,msgcode_rwbuffer[ARCMSR_FW_DEVMAP_OFFSET]); 3793 size_t iop_firm_model = offsetof(struct HBB_RWBUFFER, msgcode_rwbuffer[ARCMSR_FW_MODEL_OFFSET]); /*firm_model,15,60-67*/ 3794 size_t iop_firm_version = offsetof(struc [all...] |
/freebsd-11-stable/contrib/gcc/ginclude/ |
H A D | stddef.h | 414 #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) macro
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_iter.c | 116 offsetof(zpool_node_t, zn_avlnode), zpool_compare, UU_DEFAULT);
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-profiler.c | 157 offsetof(cvmx_config_block_t, events), sizeof(int64_t));
|