1__LIST_FOR_EACH(9)                Data Types                __LIST_FOR_EACH(9)
2
3
4

NAME

6       __list_for_each - iterate over a list
7

SYNOPSIS

9       __list_for_each(pos, head);
10

ARGUMENTS

12       pos
13           the struct list_head to use as a loop cursor.
14
15       head
16           the head for your list.
17

DESCRIPTION

19       This variant differs from list_for_each in that it's the simplest
20       possible list iteration code, no prefetching is done. Use this for code
21       that knows the list to be very short (empty or 1 entry) most of the
22       time.
23
25Kernel Hackers Manual 2.6.       November 2011              __LIST_FOR_EACH(9)
Impressum