Searched refs:old_end (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/mm/ |
D | mremap.c | 116 unsigned long old_addr, unsigned long old_end, in move_ptes() argument 124 unsigned long len = old_end - old_addr; in move_ptes() 159 for (; old_addr < old_end; old_pte++, old_addr += PAGE_SIZE, in move_ptes() 185 flush_tlb_range(vma, old_end - len, old_end); in move_ptes() 259 unsigned long extent, next, old_end; in move_page_tables() local 263 old_end = old_addr + len; in move_page_tables() 264 flush_cache_range(vma, old_addr, old_end); in move_page_tables() 267 old_addr, old_end); in move_page_tables() 270 for (; old_addr < old_end; old_addr += extent, new_addr += extent) { in move_page_tables() 275 if (extent > old_end - old_addr) in move_page_tables() [all …]
|
/Linux-v5.10/include/linux/ |
D | mm-arch-hooks.h | 15 unsigned long old_start, unsigned long old_end, in arch_remap() argument
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | mm-arch-hooks.h | 13 unsigned long old_start, unsigned long old_end, in arch_remap() argument
|
/Linux-v5.10/fs/ocfs2/ |
D | reservations.c | 762 unsigned int old_end = ocfs2_resv_end(resv); in ocfs2_adjust_resv_from_alloc() local 764 BUG_ON(start != resv->r_start || old_end < end); in ocfs2_adjust_resv_from_alloc() 769 if (old_end == end) { in ocfs2_adjust_resv_from_alloc() 774 rhs = old_end - end; in ocfs2_adjust_resv_from_alloc() 782 resv->r_len = old_end - resv->r_start + 1; in ocfs2_adjust_resv_from_alloc()
|
/Linux-v5.10/fs/ |
D | exec.c | 680 unsigned long old_end = vma->vm_end; in shift_arg_pages() local 681 unsigned long length = old_end - old_start; in shift_arg_pages() 683 unsigned long new_end = old_end - shift; in shift_arg_pages() 698 if (vma_adjust(vma, new_start, old_end, vma->vm_pgoff, NULL)) in shift_arg_pages() 710 tlb_gather_mmu(&tlb, mm, old_start, old_end); in shift_arg_pages() 715 free_pgd_range(&tlb, new_end, old_end, new_end, in shift_arg_pages() 724 free_pgd_range(&tlb, old_start, old_end, new_end, in shift_arg_pages() 727 tlb_finish_mmu(&tlb, old_start, old_end); in shift_arg_pages()
|
/Linux-v5.10/arch/nds32/mm/ |
D | proc.c | 463 unsigned long old_end = end; in cpu_dma_inval_range() local 475 if (end != old_end) { in cpu_dma_inval_range()
|
/Linux-v5.10/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 306 u64 new_end, old_end; in ff_lseg_merge() local 312 old_end = pnfs_calc_offset_end(old->pls_range.offset, in ff_lseg_merge() 314 if (old_end < new->pls_range.offset) in ff_lseg_merge() 324 if (new_end < old_end) in ff_lseg_merge() 325 new_end = old_end; in ff_lseg_merge()
|
/Linux-v5.10/fs/btrfs/ |
D | free-space-cache.c | 2612 u64 old_end = info->bytes + info->offset; in btrfs_remove_free_space() local 2621 if (old_end < offset + bytes) { in btrfs_remove_free_space() 2622 bytes -= old_end - offset; in btrfs_remove_free_space() 2623 offset = old_end; in btrfs_remove_free_space() 2625 } else if (old_end == offset + bytes) { in btrfs_remove_free_space() 2633 old_end - (offset + bytes), in btrfs_remove_free_space()
|