---
name: "hlist_for_each_entry_rcu"
section: "9"
platform: "linux"
package: "linux-manual-2.6.26"
version: "2.6.26-29"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/hlist_for_each_entry_rcu"
---

# hlist\_for\_each\_entry\_rcu(9)

iterate over rcu list of given type

## NAME

hlist\_for\_each\_entry\_rcu - iterate over rcu list of given type

## SYNOPSIS

**hlist\_for\_each\_entry\_rcu(***tpos***,** *pos***,** *head***,** *member***);**

## ARGUMENTS

*tpos*

the type \* to use as a loop cursor.

*pos*

the struct hlist\_node to use as a loop cursor.

*head*

the head for your list.

*member*

the name of the hlist\_node within the struct.

## DESCRIPTION

This list-traversal primitive may safely run concurrently with the \_rcu list-mutation primitives such as **hlist\_add\_head\_rcu** as long as the traversal is guarded by **rcu\_read\_lock**.

## COPYRIGHT
