Lines Matching refs:prev
37 list->prev = list;
44 assert((list->next != NULL && list->prev != NULL) ||
45 !"list->next|prev is NULL, possibly missing list_init()");
46 assert(((elm->next == NULL && elm->prev == NULL) || list_empty(elm)) ||
47 !"elm->next|prev is not NULL, list node used twice?");
49 elm->prev = list;
52 elm->next->prev = elm;
58 assert((list->next != NULL && list->prev != NULL) ||
59 !"list->next|prev is NULL, possibly missing list_init()");
60 assert(((elm->next == NULL && elm->prev == NULL) || list_empty(elm)) ||
61 !"elm->next|prev is not NULL, list node used twice?");
64 elm->prev = list->prev;
65 list->prev = elm;
66 elm->prev->next = elm;
72 assert((elm->next != NULL && elm->prev != NULL) ||
73 !"list->next|prev is NULL, possibly missing list_init()");
75 elm->prev->next = elm->next;
76 elm->next->prev = elm->prev;
78 elm->prev = NULL;
84 assert((list->next != NULL && list->prev != NULL) ||
85 !"list->next|prev is NULL, possibly missing list_init()");