Reference

hlist_replace_rcu(9)

replace old entry by new one

NAME

hlist_replace_rcu - replace old entry by new one

SYNOPSIS

void hlist_replace_rcu(struct hlist_node * old, struct hlist_node * 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.

COPYRIGHT

History