Lines Matching defs:list
42 /* Basic linked-list implementation. */
53 static UNUSED int ll_prepend(ps_malloc_ops_t *malloc_ops, ll_t **list, const void *data)
61 node->next = *list;
62 *list = node;
66 static UNUSED int ll_append(ps_malloc_ops_t *malloc_ops, ll_t **list, const void *data)
75 if (*list == NULL) {
76 *list = node;
80 for (curr = *list; curr->next != NULL; curr = curr->next);
85 static UNUSED int ll_remove(ps_malloc_ops_t *malloc_ops, ll_t **list, const void *data)
87 for (ll_t **l = list; *l != NULL; l = &(*l)->next) {
300 /* Definitions so that we can find the list of driver modules that can be initialised */
326 ZF_LOGE("Failed to allocate memory for a bookkeeping structure for the driver defer list");
335 ZF_LOGE("Failed to add the driver init function to the defer list");
352 /* Look through the list of hardware modules that are registered and
444 /* Definitions so that we can find the list of hardware modules that we need to initialise */