Lines Matching refs:head
3648 /* Make peer_device point to the list head (not the first entry). */
4919 LIST_HEAD(head);
4928 /* connect list to head */
4929 list_add(&head, &state_change->list);
4930 free_state_changes(&head);
4942 if (!list_empty(&head))
4943 free_state_changes(&head);
4948 list_add_tail(&state_change->list, &head);
4953 if (!list_empty(&head)) {
4955 list_entry(head.next, struct drbd_state_change, list);
4958 list_del(&head); /* detach list from head */