Searched refs:p_head (Results 1 – 7 of 7) sorted by relevance
47 list_element* p_head; member74 tmp_list->p_head = NULL; in linked_list_init()140 list_element* tmp = p_list->p_head; in linked_list_add()141 p_list->p_head = elem; in linked_list_add()143 p_list->p_head->next = tmp; in linked_list_add()147 tmp->prev = p_list->p_head; in linked_list_add()151 p_list->p_tail = p_list->p_head; in linked_list_add()194 p_list->p_head = p_list->p_tail; in linked_list_remove()221 return p_list->p_head == NULL ? 1 : 0; in linked_list_empty()241 while( p_list->p_head != NULL ) in linked_list_flush()[all …]
46 list_element* p_head; member73 tmp_list->p_head = NULL; in linked_list_init()139 list_element* tmp = p_list->p_head; in linked_list_add()140 p_list->p_head = elem; in linked_list_add()142 p_list->p_head->next = tmp; in linked_list_add()146 tmp->prev = p_list->p_head; in linked_list_add()150 p_list->p_tail = p_list->p_head; in linked_list_add()193 p_list->p_head = p_list->p_tail; in linked_list_remove()220 return p_list->p_head == NULL ? 1 : 0; in linked_list_empty()240 while( p_list->p_head != NULL ) in linked_list_flush()[all …]