LIST_ENTRY(9) Data Types LIST_ENTRY(9)NAMElist_entry - get the struct for this entry
SYNOPSIS
list_entry(ptr, type, member);
ARGUMENTS
ptr
the struct list_head pointer.
type
the type of the struct this is embedded in.
member
the name of the list_struct within the struct.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 LIST_ENTRY(9)