Name

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_struct within the struct.