Searched defs:offsetof (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dstddef.h27 #if !defined(offsetof)
29 #define offsetof(s, m) __builtin_offsetof(s, m) macro
32 #define offsetof(s, m) (std::size_t)(&(((s *)NULL)->m)) macro
34 #define offsetof(s, m) ((size_t)(&(((s *)NULL)->m))) macro
37 #endif /* !offsetof */
/illumos-gate/usr/src/stand/lib/sa/
H A Dstddef.h44 #ifndef offsetof
45 #define offsetof(s, m) (size_t)(&(((s *)0)->m)) macro
/illumos-gate/usr/src/boot/sys/sys/
H A Dstddef.h41 #define offsetof(type, field) __offsetof(type, field) macro
H A Dtypes.h295 #define offsetof(type, field) __offsetof(type, field) macro
/illumos-gate/usr/src/boot/include/
H A Dstddef.h65 #define offsetof(type, member) __offsetof(type, member) macro
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dgen.h40 ** Define NULL and offsetof (from the C89 standard)
49 # define offsetof(type, member) ((size_t)(&((type *)0)->member)) macro
H A Dconf.h1911 # undef offsetof /* avoid stddefs.h, sys/sysmacros.h conflict */ macro
1925 # undef offsetof /* avoid stddefs.h, sys/sysmacros.h conflict */ macro
2350 # undef offsetof /* avoid stddefs.h and sys/sysmacros.h conflict */ macro
3035 # define SM_ALIGN_SIZE offsetof(struct sm_align, al_u)
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dvdev_impl.h28 #undef offsetof macro
29 #define offsetof(t, m) ((int)&(((t *)0)->m)) macro
43 offsetof(vdev_label_t, vl_uberblock[(n) << VDEV_UBERBLOCK_SHIFT(sh)])
/illumos-gate/usr/src/uts/intel/amd64/sys/
H A Dkdi_regs.h124 CTASSERT(offsetof(kdiregs_t, kr_ss) == ((KDIREG_NGREG - 1) * sizeof (greg_t))); variable
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_xfs.c189 #undef offsetof macro
190 #define offsetof(t,m) ((int)&(((t *)0)->m)) macro
197 return (tmp - sizeof(xfs_bmdr_block_t) - offsetof(xfs_dinode_t, di_u)) /
/illumos-gate/usr/src/uts/common/io/virtio/
H A Dvirtio_impl.h247 offsetof(virtio_vq_driver_t, vqdr_ring)); variable
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h1763 #ifdef offsetof
1764 # undef offsetof macro
1766 #ifndef offsetof
1767 # define offsetof(t,m) (size_t)((&((t *)0)->m)) macro

Completed in 188 milliseconds