Lines Matching defs:head
72 /* If at least n pages are linked at head, get n pages off.
73 * Otherwise, don't modify head, and return NULL.
76 static struct page *page_chain_del(struct page **head, int n)
82 BUG_ON(!head);
84 page = *head;
101 /* actual return value, and adjustment of head */
102 page = *head;
103 *head = tmp;
108 * "private" page chain, before adding it back to a global chain head
132 static void page_chain_add(struct page **head,
141 /* add chain to head */
142 set_page_private(chain_last, (unsigned long)*head);
143 *head = chain_first;
476 struct list_head *head)
482 while (!list_empty(head)) {
492 struct list_head *head)
495 _drbd_wait_ee_list_empty(device, head);