list_replace_rcu

Langue: en

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

list_replace_rcu - replace old entry by new one

SYNOPSIS

void list_replace_rcu(struct list_head * old, struct list_head * new);

ARGUMENTS

old

the element to be replaced

new

the new element to insert

DESCRIPTION

The old entry will be replaced with the new entry atomically.

NOTE

old should not be empty.