user/include/linux/list.h
this declaration:
#define list_entry(ptr, type, member) \\ ((type *)((char *)(ptr) – (unsigned long)(&
An explanation of this you find here: Section How Does This Work?