list_entry (9) Linux Manual Page
list_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_head within the struct.
