__LIST_FOR_EACH

Section: (9)
Updated: 06 August 2003
Index Return to Main Contents

 

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 counter.
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.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 08:41:20 GMT, April 09, 2004