• Home
  • Raw
  • Download

Lines Matching refs:count

845 static void free_pcppages_bulk(struct zone *zone, int count,  in free_pcppages_bulk()  argument
861 count = min(pcp->count, count); in free_pcppages_bulk()
862 while (count) { in free_pcppages_bulk()
882 batch_free = count; in free_pcppages_bulk()
900 } while (--count && --batch_free && !list_empty(list)); in free_pcppages_bulk()
1898 unsigned long count, struct list_head *list, in rmqueue_bulk() argument
1904 for (i = 0; i < count; ++i) { in rmqueue_bulk()
1948 to_drain = min(pcp->count, batch); in drain_zone_pages()
1951 pcp->count -= to_drain; in drain_zone_pages()
1974 if (pcp->count) { in drain_pages_zone()
1975 free_pcppages_bulk(zone, pcp->count, pcp); in drain_pages_zone()
1976 pcp->count = 0; in drain_pages_zone()
2047 if (pcp->pcp.count) in drain_all_pages()
2052 if (pcp->pcp.count) { in drain_all_pages()
2144 pcp->count++; in free_hot_cold_page()
2145 if (pcp->count >= pcp->high) { in free_hot_cold_page()
2148 pcp->count -= batch; in free_hot_cold_page()
2291 pcp->count += rmqueue_bulk(zone, 0, in buffered_rmqueue()
2304 pcp->count--; in buffered_rmqueue()
3818 free_pcp += per_cpu_ptr(zone->pageset, cpu)->pcp.count; in show_free_areas()
3855 free_pcp += per_cpu_ptr(zone->pageset, cpu)->pcp.count; in show_free_areas()
3917 K(this_cpu_read(zone->pageset->pcp.count)), in show_free_areas()
4748 pcp->count = 0; in pageset_init()
5905 void adjust_managed_page_count(struct page *page, long count) in adjust_managed_page_count() argument
5908 page_zone(page)->managed_pages += count; in adjust_managed_page_count()
5909 totalram_pages += count; in adjust_managed_page_count()
5912 totalhigh_pages += count; in adjust_managed_page_count()
6635 bool has_unmovable_pages(struct zone *zone, struct page *page, int count, in has_unmovable_pages() argument
6704 if (found > count) in has_unmovable_pages()
6921 unsigned int count = 0; in free_contig_range() local
6926 count += page_count(page) != 1; in free_contig_range()
6929 WARN(count != 0, "%d pages are still in use!\n", count); in free_contig_range()