Name

list_for_each_entry — iterate over list of given type

Synopsis

list_for_each_entry (  pos,
   head,
   member);

Arguments

pos

the type * to use as a loop cursor.

head

the head for your list.

member

the name of the list_struct within the struct.