tag | line | file | source code |
listnam | 14 | include/linux/lists.h | #define DLIST_INIT(listnam) \ |
listnam | 15 | include/linux/lists.h | (listnam).dl_prev = &(listnam); \ |
listnam | 16 | include/linux/lists.h | (listnam).dl_last = &(listnam); |
listnam | 18 | include/linux/lists.h | #define DLIST_NEXT(listnam) listnam.dl_next |
listnam | 19 | include/linux/lists.h | #define DLIST_PREV(listnam) listnam.dl_prev |
listnam | 21 | include/linux/lists.h | #define DLIST_INSERT_AFTER(node, new, listnam) do { \ |
listnam | 22 | include/linux/lists.h | (new)->listnam.dl_prev = (node); \ |
listnam | 23 | include/linux/lists.h | (new)->listnam.dl_next = (node)->listnam.dl_next; \ |
listnam | 24 | include/linux/lists.h | (node)->listnam.dl_next->listnam.dl_prev = (new); \ |
listnam | 25 | include/linux/lists.h | (node)->listnam.dl_next = (new); \ |
listnam | 28 | include/linux/lists.h | #define DLIST_INSERT_BEFORE(node, new, listnam) do { \ |
listnam | 29 | include/linux/lists.h | (new)->listnam.dl_next = (node); \ |
listnam | 30 | include/linux/lists.h | (new)->listnam.dl_prev = (node)->listnam.dl_prev; \ |
listnam | 31 | include/linux/lists.h | (node)->listnam.dl_prev->listnam.dl_next = (new); \ |
listnam | 32 | include/linux/lists.h | (node)->listnam.dl_prev = (new); \ |
listnam | 35 | include/linux/lists.h | #define DLIST_DELETE(node, listnam) do { \ |
listnam | 36 | include/linux/lists.h | node->listnam.dl_prev->listnam.dl_next = \ |
listnam | 37 | include/linux/lists.h | node->listnam.dl_next; \ |
listnam | 38 | include/linux/lists.h | node->listnam.dl_next->listnam.dl_prev = \ |
listnam | 39 | include/linux/lists.h | node->listnam.dl_prev; \ |