Go to the documentation of this file.
32#define initDR(ring) ((ring).prev = (ring).next = &(ring))
34#define init2DR(elem, ring) \
36(elem).next = (ring).next; \
37(elem).next->prev = &(elem); \
38(elem).prev = &(ring); \
39(ring).next = &(elem); \
42#define removeDR(ring) \
44(ring).next->prev = (ring).prev; \
45(ring).prev->next = (ring).next; \