Search notes:

include/linux/list.h

Circular doubly linked list implementation (i. e. the struct list_head?)

list_for_each_entry

list_for_each_entry is a macro that can be used to iterate over the entries of a list.

Index