Lines Matching refs:head

75 	spl_ptr_llist_element   *head;  member
127 llist->head = NULL; in spl_ptr_llist_init()
145 spl_ptr_llist_element *current = llist->head, *next; in spl_ptr_llist_destroy()
170 current = llist->head; in spl_ptr_llist_offset()
193 elem->next = llist->head; in spl_ptr_llist_unshift()
195 if (llist->head) { in spl_ptr_llist_unshift()
196 llist->head->prev = elem; in spl_ptr_llist_unshift()
201 llist->head = elem; in spl_ptr_llist_unshift()
222 llist->head = elem; in spl_ptr_llist_push()
246 llist->head = NULL; in spl_ptr_llist_pop()
279 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_first() local
281 if (head == NULL) { in spl_ptr_llist_first()
284 return head->data; in spl_ptr_llist_first()
292 spl_ptr_llist_element *head = llist->head; in spl_ptr_llist_shift() local
294 if (head == NULL) { in spl_ptr_llist_shift()
298 if (head->next) { in spl_ptr_llist_shift()
299 head->next->prev = NULL; in spl_ptr_llist_shift()
304 llist->head = head->next; in spl_ptr_llist_shift()
306 data = head->data; in spl_ptr_llist_shift()
309 llist->dtor(head TSRMLS_CC); in spl_ptr_llist_shift()
311 head->data = NULL; in spl_ptr_llist_shift()
313 SPL_LLIST_DELREF(head); in spl_ptr_llist_shift()
321 spl_ptr_llist_element *current = from->head, *next; in spl_ptr_llist_copy()
392 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
396 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
403 intern->traverse_pointer = intern->llist->head; in spl_dllist_object_new_ex()
509 spl_ptr_llist_element *current = intern->llist->head, *next; in spl_dllist_object_get_debug_info()
902 if (element == llist->head) { in SPL_METHOD()
903 llist->head = element->next; in SPL_METHOD()
954 *traverse_pointer_ptr = llist->head; in spl_dllist_it_helper_rewind()
1143 spl_ptr_llist_element *current = intern->llist->head, *next; in SPL_METHOD()
1281 intern->llist->head = elem; in SPL_METHOD()