• Home
  • Raw
  • Download

Lines Matching refs:end

73 static void vunmap_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end,  in vunmap_pte_range()  argument
82 } while (pte++, addr += PAGE_SIZE, addr != end); in vunmap_pte_range()
86 static void vunmap_pmd_range(pud_t *pud, unsigned long addr, unsigned long end, in vunmap_pmd_range() argument
95 next = pmd_addr_end(addr, end); in vunmap_pmd_range()
108 } while (pmd++, addr = next, addr != end); in vunmap_pmd_range()
111 static void vunmap_pud_range(p4d_t *p4d, unsigned long addr, unsigned long end, in vunmap_pud_range() argument
120 next = pud_addr_end(addr, end); in vunmap_pud_range()
131 } while (pud++, addr = next, addr != end); in vunmap_pud_range()
134 static void vunmap_p4d_range(pgd_t *pgd, unsigned long addr, unsigned long end, in vunmap_p4d_range() argument
143 next = p4d_addr_end(addr, end); in vunmap_p4d_range()
154 } while (p4d++, addr = next, addr != end); in vunmap_p4d_range()
172 unsigned long end = start + size; in unmap_kernel_range_noflush() local
178 BUG_ON(addr >= end); in unmap_kernel_range_noflush()
181 next = pgd_addr_end(addr, end); in unmap_kernel_range_noflush()
187 } while (pgd++, addr = next, addr != end); in unmap_kernel_range_noflush()
190 arch_sync_kernel_mappings(start, end); in unmap_kernel_range_noflush()
194 unsigned long end, pgprot_t prot, struct page **pages, int *nr, in vmap_pte_range() argument
216 } while (pte++, addr += PAGE_SIZE, addr != end); in vmap_pte_range()
222 unsigned long end, pgprot_t prot, struct page **pages, int *nr, in vmap_pmd_range() argument
232 next = pmd_addr_end(addr, end); in vmap_pmd_range()
235 } while (pmd++, addr = next, addr != end); in vmap_pmd_range()
240 unsigned long end, pgprot_t prot, struct page **pages, int *nr, in vmap_pud_range() argument
250 next = pud_addr_end(addr, end); in vmap_pud_range()
253 } while (pud++, addr = next, addr != end); in vmap_pud_range()
258 unsigned long end, pgprot_t prot, struct page **pages, int *nr, in vmap_p4d_range() argument
268 next = p4d_addr_end(addr, end); in vmap_p4d_range()
271 } while (p4d++, addr = next, addr != end); in vmap_p4d_range()
297 unsigned long end = addr + size; in map_kernel_range_noflush() local
304 BUG_ON(addr >= end); in map_kernel_range_noflush()
307 next = pgd_addr_end(addr, end); in map_kernel_range_noflush()
313 } while (pgd++, addr = next, addr != end); in map_kernel_range_noflush()
316 arch_sync_kernel_mappings(start, end); in map_kernel_range_noflush()
1333 static bool __purge_vmap_area_lazy(unsigned long start, unsigned long end) in __purge_vmap_area_lazy() argument
1353 if (va->va_end > end) in __purge_vmap_area_lazy()
1354 end = va->va_end; in __purge_vmap_area_lazy()
1357 flush_tlb_kernel_range(start, end); in __purge_vmap_area_lazy()
1740 static void _vm_unmap_aliases(unsigned long start, unsigned long end, int flush) in _vm_unmap_aliases() argument
1764 end = max(e, end); in _vm_unmap_aliases()
1775 if (!__purge_vmap_area_lazy(start, end) && flush) in _vm_unmap_aliases()
1776 flush_tlb_kernel_range(start, end); in _vm_unmap_aliases()
1795 unsigned long start = ULONG_MAX, end = 0; in vm_unmap_aliases() local
1798 _vm_unmap_aliases(start, end, flush); in vm_unmap_aliases()
2027 unsigned long end = addr + size; in unmap_kernel_range() local
2029 flush_cache_vunmap(addr, end); in unmap_kernel_range()
2031 flush_tlb_kernel_range(addr, end); in unmap_kernel_range()
2066 unsigned long end, int node, gfp_t gfp_mask, const void *caller) in __get_vm_area_node() argument
2088 va = alloc_vmap_area(size, align, start, end, node, gfp_mask); in __get_vm_area_node()
2102 unsigned long start, unsigned long end, in __get_vm_area_caller() argument
2105 return __get_vm_area_node(size, 1, flags, start, end, NUMA_NO_NODE, in __get_vm_area_caller()
2204 unsigned long start = ULONG_MAX, end = 0; in vm_remove_mappings() local
2233 end = max(addr + PAGE_SIZE, end); in vm_remove_mappings()
2244 _vm_unmap_aliases(start, end, flush_dmap); in vm_remove_mappings()
2557 unsigned long start, unsigned long end, gfp_t gfp_mask, in __vmalloc_node_range() argument
2570 vm_flags, start, end, node, gfp_mask, caller); in __vmalloc_node_range()
3207 unsigned long base, start, size, end, last_end, orig_start, orig_end; in pcpu_get_vm_areas() local
3215 end = start + sizes[area]; in pcpu_get_vm_areas()
3229 BUG_ON(start2 < end && start < end2); in pcpu_get_vm_areas()
3256 end = start + sizes[area]; in pcpu_get_vm_areas()
3259 base = pvm_determine_end_from_reverse(&va, align) - end; in pcpu_get_vm_areas()
3279 if (base + end > va->va_end) { in pcpu_get_vm_areas()
3280 base = pvm_determine_end_from_reverse(&va, align) - end; in pcpu_get_vm_areas()
3290 base = pvm_determine_end_from_reverse(&va, align) - end; in pcpu_get_vm_areas()
3304 end = start + sizes[area]; in pcpu_get_vm_areas()
3305 va = pvm_find_va_enclose_addr(base + end); in pcpu_get_vm_areas()