HEX
Server: LiteSpeed
System: Linux w5304130.sdnsbox.com 4.18.0-425.3.1.lve.el8.x86_64 #1 SMP Tue Nov 22 22:59:23 EST 2022 x86_64
User: makefitmeserver (1001)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //usr/share/systemtap/runtime/linux/autoconf-hlist-4args.c
#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;
        }
}