Searched refs:fwk_dlist_node (Results 1 – 15 of 15) sorted by relevance
35 struct fwk_dlist_node *head;38 struct fwk_dlist_node *tail;47 struct fwk_dlist_node { struct49 struct fwk_dlist_node *next; argument52 struct fwk_dlist_node *prev; argument65 void __fwk_dlist_push_head(struct fwk_dlist *list, struct fwk_dlist_node *new)75 void __fwk_dlist_push_tail(struct fwk_dlist *list, struct fwk_dlist_node *new)85 struct fwk_dlist_node *__fwk_dlist_pop_head(struct fwk_dlist *list) FWK_LEAF94 void __fwk_dlist_remove(struct fwk_dlist *list, struct fwk_dlist_node *node)106 struct fwk_dlist_node *restrict new,[all …]
19 struct fwk_dlist_node *new) in __fwk_dlist_push_head()25 new->prev = (struct fwk_dlist_node *)list; in __fwk_dlist_push_head()35 struct fwk_dlist_node *new) in __fwk_dlist_push_tail()50 struct fwk_dlist_node *popped; in __fwk_dlist_pop_head()57 list->head->prev = (struct fwk_dlist_node *)list; in __fwk_dlist_pop_head()68 struct fwk_dlist_node *node) in __fwk_dlist_remove()72 fwk_assert(node != (struct fwk_dlist_node *)list); in __fwk_dlist_remove()89 struct fwk_dlist_node *restrict new, in __fwk_dlist_insert()90 struct fwk_dlist_node *restrict node) in __fwk_dlist_insert()130 offsetof(struct fwk_dlist_node, next),[all …]
91 struct fwk_dlist_node *node; in search_subscription()122 struct fwk_dlist_node *node; in send_notifications()
19 static struct fwk_dlist_node dnodes[3];39 assert(dlist.head == (struct fwk_dlist_node *)&dlist); in test_dlist_pop_head_on_empty()40 assert(dlist.tail == (struct fwk_dlist_node *)&dlist); in test_dlist_pop_head_on_empty()59 assert(dlist.head == (struct fwk_dlist_node *)&dlist); in test_dlist_pop_head_on_one()60 assert(dlist.tail == (struct fwk_dlist_node *)&dlist); in test_dlist_pop_head_on_one()86 assert(dnodes[1].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_pop_head_on_two()87 assert(dnodes[1].next == (struct fwk_dlist_node *)&dlist); in test_dlist_pop_head_on_two()116 assert(dnodes[1].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_pop_head_on_many()118 assert(dnodes[2].next == (struct fwk_dlist_node *)&dlist); in test_dlist_pop_head_on_many()
20 static struct fwk_dlist_node dnodes[2];49 assert(dnodes[0].next == (struct fwk_dlist_node *)&dlist); in test_dlist_push_head_from_empty()50 assert(dnodes[0].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_push_head_from_empty()70 assert(dnodes[0].next == (struct fwk_dlist_node *)&dlist); in test_dlist_push_back_from_empty()71 assert(dnodes[0].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_push_back_from_empty()94 assert(dnodes[0].next == (struct fwk_dlist_node *)&dlist); in test_dlist_push_head()98 assert(dnodes[1].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_push_head()122 assert(dnodes[0].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_push_back()124 assert(dnodes[1].next == (struct fwk_dlist_node *)&dlist); in test_dlist_push_back()
20 static struct fwk_dlist_node dnodes[3];80 assert(dlist.head == (struct fwk_dlist_node *)&dlist); in test_dlist_remove_on_one()81 assert(dlist.tail == (struct fwk_dlist_node *)&dlist); in test_dlist_remove_on_one()92 assert(dnodes[1].next == (struct fwk_dlist_node *)&dlist); in test_dlist_remove_first_of_two()93 assert(dnodes[1].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_remove_first_of_two()104 assert(dnodes[0].next == (struct fwk_dlist_node *)&dlist); in test_dlist_remove_second_of_two()105 assert(dnodes[0].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_remove_second_of_two()118 assert(dnodes[0].prev == (struct fwk_dlist_node *)&dlist); in test_dlist_remove_second_of_three()119 assert(dnodes[2].next == (struct fwk_dlist_node *)&dlist); in test_dlist_remove_second_of_three()
16 static struct fwk_dlist_node node[3];35 assert(node[2].next == (struct fwk_dlist_node *)&list); in test_list_insert()39 assert(node[0].prev == (struct fwk_dlist_node *)&list); in test_list_insert()52 assert(node[0].next == (struct fwk_dlist_node *)&list); in test_list_insert_empty()53 assert(node[0].prev == (struct fwk_dlist_node *)&list); in test_list_insert_empty()
14 static struct fwk_dlist_node node[2];23 node[0].next = node[0].prev = (struct fwk_dlist_node *)0xdead; in test_list_contains()24 node[1].next = node[1].prev = (struct fwk_dlist_node *)0xbeef; in test_list_contains()
29 assert(list.head == (struct fwk_dlist_node *)&list); in test_dlist_init()30 assert(list.tail == (struct fwk_dlist_node *)&list); in test_dlist_init()
18 struct fwk_dlist_node dlink;33 struct fwk_dlist_node *node = &container.dlink; in test_dlist_get()
19 static struct fwk_dlist_node dnode;
19 static struct fwk_dlist_node dnodes[2];
18 struct fwk_dlist_node dlist_node;
46 struct fwk_dlist_node node;179 struct fwk_dlist_node *alarm_node; in _insert_alarm_ctx_into_active_queue()336 const struct fwk_dlist_node *alarm_ctx_node; in get_next_alarm_remaining()460 fwk_list_remove(&ctx->alarms_active, (struct fwk_dlist_node *)alarm); in alarm_stop()
Completed in 10 milliseconds