---
name: "list_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/list_for_each_entry_rcu"
---

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

iterate over rcu list of given type

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

*pos*

the type \* to use as a loop cursor.

*head*

the head for your list.

*member*

the name of the list\_struct within the struct.

## DESCRIPTION

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

## COPYRIGHT
