Debian Codegraph @

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

raw
1 #include <linux/kernel.h>
2 #include <linux/list.h>
3
4 struct foo {
5 struct hlist_node foo_a;
6 };
7
8 struct hlist_head *h;
9
10 void foo (void);
11 void foo (void)
12 {
13 struct hlist_node *n;
14 struct foo *fooptr;
15
16 hlist_for_each_entry(fooptr, n, h, foo_a) {
17 (void) fooptr;
18 }
19 }