1/* @title: container_of macro */
2#define container_of(ptr, type, member) \
3 ((type *) ((char *) (ptr) - offsetof(type, member)))
4