list.h
This graph shows which files directly or indirectly include list.h:
Defines
-
GET_LIST_ENTRY(list_item, type, list_head_member) ((type *) (((char *) (list_item)) - ((unsigned long) &((type *) 0)->list_head_member)))
gets a pointer to the struct that contains a certain list head
This macro should be used to retrieve a pointer to the struct that is containing the given ListHead.
-
LIST_FOR_EACH(item, head) for (item = (head)->next; item != (head); item = item->next)
-
MUTABLE_LIST_FOR_EACH(item, tmp, head) for (item = (head)->next, tmp = item->next; item != (head); item = tmp, tmp = item->next)
Functions
-
struct ListHead
- #include <list.h>
Collaboration diagram for ListHead: