Lines Matching refs:MEMBER
8 #define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
10 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
13 #define container_of(ptr, type, member) ({ \
14 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
15 (type *)( (char *)__mptr - offsetof(type,member) );})
172 * @member: the name of the flist_struct within the struct.
174 #define flist_entry(ptr, type, member) \
175 container_of(ptr, type, member)
177 #define flist_first_entry(ptr, type, member) \
178 flist_entry((ptr)->next, type, member)