1LIST_CUT_POSITION(9)              Data Types              LIST_CUT_POSITION(9)
2
3
4

NAME

6       list_cut_position - cut a list into two
7

SYNOPSIS

9       void list_cut_position(struct list_head * list,
10                              struct list_head * head,
11                              struct list_head * entry);
12

ARGUMENTS

14       list
15           a new list to add all removed entries
16
17       head
18           a list with entries
19
20       entry
21           an entry within head, could be the head itself and if so we won´t
22           cut the list
23

DESCRIPTION

25       This helper moves the initial part of head, up to and including entry,
26       from head to list. You should pass on entry an element you know is on
27       head.  list should be an empty list or a list you do not care about
28       losing its data.
29
31Kernel Hackers Manual 2.6.         June 2019              LIST_CUT_POSITION(9)
Impressum