Searched refs:MY_offsetof (Results 1 – 1 of 1) sorted by relevance
310 #ifndef MY_offsetof312 #define MY_offsetof(type, m) offsetof(type, m) macro317 #define MY_offsetof(type, m) ((size_t)&(((type *)0)->m)) macro338 #define MY_container_of(ptr, type, m) ((type *)((char *)(1 ? (ptr) : &((type *)0)->m) - MY_offsetof…