Home
last modified time | relevance | path

Searched refs:mapping_size (Results 1 – 4 of 4) sorted by relevance

/arch/sparc/vdso/
Dvdso2c.h17 unsigned long mapping_size; in BITSFUNC() local
116 mapping_size = (stripped_len + 8191) / 8192 * 8192; in BITSFUNC()
124 mapping_size); in BITSFUNC()
135 fprintf(outfile, "\t.size = %lu,\n", mapping_size); in BITSFUNC()
/arch/x86/entry/vdso/
Dvdso2c.h49 unsigned long mapping_size; in BITSFUNC() local
178 mapping_size = (stripped_len + 4095) / 4096 * 4096; in BITSFUNC()
187 mapping_size); in BITSFUNC()
201 fprintf(outfile, "\t.size = %lu,\n", mapping_size); in BITSFUNC()
/arch/powerpc/mm/book3s64/
Dradix_pgtable.c298 unsigned long vaddr, addr, mapping_size = 0; in create_physical_mapping() local
305 for (addr = start; addr < end; addr += mapping_size) { in create_physical_mapping()
312 previous_size = mapping_size; in create_physical_mapping()
317 mapping_size = PUD_SIZE; in create_physical_mapping()
321 mapping_size = PMD_SIZE; in create_physical_mapping()
324 mapping_size = PAGE_SIZE; in create_physical_mapping()
330 if (overlaps_kernel_text(vaddr, vaddr + mapping_size) || in create_physical_mapping()
331 overlaps_interrupt_vector_text(vaddr, vaddr + mapping_size)) { in create_physical_mapping()
339 if (mapping_size != previous_size || exec != prev_exec) { in create_physical_mapping()
344 rc = __map_kernel_page(vaddr, addr, prot, mapping_size, nid, start, end); in create_physical_mapping()
[all …]
/arch/arm/mm/
Ddma-mapping.c1109 size_t mapping_size = mapping->bits << PAGE_SHIFT; in __alloc_iova() local
1155 iova = mapping->base + (mapping_size * i); in __alloc_iova()
1165 size_t mapping_size = mapping->bits << PAGE_SHIFT; in __free_iova() local
1173 bitmap_index = (u32) (addr - mapping->base) / (u32) mapping_size; in __free_iova()
1176 bitmap_base = mapping->base + mapping_size * bitmap_index; in __free_iova()
1180 if (addr + size > bitmap_base + mapping_size) { in __free_iova()