Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
list.h File Reference
#include <linux/kernel.h>
#include <linux/prefetch.h>
#include "../../../../include/linux/list.h"

Go to the source code of this file.

Macros

#define list_for_each_from(pos, head)   for (; pos != (head); pos = pos->next)
 

Macro Definition Documentation

#define list_for_each_from (   pos,
  head 
)    for (; pos != (head); pos = pos->next)

list_for_each_from - iterate over a list from one of its nodes : the &struct list_head to use as a loop cursor, from where to start : the head for your list.

Definition at line 27 of file list.h.