Home
last modified time | relevance | path

Searched refs:old_end (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/mm/
Dmremap.c116 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()
196 unsigned long new_addr, unsigned long old_end, in move_normal_pmd() argument
204 || old_end - old_addr < PMD_SIZE) in move_normal_pmd()
245 unsigned long extent, next, old_end; in move_page_tables() local
249 old_end = old_addr + len; in move_page_tables()
250 flush_cache_range(vma, old_addr, old_end); in move_page_tables()
253 old_addr, old_end); in move_page_tables()
[all …]
Dhuge_memory.c1864 unsigned long new_addr, unsigned long old_end, in move_huge_pmd() argument
1874 old_end - old_addr < HPAGE_PMD_SIZE) in move_huge_pmd()
/Linux-v5.4/include/linux/
Dmm-arch-hooks.h15 unsigned long old_start, unsigned long old_end, in arch_remap() argument
Dhuge_mm.h45 unsigned long new_addr, unsigned long old_end,
/Linux-v5.4/arch/powerpc/include/asm/
Dmm-arch-hooks.h13 unsigned long old_start, unsigned long old_end, in arch_remap() argument
/Linux-v5.4/fs/ocfs2/
Dreservations.c765 unsigned int old_end = ocfs2_resv_end(resv); in ocfs2_adjust_resv_from_alloc() local
767 BUG_ON(start != resv->r_start || old_end < end); in ocfs2_adjust_resv_from_alloc()
772 if (old_end == end) { in ocfs2_adjust_resv_from_alloc()
777 rhs = old_end - end; in ocfs2_adjust_resv_from_alloc()
785 resv->r_len = old_end - resv->r_start + 1; in ocfs2_adjust_resv_from_alloc()
/Linux-v5.4/fs/
Dexec.c630 unsigned long old_end = vma->vm_end; in shift_arg_pages() local
631 unsigned long length = old_end - old_start; in shift_arg_pages()
633 unsigned long new_end = old_end - shift; in shift_arg_pages()
648 if (vma_adjust(vma, new_start, old_end, vma->vm_pgoff, NULL)) in shift_arg_pages()
660 tlb_gather_mmu(&tlb, mm, old_start, old_end); in shift_arg_pages()
665 free_pgd_range(&tlb, new_end, old_end, new_end, in shift_arg_pages()
674 free_pgd_range(&tlb, old_start, old_end, new_end, in shift_arg_pages()
677 tlb_finish_mmu(&tlb, old_start, old_end); in shift_arg_pages()
/Linux-v5.4/arch/nds32/mm/
Dproc.c460 unsigned long old_end = end; in cpu_dma_inval_range() local
472 if (end != old_end) { in cpu_dma_inval_range()
/Linux-v5.4/fs/nfs/flexfilelayout/
Dflexfilelayout.c312 u64 new_end, old_end; in ff_lseg_merge() local
318 old_end = pnfs_calc_offset_end(old->pls_range.offset, in ff_lseg_merge()
320 if (old_end < new->pls_range.offset) in ff_lseg_merge()
328 if (new_end < old_end) in ff_lseg_merge()
329 new_end = old_end; in ff_lseg_merge()
/Linux-v5.4/fs/btrfs/
Dfree-space-cache.c2444 u64 old_end = info->bytes + info->offset; in btrfs_remove_free_space() local
2453 if (old_end < offset + bytes) { in btrfs_remove_free_space()
2454 bytes -= old_end - offset; in btrfs_remove_free_space()
2455 offset = old_end; in btrfs_remove_free_space()
2457 } else if (old_end == offset + bytes) { in btrfs_remove_free_space()
2464 old_end - (offset + bytes)); in btrfs_remove_free_space()