Name

list_for_each — iterate over a list

Synopsis

list_for_each ( pos,
  head);
 

Arguments

pos

the struct list_head to use as a loop cursor.

head

the head for your list.