vma.h (23c57d1fa2b9530e38f7964b4e457fed5a7a0ae8) | vma.h (dba14840905f9ecaad0b3a261e4d7a88120c8c7a) |
---|---|
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 --- 12 unchanged lines hidden (view full) --- 21 struct vm_area_struct *remove2; 22}; 23 24struct unlink_vma_file_batch { 25 int count; 26 struct vm_area_struct *vmas[8]; 27}; 28 | 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 --- 12 unchanged lines hidden (view full) --- 21 struct vm_area_struct *remove2; 22}; 23 24struct unlink_vma_file_batch { 25 int count; 26 struct vm_area_struct *vmas[8]; 27}; 28 |
29/* 30 * vma munmap operation 31 */ 32struct vma_munmap_struct { 33 struct vma_iterator *vmi; 34 struct mm_struct *mm; 35 struct vm_area_struct *vma; /* The first vma to munmap */ 36 struct list_head *uf; /* Userfaultfd list_head */ 37 unsigned long start; /* Aligned start addr (inclusive) */ 38 unsigned long end; /* Aligned end addr (exclusive) */ 39 int vma_count; /* Number of vmas that will be removed */ 40 unsigned long nr_pages; /* Number of pages being removed */ 41 unsigned long locked_vm; /* Number of locked pages */ 42 bool unlock; /* Unlock after the munmap */ 43}; 44 |
|
29#ifdef CONFIG_DEBUG_VM_MAPLE_TREE 30void validate_mm(struct mm_struct *mm); 31#else 32#define validate_mm(mm) do { } while (0) 33#endif 34 35/* Required for expand_downwards(). */ 36void anon_vma_interval_tree_pre_update_vma(struct vm_area_struct *vma); --- 363 unchanged lines hidden --- | 45#ifdef CONFIG_DEBUG_VM_MAPLE_TREE 46void validate_mm(struct mm_struct *mm); 47#else 48#define validate_mm(mm) do { } while (0) 49#endif 50 51/* Required for expand_downwards(). */ 52void anon_vma_interval_tree_pre_update_vma(struct vm_area_struct *vma); --- 363 unchanged lines hidden --- |