Linux Kernel
3.7.1
|
#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <regex.h>
#include <libgen.h>
Go to the source code of this file.
Data Structures | |
struct | list_head |
struct | offset |
struct | table |
Functions | |
int | main (int argc, char *argv[]) |
__list_for_each - iterate over a list : the &struct list_head to use as a loop cursor. : the head for your list.
This variant differs from list_for_each() in that it's the simplest possible list iteration code, no prefetching is done. Use this for code that knows the list to be very short (empty or 1 entry) most of the time.
Definition at line 385 of file mkregtable.c.
#define list_entry | ( | ptr, | |
type, | |||
member | |||
) | container_of(ptr, type, member) |
list_for_each_entry_continue - continue iteration over list of given type : the type * to use as a loop cursor. : the head for your list. : the name of the list_struct within the struct.
Continue to iterate over list of given type, continuing after the current position.
Definition at line 460 of file mkregtable.c.
list_for_each_entry_continue_reverse - iterate backwards from the given point : the type * to use as a loop cursor. : the head for your list. : the name of the list_struct within the struct.
Start to iterate over list of given type backwards, continuing after the current position.
Definition at line 474 of file mkregtable.c.
list_for_each_entry_from - iterate over list of given type from the current point : the type * to use as a loop cursor. : the head for your list. : the name of the list_struct within the struct.
Iterate over list of given type, continuing from current position.
Definition at line 487 of file mkregtable.c.
list_for_each_entry_safe - iterate over list of given type safe against removal of list entry : the type * to use as a loop cursor.
: another type * to use as temporary storage : the head for your list. : the name of the list_struct within the struct.
Definition at line 498 of file mkregtable.c.
list_for_each_entry_safe_continue : the type * to use as a loop cursor.
: another type * to use as temporary storage : the head for your list. : the name of the list_struct within the struct.
Iterate over list of given type, continuing after current point, safe against removal of list entry.
Definition at line 514 of file mkregtable.c.
list_for_each_entry_safe_from : the type * to use as a loop cursor.
: another type * to use as temporary storage : the head for your list. : the name of the list_struct within the struct.
Iterate over list of given type from current point, safe against removal of list entry.
Definition at line 530 of file mkregtable.c.
list_for_each_entry_safe_reverse : the type * to use as a loop cursor.
: another type * to use as temporary storage : the head for your list. : the name of the list_struct within the struct.
Iterate backwards over list of given type, safe against removal of list entry.
Definition at line 545 of file mkregtable.c.
Definition at line 47 of file mkregtable.c.
Definition at line 45 of file mkregtable.c.
list_prepare_entry - prepare a pos entry for use in list_for_each_entry_continue() : the type * to use as a start point : the head of the list : the name of the list_struct within the struct.
Prepares a pos entry for use as a start point in list_for_each_entry_continue().
Definition at line 448 of file mkregtable.c.
Definition at line 19 of file mkregtable.c.
Definition at line 710 of file mkregtable.c.