Lines Matching refs:list_node_t
6 typedef struct list_node_t {
7 struct list_node_t *next;
9 } list_node_t;
12 list_node_t *head;
13 list_node_t *tail;
18 static list_node_t *list_free_node_(list_t *list, list_node_t *node);
74 bool list_insert_after(list_t *list, list_node_t *prev_node, void *data) {
79 list_node_t *node = (list_node_t *)malloc(sizeof(list_node_t));
100 list_node_t *node = (list_node_t *)malloc(sizeof(list_node_t));
120 list_node_t *node = (list_node_t *)malloc(sizeof(list_node_t));
149 list_node_t *next = list_free_node_(list, list->head);
156 for (list_node_t *prev = list->head, *node = list->head->next; node; prev = node, node = node->next)
171 for (list_node_t *node = list->head; node; )
187 for (list_node_t *node = list->head; node; ) {
188 list_node_t *next = node->next;
197 list_node_t *list_begin(const list_t *list) {
206 list_node_t *list_end(UNUSED_ATTR const list_t *list) {
215 list_node_t *list_next(const list_node_t *node) {
222 void *list_node(const list_node_t *node) {
227 static list_node_t *list_free_node_(list_t *list, list_node_t *node) {
231 list_node_t *next = node->next;