Home
last modified time | relevance | path

Searched refs:page_size (Results 1 – 25 of 45) sorted by relevance

12

/arch/powerpc/mm/
Dinit_64.c186 unsigned long page_size) in altmap_cross_boundary() argument
188 unsigned long nr_pfn = page_size / sizeof(struct page); in altmap_cross_boundary()
204 unsigned long page_size = 1 << mmu_psize_defs[mmu_vmemmap_psize].shift; in vmemmap_populate() local
207 start = ALIGN_DOWN(start, page_size); in vmemmap_populate()
211 for (; start < end; start += page_size) { in vmemmap_populate()
221 if (vmemmap_populated(start, page_size)) in vmemmap_populate()
229 if (altmap && !altmap_cross_boundary(altmap, start, page_size)) { in vmemmap_populate()
230 p = vmemmap_alloc_block_buf(page_size, node, altmap); in vmemmap_populate()
237 p = vmemmap_alloc_block_buf(page_size, node, NULL); in vmemmap_populate()
250 int nr_pfns = page_size >> PAGE_SHIFT; in vmemmap_populate()
[all …]
Dslice.c439 unsigned long page_size = 1UL << pshift; in slice_get_unmapped_area() local
450 if (len & (page_size - 1)) in slice_get_unmapped_area()
453 if (addr & (page_size - 1)) in slice_get_unmapped_area()
481 addr = ALIGN(addr, page_size); in slice_get_unmapped_area()
/arch/um/os-Linux/
Delf_aux.c28 long page_size = 0; in scan_elf_aux() local
59 page_size = auxv->a_un.a_val; in scan_elf_aux()
65 ! page_size || (vsyscall_ehdr % page_size) ) { in scan_elf_aux()
72 vsyscall_end = vsyscall_ehdr + page_size; in scan_elf_aux()
/arch/powerpc/mm/book3s64/
Dradix_tlb.c432 unsigned long pid, unsigned long page_size, in __tlbiel_va_range() argument
438 for (addr = start; addr < end; addr += page_size) in __tlbiel_va_range()
453 unsigned long pid, unsigned long page_size, in _tlbiel_va_range() argument
459 __tlbiel_va_range(start, end, pid, page_size, psize); in _tlbiel_va_range()
464 unsigned long pid, unsigned long page_size, in __tlbie_va_range() argument
470 for (addr = start; addr < end; addr += page_size) in __tlbie_va_range()
473 fixup_tlbie_va_range(addr - page_size, pid, ap); in __tlbie_va_range()
521 unsigned long page_size; member
530 _tlbiel_va_range(t->start, t->end, t->pid, t->page_size, in do_tlbiel_va_range()
546 unsigned long pid, unsigned long page_size, in _tlbie_va_range() argument
[all …]
Dhash_pgtable.c107 unsigned long page_size, in hash__vmemmap_create_mapping() argument
112 if ((start + page_size) >= H_VMEMMAP_END) { in hash__vmemmap_create_mapping()
117 rc = htab_bolt_mapping(start, start + page_size, phys, in hash__vmemmap_create_mapping()
121 int rc2 = htab_remove_mapping(start, start + page_size, in hash__vmemmap_create_mapping()
131 unsigned long page_size) in hash__vmemmap_remove_mapping() argument
133 int rc = htab_remove_mapping(start, start + page_size, in hash__vmemmap_remove_mapping()
Dradix_pgtable.c930 unsigned long page_size, in radix__vmemmap_create_mapping() argument
938 if ((start + page_size) >= RADIX_VMEMMAP_END) { in radix__vmemmap_create_mapping()
943 ret = __map_kernel_page_nid(start, phys, __pgprot(flags), page_size, nid); in radix__vmemmap_create_mapping()
950 void __meminit radix__vmemmap_remove_mapping(unsigned long start, unsigned long page_size) in radix__vmemmap_remove_mapping() argument
952 remove_pagetable(start, start + page_size, false); in radix__vmemmap_remove_mapping()
/arch/arm/mach-rpc/include/mach/
Duncompress.h19 unsigned long page_size; member
116 unsigned int nr_pages = 0, page_size = PAGE_SIZE; in arch_decomp_setup() local
129 page_size = PAGE_SIZE; in arch_decomp_setup()
135 page_size = params->page_size; in arch_decomp_setup()
179 if (nr_pages * page_size < 4096*1024) error("<4M of mem\n"); in arch_decomp_setup()
/arch/powerpc/platforms/ps3/
Dmm.c354 DBG("%s:%d: page_size %u\n", func, line, r->page_size); in _dma_dump_region()
390 DBG("%s:%d: r.page_size %u\n", func, line, c->region->page_size); in _dma_dump_chunk()
402 unsigned long aligned_bus = ALIGN_DOWN(bus_addr, 1 << r->page_size); in dma_find_chunk()
404 1 << r->page_size); in dma_find_chunk()
431 unsigned long aligned_lpar = ALIGN_DOWN(lpar_addr, 1 << r->page_size); in dma_find_chunk_lpar()
433 1 << r->page_size); in dma_find_chunk_lpar()
480 for (iopage = 0; iopage < (c->len >> r->page_size); iopage++) { in dma_ioc0_free_chunk()
481 offset = (1 << r->page_size) * iopage; in dma_ioc0_free_chunk()
590 pages = len >> r->page_size; in dma_ioc0_map_pages()
592 r->page_size, r->len, pages, iopte_flag); in dma_ioc0_map_pages()
[all …]
Dsystem-bus.c247 r->bus_addr, r->len, r->page_size, &lpar_addr); in ps3_sb_mmio_region_create()
314 enum ps3_mmio_page_size page_size) in ps3_mmio_region_init() argument
319 r->page_size = page_size; in ps3_mmio_region_init()
/arch/powerpc/mm/nohash/
Dbook3e_pgtable.c23 unsigned long page_size, in vmemmap_create_mapping() argument
40 for (i = 0; i < page_size; i += PAGE_SIZE) in vmemmap_create_mapping()
48 unsigned long page_size) in vmemmap_remove_mapping() argument
/arch/s390/include/asm/
Dtlb.h28 struct page *page, int page_size);
48 struct page *page, int page_size) in __tlb_remove_page_size() argument
/arch/powerpc/include/asm/book3s/64/
Dtlbflush-radix.h37 unsigned long page_size);
45 unsigned long page_size) in radix__flush_tlb_lpid_page() argument
Dhash.h249 unsigned long page_size,
252 unsigned long page_size);
Dradix.h290 unsigned long page_size,
293 unsigned long page_size);
Dpgtable.h1077 unsigned long page_size = 1 << mmu_psize_defs[mmu_io_psize].shift; in map_kernel_page() local
1078 WARN((page_size != PAGE_SIZE), "I/O page size != PAGE_SIZE"); in map_kernel_page()
1088 unsigned long page_size, in vmemmap_create_mapping() argument
1092 return radix__vmemmap_create_mapping(start, page_size, phys); in vmemmap_create_mapping()
1093 return hash__vmemmap_create_mapping(start, page_size, phys); in vmemmap_create_mapping()
1098 unsigned long page_size) in vmemmap_remove_mapping() argument
1101 return radix__vmemmap_remove_mapping(start, page_size); in vmemmap_remove_mapping()
1102 return hash__vmemmap_remove_mapping(start, page_size); in vmemmap_remove_mapping()
/arch/powerpc/include/asm/
Dps3.h85 enum ps3_dma_page_size page_size; member
121 struct ps3_dma_region *r, enum ps3_dma_page_size page_size,
150 enum ps3_mmio_page_size page_size; member
167 enum ps3_mmio_page_size page_size);
Dpnv-ocxl.h84 unsigned long page_size);
/arch/arm/kernel/
Datags_compat.c42 unsigned long page_size; /* 0 */ member
96 if (params->u1.s.page_size != PAGE_SIZE) { in build_tag_list()
122 tag->u.core.pagesize = params->u1.s.page_size; in build_tag_list()
/arch/sparc/include/asm/
Diommu_64.h37 u64 page_size; /* IO PAGE size for IOTSB */ member
/arch/arm64/mm/
Dflush.c58 page_size(page)); in __sync_icache_dcache()
/arch/powerpc/platforms/powernv/
Docxl.c535 unsigned long page_size) in pnv_ocxl_tlb_invalidate() argument
572 if (page_size == 0x1000) in pnv_ocxl_tlb_invalidate()
574 if (page_size == 0x200000) in pnv_ocxl_tlb_invalidate()
576 if (page_size == 0x40000000) in pnv_ocxl_tlb_invalidate()
/arch/sparc/kernel/
Dpci_sun4v.h97 unsigned long page_size,
/arch/mips/txx9/generic/
Dspi_eeprom.c38 eeprom->page_size = AT250X0_PAGE_SIZE; in spi_eeprom_register()
/arch/powerpc/include/asm/nohash/64/
Dpgtable.h313 unsigned long page_size,
316 unsigned long page_size);
/arch/riscv/kernel/
Dmachine_kexec.c90 control_code_buffer_sz = page_size(image->control_code_page); in machine_kexec_prepare()

12