Home
last modified time | relevance | path

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

/linux-6.6.21/mm/ !
Dmremap.c137 unsigned long old_addr, unsigned long old_end, in move_ptes() argument
145 unsigned long len = old_end - old_addr; in move_ptes()
189 for (; old_addr < old_end; old_pte++, old_addr += PAGE_SIZE, in move_ptes()
215 flush_tlb_range(vma, old_end - len, old_end); in move_ptes()
415 unsigned long old_addr, unsigned long old_end, in get_extent() argument
439 if (extent > old_end - old_addr) in get_extent()
440 extent = old_end - old_addr; in get_extent()
497 unsigned long extent, old_end; in move_page_tables() local
505 old_end = old_addr + len; in move_page_tables()
511 flush_cache_range(vma, old_addr, old_end); in move_page_tables()
[all …]
Dhugetlb.c5261 unsigned long old_end = old_addr + len; in move_hugetlb_page_tables() local
5268 old_end); in move_hugetlb_page_tables()
5281 for (; old_addr < old_end; old_addr += sz, new_addr += sz) { in move_hugetlb_page_tables()
5308 flush_hugetlb_tlb_range(vma, old_end - len, old_end); in move_hugetlb_page_tables()
5313 return len + old_addr - old_end; in move_hugetlb_page_tables()
/linux-6.6.21/fs/ocfs2/ !
Dreservations.c758 unsigned int old_end = ocfs2_resv_end(resv); in ocfs2_adjust_resv_from_alloc() local
760 BUG_ON(start != resv->r_start || old_end < end); in ocfs2_adjust_resv_from_alloc()
765 if (old_end == end) { in ocfs2_adjust_resv_from_alloc()
770 rhs = old_end - end; in ocfs2_adjust_resv_from_alloc()
778 resv->r_len = old_end - resv->r_start + 1; in ocfs2_adjust_resv_from_alloc()
/linux-6.6.21/fs/ !
Dexec.c687 unsigned long old_end = vma->vm_end; in shift_arg_pages() local
688 unsigned long length = old_end - old_start; in shift_arg_pages()
690 unsigned long new_end = old_end - shift; in shift_arg_pages()
708 if (vma_expand(&vmi, vma, new_start, old_end, vma->vm_pgoff, NULL)) in shift_arg_pages()
726 free_pgd_range(&tlb, new_end, old_end, new_end, in shift_arg_pages()
735 free_pgd_range(&tlb, old_start, old_end, new_end, in shift_arg_pages()
/linux-6.6.21/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()
330 if (new_end < old_end) in ff_lseg_merge()
331 new_end = old_end; in ff_lseg_merge()
/linux-6.6.21/fs/btrfs/ !
Dfree-space-cache.c2866 u64 old_end = info->bytes + info->offset; in btrfs_remove_free_space() local
2875 if (old_end < offset + bytes) { in btrfs_remove_free_space()
2876 bytes -= old_end - offset; in btrfs_remove_free_space()
2877 offset = old_end; in btrfs_remove_free_space()
2879 } else if (old_end == offset + bytes) { in btrfs_remove_free_space()
2887 old_end - (offset + bytes), in btrfs_remove_free_space()