Searched refs:OFFSETOF (Results 1 – 4 of 4) sorted by relevance
297 #ifndef OFFSETOF298 #define OFFSETOF(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro311 (type *)( (char *)__mptr - OFFSETOF(type,member) );})329 #define OFFSETOF(TYPE, MEMBER) macro
334 #define CCMP_PAYLOAD_OFFSET (OFFSETOF(CCMP_COMMUNICATION_HEAD_T, ccmpControl))335 #define CCMP_ITEM_OFFSET (OFFSETOF(CCMP_COMMUNICATION_HEAD_T, item))
147 #define CCMP_NEGO_PAYLOAD_OFFSET (OFFSETOF(CCMP_NEGO_HEAD_T, payload))
17 ((type_ *)((char *)ptr_ - OFFSETOF(type_, member_)))
Completed in 24 milliseconds