#include <linux/list.h>
#include "kre_debug.h"
Go to the source code of this file.
Defines | |
| #define | kre_list_head struct list_head |
| kREproxy list head. | |
| #define | kre_list_del(list_head) list_del( list_head ) |
| Delete entry list_head from list. | |
| #define | kre_list_for_each(pos, head) list_for_each( pos, head ) |
| Macro for iteration of kre list entry. | |
| #define | kre_list_entry(ptr, type, member) list_entry( ptr, type, member ) |
| Macro for geting entry structure from list Look for <linux/list.h> for more detail. | |
Functions | |
| void | kre_list_init (struct list_head *) |
| kREproxy list initialization. | |
| void | kre_list_add_entry_tail (struct list_head *new, struct list_head *list) |
| Add new list entry tail. | |
| #define kre_list_del | ( | list_head | ) | list_del( list_head ) |
Delete entry list_head from list.
| list_head | The entry to delete. |
| #define kre_list_entry | ( | ptr, | |||
| type, | |||||
| member | ) | list_entry( ptr, type, member ) |
Macro for geting entry structure from list Look for <linux/list.h> for more detail.
| ptr | Pointer to list head. | |
| type | Type of entry. | |
| member | list head member name. |
| #define kre_list_for_each | ( | pos, | |||
| head | ) | list_for_each( pos, head ) |
Macro for iteration of kre list entry.
| pos | The &struct list_head to use as a loop cursor. | |
| head | The head for your list. |
| void kre_list_add_entry_tail | ( | struct list_head * | new, | |
| struct list_head * | list | |||
| ) |
Add new list entry tail.
| new | New list head entry to add. | |
| list | Destination list. |
1.5.8