Lines Matching refs:head
37 find_resource(fc_resource_t **head, void *ptr, int (cmp)(void *, void *))
39 fc_resource_t *f, *prev, *r = *head;
50 *head = r->next;
68 add_resource(fc_resource_t **head, void *ptr, int (cmp)(void *, void *))
72 r = find_resource(head, ptr, cmp);
76 r->next = *head;
77 *head = r;
85 free_resource(fc_resource_t **head, void *ptr, int (cmp)(void *, void *))
89 if ((r = find_resource(head, ptr, cmp)) != NULL)
108 fc_resource_t **head;
110 head = (fc_resource_t **) POP(DS);
111 (void) find_resource(head, NULL, dump_print);