Searched refs:head (Results 1 – 7 of 7) sorted by relevance
23 collection_item_t *current_head = stack->head; in stack_pop()32 stack->head = new_head; in stack_pop()41 collection_item_t *current_head = stack->head; in stack_push()43 stack->head = item; in stack_push()51 stack->head = item; in stack_push()61 return stack->head; in stack_peek()
21 list->head = NULL; in linked_list_init()32 return list->head; in linked_list_get_first()72 if (list->head == NULL) { in linked_list_add_last()74 list->head = item; in linked_list_add_last()94 if (list->head == NULL) { in linked_list_add_first()95 list->head = item; in linked_list_add_first()98 list->head->previous = item; in linked_list_add_first()99 item->next = list->head; in linked_list_add_first()100 list->head = item; in linked_list_add_first()146 list->head = next_item; in linked_list_remove()[all …]
27 type *head;\68 (linked_list)->head = NULL;\80 while ((linked_list)->head != NULL) {\81 linked_list_##type##_remove((linked_list), (linked_list)->head);\87 return (linked_list)->head;\106 if ((linked_list)->head == NULL) {\107 (linked_list)->head = item;\110 (linked_list)->head->previous = item;\111 item->next = (linked_list)->head;\112 (linked_list)->head = item;\[all …]
54 collection_item_t *head; member104 #define linked_list_foreach(list, iter) for (iter = (void *)((list)->head); (iter); iter = (iter)->…
25 collection_item_t *head; member
1683 ULONG *head; in _nx_mdns_enable() local1785 head = (ULONG*)mdns_ptr -> nx_mdns_local_service_cache; in _nx_mdns_enable()1788 head = (ULONG*)(*head); in _nx_mdns_enable()1791 …_MDNS_RR*)((UCHAR*)mdns_ptr -> nx_mdns_local_service_cache + sizeof(ULONG)); (ULONG*)p < head; p++) in _nx_mdns_enable()1982 ULONG *head; in _nx_mdns_disable() local2020 head = (ULONG*)mdns_ptr -> nx_mdns_peer_service_cache; in _nx_mdns_disable()2023 head = (ULONG*)(*head); in _nx_mdns_disable()2026 …X_MDNS_RR*)((UCHAR*)mdns_ptr -> nx_mdns_peer_service_cache + sizeof(ULONG)); (ULONG*)p < head; p++) in _nx_mdns_disable()2045 head = (ULONG*)mdns_ptr -> nx_mdns_local_service_cache; in _nx_mdns_disable()2048 head = (ULONG*)(*head); in _nx_mdns_disable()[all …]
9429 ALIGN_TYPE *head; in _nx_dns_cache_initialize() local9440 head = (ALIGN_TYPE*)cache_ptr; in _nx_dns_cache_initialize()9441 *head = (ALIGN_TYPE)((ALIGN_TYPE*)cache_ptr + 1); in _nx_dns_cache_initialize()9759 ALIGN_TYPE *head; in _nx_dns_cache_add_rr() local9778 head = (ALIGN_TYPE*)cache_ptr; in _nx_dns_cache_add_rr()9779 head = (ALIGN_TYPE*)(*head); in _nx_dns_cache_add_rr()9785 for(p = (NX_DNS_RR*)((ALIGN_TYPE*)cache_ptr + 1); p < (NX_DNS_RR*)head; p++) in _nx_dns_cache_add_rr()9798 if((ALIGN_TYPE*)((UCHAR*)head + sizeof(NX_DNS_RR)) > tail) in _nx_dns_cache_add_rr()9802 for(p = (NX_DNS_RR*)((ALIGN_TYPE*)cache_ptr + 1); p < (NX_DNS_RR*)head; p++) in _nx_dns_cache_add_rr()9836 head = (ALIGN_TYPE*)cache_ptr; in _nx_dns_cache_add_rr()[all …]