Lines Matching defs:head
509 if (!(devnm[major].head)) {
514 return (DI_NODE(pa + devnm[major].head));
853 struct node_list *head; /* node_list for tree walk */
860 if ((head = malloc(sizeof (struct node_list))) == NULL) {
865 head->next = NULL;
866 head->node = root;
871 while (head != NULL)
872 walk_one_node(&head, flag, arg, node_callback);
924 struct node_list *head; /* node_list for tree walk */
937 if ((head = malloc(sizeof (struct node_list))) == NULL) {
942 head->next = NULL;
943 head->node = root;
948 while (head != NULL)
949 walk_one_minor_list(&head, minor_type, flag, arg,
3835 struct node_list *head; /* node_list for tree walk */
3853 if ((head = malloc(sizeof (struct node_list))) == NULL) {
3858 head->next = NULL;
3859 head->node = root;
3864 while (head != NULL)
3865 walk_one_link(&head, endpoint, arg, link_callback);
3900 struct node_list *head; /* node_list for tree walk */
3916 if ((head = malloc(sizeof (struct node_list))) == NULL) {
3921 head->next = NULL;
3922 head->node = root;
3927 while (head != NULL)
3928 walk_one_lnode(&head, arg, lnode_callback);