runtime/linux/autoconf-hlist-4args.c - systemtap

Global variables defined

Data types defined

Functions defined

Source code

#include <linux/kernel.h>
#include <linux/list.h>

struct foo {
        struct hlist_node foo_a;
};

struct hlist_head *h;

void foo (void)
{
        struct hlist_node *n;
        struct foo *fooptr;

        hlist_for_each_entry(fooptr, n, h, foo_a) {
                (void) fooptr;
        }
}