Lines Matching defs:PAGE_SIZE

223 	end_addr = chunk->base_addr + chunk->nr_pages * PAGE_SIZE -
311 * @align: alignment of area (max PAGE_SIZE)
410 * @align: alignment of area (max PAGE_SIZE)
496 * Allocate @size bytes. If @size is smaller than PAGE_SIZE,
509 if (size <= PAGE_SIZE)
1087 *next_off = end * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE;
1095 * @align: alignment of area (max PAGE_SIZE bytes)
1201 * @align: alignment of area (max PAGE_SIZE)
1357 region_size = ALIGN(start_offset + map_size, PAGE_SIZE);
1479 chunk->free_bytes = chunk->nr_pages * PAGE_SIZE;
1731 * @align: alignment of area (max PAGE_SIZE)
1777 if (unlikely(!size || size > PCPU_MIN_UNIT_SIZE || align > PAGE_SIZE ||
2021 * should prevent atomic allocs larger than PAGE_SIZE from keeping
2037 for (slot = pcpu_size_to_slot(PAGE_SIZE); slot <= pcpu_free_slot; slot++) {
2445 ptr = memblock_alloc(PFN_ALIGN(ai_size), PAGE_SIZE);
2556 * @ai->unit_size specifies unit size and must be aligned to PAGE_SIZE
2622 PCPU_SETUP_BUG_ON(!(IS_ALIGNED(PCPU_BITMAP_BLOCK_SIZE, PAGE_SIZE) ||
2623 IS_ALIGNED(PAGE_SIZE, PCPU_BITMAP_BLOCK_SIZE)));
3166 #define P4D_TABLE_SIZE PAGE_SIZE
3170 #define PUD_TABLE_SIZE PAGE_SIZE
3174 #define PMD_TABLE_SIZE PAGE_SIZE
3178 #define PTE_TABLE_SIZE PAGE_SIZE
3227 * pcpu_page_first_chunk - map the first chunk using PAGE_SIZE pages
3252 snprintf(psize_str, sizeof(psize_str), "%luK", PAGE_SIZE >> 10);
3254 ai = pcpu_build_alloc_info(reserved_size, 0, PAGE_SIZE, NULL);
3282 ptr = pcpu_fc_alloc(cpu, PAGE_SIZE, PAGE_SIZE, cpu_to_nd_fn);
3297 vm_area_register_early(&vm, PAGE_SIZE);
3328 pcpu_fc_free(page_address(pages[j]), PAGE_SIZE);
3364 PAGE_SIZE, NULL, NULL);
3392 fc = memblock_alloc_from(unit_size, PAGE_SIZE, __pa(MAX_DMA_ADDRESS));