Lines Matching refs:head
441 if (!(devnm[major].head)) {
446 return (DI_NODE(pa + devnm[major].head));
785 struct node_list *head; /* node_list for tree walk */
792 if ((head = malloc(sizeof (struct node_list))) == NULL) {
797 head->next = NULL;
798 head->node = root;
803 while (head != NULL)
804 walk_one_node(&head, flag, arg, node_callback);
856 struct node_list *head; /* node_list for tree walk */
869 if ((head = malloc(sizeof (struct node_list))) == NULL) {
874 head->next = NULL;
875 head->node = root;
880 while (head != NULL)
881 walk_one_minor_list(&head, minor_type, flag, arg,
3600 struct node_list *head; /* node_list for tree walk */
3618 if ((head = malloc(sizeof (struct node_list))) == NULL) {
3623 head->next = NULL;
3624 head->node = root;
3629 while (head != NULL)
3630 walk_one_link(&head, endpoint, arg, link_callback);
3665 struct node_list *head; /* node_list for tree walk */
3681 if ((head = malloc(sizeof (struct node_list))) == NULL) {
3686 head->next = NULL;
3687 head->node = root;
3692 while (head != NULL)
3693 walk_one_lnode(&head, arg, lnode_callback);