Loading...
Searching...
No Matches
Go to the documentation of this file.
23#define LIST_UNLINK_PART(list, node, part) \
25 if ((node)->part.prev) \
26 (node)->part.prev->part.next = (node)->part.next; \
28 (list).head = (node)->part.next; \
29 if ((node)->part.next) \
30 (node)->part.next->part.prev = (node)->part.prev; \
32 (list).tail = (node)->part.prev; \
35#define LIST_LINK_TAIL_PART(list, node, part) \
37 (node)->part.next = NULL; \
38 (node)->part.prev = (list).tail; \
40 (list).tail->part.next = (node); \
41 else (list).head = (node); \
42 (list).tail = (node); \