• Home
  • Raw
  • Download

Lines Matching refs:count

1105 static void free_pcppages_bulk(struct zone *zone, int count,  in free_pcppages_bulk()  argument
1119 while (count) { in free_pcppages_bulk()
1139 batch_free = count; in free_pcppages_bulk()
1160 } while (--count && --batch_free && !list_empty(list)); in free_pcppages_bulk()
2228 unsigned long count, struct list_head *list, in rmqueue_bulk() argument
2234 for (i = 0; i < count; ++i) { in rmqueue_bulk()
2289 to_drain = min(pcp->count, batch); in drain_zone_pages()
2292 pcp->count -= to_drain; in drain_zone_pages()
2315 if (pcp->count) { in drain_pages_zone()
2316 free_pcppages_bulk(zone, pcp->count, pcp); in drain_pages_zone()
2317 pcp->count = 0; in drain_pages_zone()
2389 if (pcp->pcp.count) in drain_all_pages()
2394 if (pcp->pcp.count) { in drain_all_pages()
2489 pcp->count++; in free_hot_cold_page()
2490 if (pcp->count >= pcp->high) { in free_hot_cold_page()
2493 pcp->count -= batch; in free_hot_cold_page()
2637 pcp->count += rmqueue_bulk(zone, 0, in buffered_rmqueue()
2650 pcp->count--; in buffered_rmqueue()
4309 free_pcp += per_cpu_ptr(zone->pageset, cpu)->pcp.count; in show_free_areas()
4394 free_pcp += per_cpu_ptr(zone->pageset, cpu)->pcp.count; in show_free_areas()
4441 K(this_cpu_read(zone->pageset->pcp.count)), in show_free_areas()
5233 pcp->count = 0; in pageset_init()
6434 void adjust_managed_page_count(struct page *page, long count) in adjust_managed_page_count() argument
6437 page_zone(page)->managed_pages += count; in adjust_managed_page_count()
6438 totalram_pages += count; in adjust_managed_page_count()
6441 totalhigh_pages += count; in adjust_managed_page_count()
7075 bool has_unmovable_pages(struct zone *zone, struct page *page, int count, in has_unmovable_pages() argument
7144 if (found > count) in has_unmovable_pages()
7385 unsigned int count = 0; in free_contig_range() local
7390 count += page_count(page) != 1; in free_contig_range()
7393 WARN(count != 0, "%d pages are still in use!\n", count); in free_contig_range()