LIST_REPLACE(9) Data Types LIST_REPLACE(9)NAMElist_replace - replace old entry by new one
SYNOPSIS
void list_replace(struct list_head * old, struct list_head * new);
ARGUMENTS
old
the element to be replaced
new
the new element to insert
DESCRIPTION
If old was empty, it will be overwritten.
COPYRIGHTKernel Hackers Manual 3.11 November 2013 LIST_REPLACE(9)