login
Header Space

 
 

__list_for_each(9)

July 19, 2007 - 1:23am
Submitted by Jeremy on July 19, 2007 - 1:23am.

INDEX

    NAME, SYNOPSIS, ARGUMENTS, DESCRIPTION, COPYRIGHT

    "__LIST_FOR_EACH" "9" "July 2007" "Kernel Hackers Manual 2.6.22" "Data Types"

    NAME

    __list_for_each - iterate over a list

    SYNOPSIS

    "__list_for_each(" "pos" ", " "head" ");"

    ARGUMENTS

    pos

    the &struct list_head to use as a loop cursor.
    head
    the head for your list.

    DESCRIPTION

    This variant differs from list_for_eachfR
    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.

    COPYRIGHT

speck-geostationary