• Home
  • Raw
  • Download

Lines Matching refs:head

386 	return cluster_is_null(&list->head);  in cluster_list_empty()
391 return cluster_next(&list->head); in cluster_list_first()
396 cluster_set_null(&list->head); in cluster_list_init()
405 cluster_set_next_flag(&list->head, idx, 0); in cluster_list_add_tail()
428 idx = cluster_next(&list->head); in cluster_list_del_first()
430 cluster_set_null(&list->head); in cluster_list_del_first()
433 cluster_set_next_flag(&list->head, in cluster_list_del_first()
611 cluster->index = si->free_clusters.head; in scan_swap_map_try_ssd_cluster()
3526 struct page *head; in add_swap_count_continuation() local
3574 head = vmalloc_to_page(si->swap_map + offset); in add_swap_count_continuation()
3582 if (!page_private(head)) { in add_swap_count_continuation()
3584 INIT_LIST_HEAD(&head->lru); in add_swap_count_continuation()
3585 set_page_private(head, SWP_CONTINUED); in add_swap_count_continuation()
3589 list_for_each_entry(list_page, &head->lru, lru) { in add_swap_count_continuation()
3611 list_add_tail(&page->lru, &head->lru); in add_swap_count_continuation()
3637 struct page *head; in swap_count_continued() local
3642 head = vmalloc_to_page(si->swap_map + offset); in swap_count_continued()
3643 if (page_private(head) != SWP_CONTINUED) { in swap_count_continued()
3650 page = list_entry(head->lru.next, struct page, lru); in swap_count_continued()
3663 BUG_ON(page == head); in swap_count_continued()
3669 if (page == head) { in swap_count_continued()
3679 while (page != head) { in swap_count_continued()
3695 BUG_ON(page == head); in swap_count_continued()
3704 while (page != head) { in swap_count_continued()
3727 struct page *head; in free_swap_count_continuations() local
3728 head = vmalloc_to_page(si->swap_map + offset); in free_swap_count_continuations()
3729 if (page_private(head)) { in free_swap_count_continuations()
3732 list_for_each_entry_safe(page, next, &head->lru, lru) { in free_swap_count_continuations()