Lines Matching defs:end
446 * prev_end_pfn static that contains the end of previous zone
1497 void __meminit reserve_bootmem_region(phys_addr_t start, phys_addr_t end)
1500 unsigned long end_pfn = PFN_UP(end);
4726 * could end up iterating over non-eligible zones endlessly.
5367 unsigned long end = addr + PAGE_ALIGN(size);
5369 while (addr < end) {
6289 * the end of that region and start processing the device pages.
6492 * batches of pages, one task can end up with a lot
6627 * Otherwise, they will end up skewing the stats of
6680 * get_pfn_range_for_nid - Return the start and end page frames for a node
6685 * It returns the start and end page frame of a node based on information
6687 * with no available memory, a warning is printed and the start and end
6735 * provided by the architecture for a given node by using the end of the
6783 /* Get the start and end of the zone */
6825 * @end_pfn: The end PFN to stop searching for holes
7189 unsigned long size, end;
7197 end = pgdat_end_pfn(pgdat);
7198 end = ALIGN(end, MAX_ORDER_NR_PAGES);
7199 size = (end - start) * sizeof(struct page);
7300 unsigned long start, end, mask;
7304 for_each_mem_pfn_range(i, MAX_NUMNODES, &start, &end, &nid) {
7307 last_end = end;
7518 * Push zone_movable_pfn to the end so
7775 unsigned long free_reserved_area(void *start, void *end, int poison, const char *s)
7781 end = (void *)((unsigned long)end & PAGE_MASK);
7782 for (pos = start; pos < end; pos += PAGE_SIZE, pages++) {
7838 #define adj_init_size(start, end, size, pos, adj) \
7840 if (&start[0] <= &pos[0] && &pos[0] < &end[0] && size > adj) \
8430 * some pages at the end of hash table which
8588 /* [start, end) must belong to a single zone. */
8590 unsigned long start, unsigned long end)
8604 while (pfn < end || !list_empty(&cc->migratepages)) {
8612 pfn = isolate_migratepages_range(cc, pfn, end);
8640 * @end: one-past-the-last PFN to allocate
8655 * pages which PFN is in [start, end) are allocated for the caller and
8658 int alloc_contig_range(unsigned long start, unsigned long end,
8702 pfn_max_align_up(end), migratetype, 0);
8716 ret = __alloc_contig_migrate_range(&cc, start, end);
8722 * Pages from [start, end) are within a MAX_ORDER_NR_PAGES
8724 * more, all pages in [start, end) are free in page allocator.
8726 * [start, end) (that is remove them from page allocator).
8729 * end of interesting range may be not aligned with pages that
8764 if (test_pages_isolated(outer_start, end, 0)) {
8766 __func__, outer_start, end);
8772 outer_end = isolate_freepages_range(&cc, outer_start, end);
8781 if (end != outer_end)
8782 free_contig_range(end, outer_end - end);
8786 pfn_max_align_up(end), migratetype);