Searched refs:OFFSET_OF (Results 1 – 2 of 2) sorted by relevance
788 #define OFFSET_OF(TYPE, Field) ((UINTN) __builtin_offsetof(TYPE, Field)) macro791 #ifndef OFFSET_OF792 #define OFFSET_OF(TYPE, Field) ((UINTN) &(((TYPE *)0)->Field)) macro873 #define BASE_CR(Record, TYPE, Field) ((TYPE *) ((CHAR8 *) (Record) - OFFSET_OF (TYPE, Field)))
1087 #define SIZE_OF_FILEPATH_DEVICE_PATH OFFSET_OF(FILEPATH_DEVICE_PATH,PathName)