Lines Matching refs:head
3704 /* Make peer_device point to the list head (not the first entry). */
4975 LIST_HEAD(head);
4984 /* connect list to head */
4985 list_add(&head, &state_change->list);
4986 free_state_changes(&head);
4998 if (!list_empty(&head))
4999 free_state_changes(&head);
5004 list_add_tail(&state_change->list, &head);
5009 if (!list_empty(&head)) {
5011 list_entry(head.next, struct drbd_state_change, list);
5014 list_del(&head); /* detach list from head */