Lines Matching refs:head
2199 find_sibling(dev_info_t *head, char *cname, char *caddr, uint_t flag,
2229 if (head == NULL)
2231 ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(head)));
2232 for (dip = head; dip; dip = ddi_get_next_sibling(dip)) {
3473 struct walk_elem *head = NULL;
3483 free_list(head);
3488 append_node(&head, dip);
3499 append_node(&head, dip);
3507 while (head) {
3509 struct walk_elem *next = head->next;
3512 ndi_devi_enter(head->dip, &circ);
3513 if (walk_devs(ddi_get_child(head->dip), f, arg, do_locking) ==
3516 ndi_devi_exit(head->dip, circ);
3517 free_list(head);
3521 ndi_devi_exit(head->dip, circ);
3522 kmem_free(head, sizeof (*head));
3523 head = next;
7205 diplist_to_parent_major(dev_info_t *head, char parents[])
7210 for (dip = head; dip != NULL; dip = ddi_get_next(dip)) {
7874 * Move to head for faster lookup next time