vma.h (9c3ebeda8fb5a8e9e82ab9364ec3d4b80cd0ec3d) vma.h (94f59ea591f17d5fb77f68e820b27522596a7e9e)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * vma.h
4 *
5 * Core VMA manipulation API implemented in vma.c.
6 */
7#ifndef __MM_VMA_H
8#define __MM_VMA_H

--- 135 unchanged lines hidden (view full) ---

144 unsigned long end, struct list_head *uf, bool unlock);
145
146int do_vmi_munmap(struct vma_iterator *vmi, struct mm_struct *mm,
147 unsigned long start, size_t len, struct list_head *uf,
148 bool unlock);
149
150void remove_vma(struct vm_area_struct *vma, bool unreachable);
151
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * vma.h
4 *
5 * Core VMA manipulation API implemented in vma.c.
6 */
7#ifndef __MM_VMA_H
8#define __MM_VMA_H

--- 135 unchanged lines hidden (view full) ---

144 unsigned long end, struct list_head *uf, bool unlock);
145
146int do_vmi_munmap(struct vma_iterator *vmi, struct mm_struct *mm,
147 unsigned long start, size_t len, struct list_head *uf,
148 bool unlock);
149
150void remove_vma(struct vm_area_struct *vma, bool unreachable);
151
152void unmap_region(struct mm_struct *mm, struct ma_state *mas,
153 struct vm_area_struct *vma, struct vm_area_struct *prev,
154 struct vm_area_struct *next, unsigned long start,
155 unsigned long end, unsigned long tree_end, bool mm_wr_locked);
152void unmap_region(struct ma_state *mas, struct vm_area_struct *vma,
153 struct vm_area_struct *prev, struct vm_area_struct *next);
156
157/* Required by mmap_region(). */
158bool
159can_vma_merge_before(struct vm_area_struct *vma, unsigned long vm_flags,
160 struct anon_vma *anon_vma, struct file *file,
161 pgoff_t vm_pgoff, struct vm_userfaultfd_ctx vm_userfaultfd_ctx,
162 struct anon_vma_name *anon_name);
163

--- 318 unchanged lines hidden ---
154
155/* Required by mmap_region(). */
156bool
157can_vma_merge_before(struct vm_area_struct *vma, unsigned long vm_flags,
158 struct anon_vma *anon_vma, struct file *file,
159 pgoff_t vm_pgoff, struct vm_userfaultfd_ctx vm_userfaultfd_ctx,
160 struct anon_vma_name *anon_name);
161

--- 318 unchanged lines hidden ---