Lines Matching refs:list
268 static inline void free_list_of_pages(struct linked_page *list, in free_list_of_pages() argument
271 while (list) { in free_list_of_pages()
272 struct linked_page *lp = list->next; in free_list_of_pages()
274 free_image_page(list, clear_page_nosave); in free_list_of_pages()
275 list = lp; in free_list_of_pages()
382 struct list_head list; member
391 struct list_head list; /* Link Zones together */ member
437 struct list_head *list) in alloc_rtree_node() argument
449 list_add_tail(&node->list, list); in alloc_rtree_node()
574 list_for_each_entry(node, &zone->nodes, list) in free_zone_bm_rtree()
577 list_for_each_entry(node, &zone->leaves, list) in free_zone_bm_rtree()
584 list); in memory_bm_position_reset()
586 struct rtree_node, list); in memory_bm_position_reset()
603 static void free_mem_extents(struct list_head *list) in free_mem_extents() argument
607 list_for_each_entry_safe(ext, aux, list, hook) { in free_mem_extents()
620 static int create_mem_extents(struct list_head *list, gfp_t gfp_mask) in create_mem_extents() argument
624 INIT_LIST_HEAD(list); in create_mem_extents()
633 list_for_each_entry(ext, list, hook) in create_mem_extents()
637 if (&ext->hook == list || zone_end < ext->start) { in create_mem_extents()
643 free_mem_extents(list); in create_mem_extents()
660 list_for_each_entry_safe_continue(cur, aux, list, hook) { in create_mem_extents()
700 list_add_tail(&zone->list, &bm->zones); in memory_bm_create()
723 list_for_each_entry(zone, &bm->zones, list) in memory_bm_free()
755 list_for_each_entry(curr, &bm->zones, list) { in memory_bm_find_bit()
880 if (!list_is_last(&bm->cur.node->list, &bm->cur.zone->leaves)) { in rtree_next_node()
881 bm->cur.node = list_entry(bm->cur.node->list.next, in rtree_next_node()
882 struct rtree_node, list); in rtree_next_node()
890 if (!list_is_last(&bm->cur.zone->list, &bm->zones)) { in rtree_next_node()
891 bm->cur.zone = list_entry(bm->cur.zone->list.next, in rtree_next_node()
892 struct mem_zone_bm_rtree, list); in rtree_next_node()
894 struct rtree_node, list); in rtree_next_node()
940 struct list_head list; member
951 list_for_each_entry(node, &zone->nodes, list) in recycle_zone_bm_rtree()
954 list_for_each_entry(node, &zone->leaves, list) in recycle_zone_bm_rtree()
963 list_for_each_entry(zone, &bm->zones, list) in memory_bm_recycle()
991 struct nosave_region, list); in register_nosave_region()
1005 list_add_tail(®ion->list, &nosave_regions); in register_nosave_region()
1076 list_for_each_entry(region, &nosave_regions, list) { in mark_nosave_pages()