Searched refs:__offsetof (Results 1 - 9 of 9) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/_types/
H A D___offsetof.h28 #ifndef __offsetof
29 #define __offsetof(type, field) ((size_t)(&((type *)0)->field)) macro
30 #endif /* __offsetof */
/darwin-on-arm/xnu/bsd/arm/
H A Dtypes.h106 #ifndef __offsetof
107 #define __offsetof(type, field) ((size_t)(&((type *)0)->field)) macro
/darwin-on-arm/xnu/bsd/i386/
H A Dtypes.h165 #ifndef __offsetof
166 #define __offsetof(type, field) ((size_t)(&((type *)0)->field)) macro
/darwin-on-arm/xnu/osfmk/arm/
H A Dtypes.h105 #ifndef __offsetof
106 #define __offsetof(type, field) ((size_t)(&((type *)0)->field)) macro
/darwin-on-arm/xnu/bsd/sys/
H A Dspawn_internal.h43 #include <sys/_types.h> /* __offsetof(), __darwin_size_t */
86 __offsetof(struct _posix_spawn_port_actions, pspa_actions[(x)])
216 __offsetof(struct _posix_spawn_file_actions, psfa_act_acts[(x)])
H A Dkauth.h41 #include <sys/_types.h> /* __offsetof() */
402 #define KAUTH_ACL_SIZE(c) (__offsetof(struct kauth_acl, acl_ace) + ((u_int32_t)(c) != KAUTH_FILESEC_NOACL ? ((c) * sizeof(struct kauth_ace)) : 0))
448 #define KAUTH_FILESEC_SIZE(c) (__offsetof(struct kauth_filesec, fsec_acl) + __offsetof(struct kauth_acl, acl_ace) + (c) * sizeof(struct kauth_ace))
H A Dqueue.h322 ((char *)((head)->stqh_last) - __offsetof(struct type, field))))
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dfasttrap.c2270 if (copyin(arg + __offsetof(fasttrap_probe_spec_t, ftps_noffs), &noffs,
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_attrlist.c1735 attrlist_pack_variable2(&ab, &fsec, __offsetof(struct kauth_filesec, fsec_acl), va.va_acl, KAUTH_ACL_COPYSIZE(va.va_acl));

Completed in 48 milliseconds