suse man page for __list_for_each

Query: __list_for_each

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

__LIST_FOR_EACH(9)						    Data Types							__LIST_FOR_EACH(9)

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_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.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 __LIST_FOR_EACH(9)
Related Man Pages
foreach(n) - centos
foreach(1t) - opensolaris
get_robust_list(2) - linux
set_robust_list(2) - linux
foreach(n) - suse
Similar Topics in the Unix Linux Community
Save value from output of Corestat and save in a list for each core