Lines Matching refs:node
39 #define FWK_LIST_GET(node, type, member) \ argument
40 ((type *)(((uintptr_t)node) - offsetof(type, member)))
145 #define fwk_list_next(list, node) \ argument
151 )((const struct fwk_slist *)list, (const struct fwk_slist_node *)node))
166 #define fwk_list_remove(list, node) \ argument
170 )(list, node)
184 #define fwk_list_insert(list, new, node) \ argument
187 )(list, new, node)
198 #define fwk_list_contains(list, node) \ argument
204 )((const struct fwk_slist *)list, (const struct fwk_slist_node *)node)
215 #define FWK_LIST_FOR_EACH(list, node, type, member, elem) \ argument
216 for (node = fwk_list_head(list), \
217 elem = FWK_LIST_GET(node, type, member); \
218 node != NULL; \
219 node = fwk_list_next(list, node), \
220 elem = FWK_LIST_GET(node, type, member))