tag | line | file | source code |
vma | 126 | arch/alpha/kernel/ptrace.c | static unsigned long get_long(struct vm_area_struct * vma, unsigned long addr) |
vma | 137 | arch/alpha/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_task, addr); |
vma | 139 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 0); |
vma | 149 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 0); |
vma | 159 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 0); |
vma | 179 | arch/alpha/kernel/ptrace.c | static void put_long(struct vm_area_struct * vma, unsigned long addr, |
vma | 188 | arch/alpha/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_task, addr); |
vma | 190 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 1); |
vma | 200 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 1); |
vma | 210 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 1); |
vma | 215 | arch/alpha/kernel/ptrace.c | do_wp_page(vma, addr, 1); |
vma | 225 | arch/alpha/kernel/ptrace.c | *pgtable = pte_mkdirty(mk_pte(page, vma->vm_page_prot)); |
vma | 231 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma; |
vma | 234 | arch/alpha/kernel/ptrace.c | vma = find_vma(tsk,addr); |
vma | 235 | arch/alpha/kernel/ptrace.c | if (!vma) |
vma | 237 | arch/alpha/kernel/ptrace.c | if (vma->vm_start <= addr) |
vma | 238 | arch/alpha/kernel/ptrace.c | return vma; |
vma | 239 | arch/alpha/kernel/ptrace.c | if (!(vma->vm_flags & VM_GROWSDOWN)) |
vma | 241 | arch/alpha/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
vma | 243 | arch/alpha/kernel/ptrace.c | vma->vm_offset -= vma->vm_start - addr; |
vma | 244 | arch/alpha/kernel/ptrace.c | vma->vm_start = addr; |
vma | 245 | arch/alpha/kernel/ptrace.c | return vma; |
vma | 255 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
vma | 260 | arch/alpha/kernel/ptrace.c | if (!vma) { |
vma | 266 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma_high = vma; |
vma | 268 | arch/alpha/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
vma | 269 | arch/alpha/kernel/ptrace.c | vma_high = vma->vm_next; |
vma | 270 | arch/alpha/kernel/ptrace.c | if (!vma_high || vma_high->vm_start != vma->vm_end) |
vma | 273 | arch/alpha/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
vma | 307 | arch/alpha/kernel/ptrace.c | long l =get_long(vma, addr); |
vma | 324 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
vma | 326 | arch/alpha/kernel/ptrace.c | if (!vma) |
vma | 330 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma_high = vma; |
vma | 332 | arch/alpha/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
vma | 333 | arch/alpha/kernel/ptrace.c | vma_high = vma->vm_next; |
vma | 334 | arch/alpha/kernel/ptrace.c | if (!vma_high || vma_high->vm_start != vma->vm_end) |
vma | 337 | arch/alpha/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
vma | 387 | arch/alpha/kernel/ptrace.c | put_long(vma, addr & ~(sizeof(long)-1),low); |
vma | 390 | arch/alpha/kernel/ptrace.c | put_long(vma, addr, data); |
vma | 49 | arch/alpha/mm/fault.c | struct vm_area_struct * vma; |
vma | 51 | arch/alpha/mm/fault.c | vma = find_vma(current, address); |
vma | 52 | arch/alpha/mm/fault.c | if (!vma) |
vma | 54 | arch/alpha/mm/fault.c | if (vma->vm_start <= address) |
vma | 56 | arch/alpha/mm/fault.c | if (!(vma->vm_flags & VM_GROWSDOWN)) |
vma | 58 | arch/alpha/mm/fault.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
vma | 60 | arch/alpha/mm/fault.c | vma->vm_offset -= vma->vm_start - (address & PAGE_MASK); |
vma | 61 | arch/alpha/mm/fault.c | vma->vm_start = (address & PAGE_MASK); |
vma | 68 | arch/alpha/mm/fault.c | if (!(vma->vm_flags & VM_EXEC)) |
vma | 72 | arch/alpha/mm/fault.c | if (!(vma->vm_flags & (VM_READ | VM_WRITE))) |
vma | 75 | arch/alpha/mm/fault.c | if (!(vma->vm_flags & VM_WRITE)) |
vma | 79 | arch/alpha/mm/fault.c | handle_mm_fault(vma, address, cause > 0); |
vma | 86 | arch/i386/kernel/ptrace.c | static unsigned long get_long(struct vm_area_struct * vma, unsigned long addr) |
vma | 94 | arch/i386/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_task, addr); |
vma | 96 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 0); |
vma | 106 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 0); |
vma | 116 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 0); |
vma | 136 | arch/i386/kernel/ptrace.c | static void put_long(struct vm_area_struct * vma, unsigned long addr, |
vma | 145 | arch/i386/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_task, addr); |
vma | 147 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 1); |
vma | 157 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 1); |
vma | 167 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 1); |
vma | 172 | arch/i386/kernel/ptrace.c | do_wp_page(vma, addr, 1); |
vma | 182 | arch/i386/kernel/ptrace.c | *pgtable = pte_mkdirty(mk_pte(page, vma->vm_page_prot)); |
vma | 188 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma; |
vma | 191 | arch/i386/kernel/ptrace.c | vma = find_vma(tsk,addr); |
vma | 192 | arch/i386/kernel/ptrace.c | if (!vma) |
vma | 194 | arch/i386/kernel/ptrace.c | if (vma->vm_start <= addr) |
vma | 195 | arch/i386/kernel/ptrace.c | return vma; |
vma | 196 | arch/i386/kernel/ptrace.c | if (!(vma->vm_flags & VM_GROWSDOWN)) |
vma | 198 | arch/i386/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
vma | 200 | arch/i386/kernel/ptrace.c | vma->vm_offset -= vma->vm_start - addr; |
vma | 201 | arch/i386/kernel/ptrace.c | vma->vm_start = addr; |
vma | 202 | arch/i386/kernel/ptrace.c | return vma; |
vma | 212 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
vma | 214 | arch/i386/kernel/ptrace.c | if (!vma) |
vma | 218 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma_high = vma; |
vma | 220 | arch/i386/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
vma | 221 | arch/i386/kernel/ptrace.c | vma_high = vma->vm_next; |
vma | 222 | arch/i386/kernel/ptrace.c | if (!vma_high || vma_high->vm_start != vma->vm_end) |
vma | 225 | arch/i386/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
vma | 243 | arch/i386/kernel/ptrace.c | *result = get_long(vma, addr); |
vma | 254 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
vma | 256 | arch/i386/kernel/ptrace.c | if (!vma) |
vma | 260 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma_high = vma; |
vma | 262 | arch/i386/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
vma | 263 | arch/i386/kernel/ptrace.c | vma_high = vma->vm_next; |
vma | 264 | arch/i386/kernel/ptrace.c | if (!vma_high || vma_high->vm_start != vma->vm_end) |
vma | 267 | arch/i386/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
vma | 292 | arch/i386/kernel/ptrace.c | put_long(vma, addr & ~(sizeof(long)-1),low); |
vma | 295 | arch/i386/kernel/ptrace.c | put_long(vma, addr, data); |
vma | 37 | arch/i386/mm/fault.c | struct vm_area_struct * vma; |
vma | 43 | arch/i386/mm/fault.c | vma = find_vma(current, address); |
vma | 44 | arch/i386/mm/fault.c | if (!vma) |
vma | 46 | arch/i386/mm/fault.c | if (vma->vm_start <= address) |
vma | 48 | arch/i386/mm/fault.c | if (!(vma->vm_flags & VM_GROWSDOWN)) |
vma | 50 | arch/i386/mm/fault.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
vma | 52 | arch/i386/mm/fault.c | vma->vm_offset -= vma->vm_start - (address & PAGE_MASK); |
vma | 53 | arch/i386/mm/fault.c | vma->vm_start = (address & PAGE_MASK); |
vma | 63 | arch/i386/mm/fault.c | if (!(vma->vm_flags & VM_WRITE)) |
vma | 69 | arch/i386/mm/fault.c | if (!(vma->vm_flags & (VM_READ | VM_EXEC))) |
vma | 85 | arch/i386/mm/fault.c | do_wp_page(vma, address, error_code & 2); |
vma | 88 | arch/i386/mm/fault.c | do_no_page(vma, address, error_code & 2); |
vma | 85 | arch/mips/kernel/ptrace.c | static unsigned long get_long(struct vm_area_struct * vma, unsigned long addr) |
vma | 92 | arch/mips/kernel/ptrace.c | pgdir = PAGE_DIR_OFFSET(vma->vm_task, addr); |
vma | 94 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 0); |
vma | 104 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 0); |
vma | 124 | arch/mips/kernel/ptrace.c | static void put_long(struct vm_area_struct * vma, unsigned long addr, |
vma | 132 | arch/mips/kernel/ptrace.c | pgdir = PAGE_DIR_OFFSET(vma->vm_task, addr); |
vma | 134 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 1); |
vma | 144 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 1); |
vma | 149 | arch/mips/kernel/ptrace.c | do_wp_page(vma, addr, 1); |
vma | 159 | arch/mips/kernel/ptrace.c | *pgtable = pte_mkdirty(mk_pte(page, vma->vm_page_prot)); |
vma | 165 | arch/mips/kernel/ptrace.c | struct vm_area_struct * vma; |
vma | 168 | arch/mips/kernel/ptrace.c | vma = find_vma(tsk, addr); |
vma | 169 | arch/mips/kernel/ptrace.c | if (!vma) |
vma | 171 | arch/mips/kernel/ptrace.c | if (vma->vm_start <= addr) |
vma | 172 | arch/mips/kernel/ptrace.c | return vma; |
vma | 173 | arch/mips/kernel/ptrace.c | if (!(vma->vm_flags & VM_GROWSDOWN)) |
vma | 175 | arch/mips/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
vma | 177 | arch/mips/kernel/ptrace.c | vma->vm_offset -= vma->vm_start - addr; |
vma | 178 | arch/mips/kernel/ptrace.c | vma->vm_start = addr; |
vma | 179 | arch/mips/kernel/ptrace.c | return vma; |
vma | 189 | arch/mips/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
vma | 191 | arch/mips/kernel/ptrace.c | if (!vma) |
vma | 195 | arch/mips/kernel/ptrace.c | struct vm_area_struct * vma_high = vma; |
vma | 197 | arch/mips/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
vma | 198 | arch/mips/kernel/ptrace.c | vma_high = vma->vm_next; |
vma | 199 | arch/mips/kernel/ptrace.c | if (!vma_high || vma_high->vm_start != vma->vm_end) |
vma | 202 | arch/mips/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
vma | 220 | arch/mips/kernel/ptrace.c | *result = get_long(vma, addr); |
vma | 231 | arch/mips/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
vma | 233 | arch/mips/kernel/ptrace.c | if (!vma) |
vma | 237 | arch/mips/kernel/ptrace.c | struct vm_area_struct * vma_high = vma; |
vma | 239 | arch/mips/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
vma | 240 | arch/mips/kernel/ptrace.c | vma_high = vma->vm_next; |
vma | 241 | arch/mips/kernel/ptrace.c | if (!vma_high || vma_high->vm_start != vma->vm_end) |
vma | 244 | arch/mips/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
vma | 269 | arch/mips/kernel/ptrace.c | put_long(vma, addr & ~(sizeof(long)-1),low); |
vma | 272 | arch/mips/kernel/ptrace.c | put_long(vma, addr, data); |
vma | 39 | arch/mips/mm/fault.c | struct vm_area_struct * vma; |
vma | 47 | arch/mips/mm/fault.c | for (vma = current->mm->mmap ; ; vma = vma->vm_next) { |
vma | 48 | arch/mips/mm/fault.c | if (!vma) |
vma | 50 | arch/mips/mm/fault.c | if (vma->vm_end > address) |
vma | 53 | arch/mips/mm/fault.c | if (vma->vm_start <= address) |
vma | 55 | arch/mips/mm/fault.c | if (!(vma->vm_flags & VM_GROWSDOWN)) |
vma | 57 | arch/mips/mm/fault.c | if (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) |
vma | 59 | arch/mips/mm/fault.c | vma->vm_offset -= vma->vm_start - (address & PAGE_MASK); |
vma | 60 | arch/mips/mm/fault.c | vma->vm_start = (address & PAGE_MASK); |
vma | 70 | arch/mips/mm/fault.c | if (!(vma->vm_flags & VM_WRITE)) |
vma | 76 | arch/mips/mm/fault.c | if (!(vma->vm_flags & (VM_READ | VM_EXEC))) |
vma | 80 | arch/mips/mm/fault.c | do_wp_page(vma, address, error_code & 2); |
vma | 83 | arch/mips/mm/fault.c | do_no_page(vma, address, error_code & 2); |
vma | 130 | arch/sparc/mm/fault.c | struct vm_area_struct *vma; |
vma | 141 | arch/sparc/mm/fault.c | vma = find_vma(current, address); |
vma | 142 | arch/sparc/mm/fault.c | if(!vma) { |
vma | 145 | arch/sparc/mm/fault.c | if(vma->vm_start <= address) |
vma | 154 | arch/sparc/mm/fault.c | handle_mm_fault(vma, address, 0); |
vma | 194 | arch/sparc/mm/fault.c | struct vm_area_struct *vma; |
vma | 205 | arch/sparc/mm/fault.c | vma = find_vma(current, address); |
vma | 206 | arch/sparc/mm/fault.c | if(!vma) { |
vma | 212 | arch/sparc/mm/fault.c | if(vma->vm_start <= address) |
vma | 215 | arch/sparc/mm/fault.c | if(!(vma->vm_flags & VM_GROWSDOWN)) { |
vma | 218 | arch/sparc/mm/fault.c | if(vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) { |
vma | 222 | arch/sparc/mm/fault.c | vma->vm_offset -= vma->vm_start - (address & PAGE_MASK); |
vma | 223 | arch/sparc/mm/fault.c | vma->vm_start = (address & PAGE_MASK); |
vma | 235 | arch/sparc/mm/fault.c | if(!(vma->vm_flags & VM_WRITE)) { |
vma | 248 | arch/sparc/mm/fault.c | if(!(vma->vm_flags & (VM_READ | VM_EXEC))) { |
vma | 263 | arch/sparc/mm/fault.c | (unsigned long) vma, (unsigned long) address, |
vma | 266 | arch/sparc/mm/fault.c | handle_mm_fault(vma, address, error_code); |
vma | 362 | arch/sparc/mm/fault.c | struct vm_area_struct *vma; |
vma | 401 | arch/sparc/mm/fault.c | vma = find_vma(current, address); |
vma | 402 | arch/sparc/mm/fault.c | if(!vma) { |
vma | 405 | arch/sparc/mm/fault.c | if(vma->vm_start <= address) |
vma | 414 | arch/sparc/mm/fault.c | do_no_page(vma, address, 0); |
vma | 440 | arch/sparc/mm/fault.c | struct vm_area_struct *vma; |
vma | 470 | arch/sparc/mm/fault.c | vma = find_vma(current, address); |
vma | 471 | arch/sparc/mm/fault.c | if(!vma) { |
vma | 477 | arch/sparc/mm/fault.c | if(vma->vm_start <= address) |
vma | 480 | arch/sparc/mm/fault.c | if(!(vma->vm_flags & VM_GROWSDOWN)) { |
vma | 483 | arch/sparc/mm/fault.c | if(vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur) { |
vma | 487 | arch/sparc/mm/fault.c | vma->vm_offset -= vma->vm_start - (address & PAGE_MASK); |
vma | 488 | arch/sparc/mm/fault.c | vma->vm_start = (address & PAGE_MASK); |
vma | 500 | arch/sparc/mm/fault.c | if(!(vma->vm_flags & VM_WRITE)) { |
vma | 513 | arch/sparc/mm/fault.c | if(!(vma->vm_flags & (VM_READ | VM_EXEC))) { |
vma | 528 | arch/sparc/mm/fault.c | (unsigned long) vma, (unsigned long) address, |
vma | 531 | arch/sparc/mm/fault.c | do_no_page(vma, address, error_code); |
vma | 88 | drivers/char/mem.c | static int mmap_mem(struct inode * inode, struct file * file, struct vm_area_struct * vma) |
vma | 90 | drivers/char/mem.c | if (vma->vm_offset & ~PAGE_MASK) |
vma | 99 | drivers/char/mem.c | if (x86 > 3 && vma->vm_offset >= high_memory) |
vma | 100 | drivers/char/mem.c | pgprot_val(vma->vm_page_prot) |= _PAGE_PCD; |
vma | 102 | drivers/char/mem.c | if (remap_page_range(vma->vm_start, vma->vm_offset, vma->vm_end - vma->vm_start, vma->vm_page_prot)) |
vma | 104 | drivers/char/mem.c | vma->vm_inode = inode; |
vma | 172 | drivers/char/mem.c | static int mmap_zero(struct inode * inode, struct file * file, struct vm_area_struct * vma) |
vma | 174 | drivers/char/mem.c | if (vma->vm_flags & VM_SHARED) |
vma | 176 | drivers/char/mem.c | if (zeromap_page_range(vma->vm_start, vma->vm_end - vma->vm_start, vma->vm_page_prot)) |
vma | 805 | fs/binfmt_elf.c | static inline int maydump(struct vm_area_struct *vma) |
vma | 808 | fs/binfmt_elf.c | if (vma->vm_flags & (VM_WRITE|VM_GROWSUP|VM_GROWSDOWN)) |
vma | 810 | fs/binfmt_elf.c | if (vma->vm_flags & (VM_READ|VM_EXEC|VM_EXECUTABLE|VM_SHARED)) |
vma | 906 | fs/binfmt_elf.c | struct vm_area_struct *vma; |
vma | 927 | fs/binfmt_elf.c | for(vma = current->mm->mmap; vma != NULL; vma = vma->vm_next) { |
vma | 928 | fs/binfmt_elf.c | int sz = vma->vm_end-vma->vm_start; |
vma | 930 | fs/binfmt_elf.c | if (!maydump(vma)) |
vma | 1110 | fs/binfmt_elf.c | for(vma = current->mm->mmap, i = 0; |
vma | 1111 | fs/binfmt_elf.c | i < segs && vma != NULL; vma = vma->vm_next) { |
vma | 1115 | fs/binfmt_elf.c | if (!maydump(vma)) |
vma | 1119 | fs/binfmt_elf.c | sz = vma->vm_end - vma->vm_start; |
vma | 1123 | fs/binfmt_elf.c | phdr.p_vaddr = vma->vm_start; |
vma | 1128 | fs/binfmt_elf.c | phdr.p_flags = vma->vm_flags & VM_READ ? PF_R : 0; |
vma | 1129 | fs/binfmt_elf.c | if (vma->vm_flags & VM_WRITE) phdr.p_flags |= PF_W; |
vma | 1130 | fs/binfmt_elf.c | if (vma->vm_flags & VM_EXEC) phdr.p_flags |= PF_X; |
vma | 1144 | fs/binfmt_elf.c | for(i = 0, vma = current->mm->mmap; |
vma | 1145 | fs/binfmt_elf.c | i < segs && vma != NULL; |
vma | 1146 | fs/binfmt_elf.c | vma = vma->vm_next) { |
vma | 1147 | fs/binfmt_elf.c | unsigned long addr = vma->vm_start; |
vma | 1148 | fs/binfmt_elf.c | unsigned long len = vma->vm_end - vma->vm_start; |
vma | 1150 | fs/binfmt_elf.c | if (!maydump(vma)) |
vma | 93 | fs/msdos/mmap.c | int msdos_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma) |
vma | 95 | fs/msdos/mmap.c | if (vma->vm_flags & VM_SHARED) /* only PAGE_COW or read-only supported now */ |
vma | 97 | fs/msdos/mmap.c | if (vma->vm_offset & (inode->i_sb->s_blocksize - 1)) |
vma | 106 | fs/msdos/mmap.c | vma->vm_inode = inode; |
vma | 108 | fs/msdos/mmap.c | vma->vm_ops = &msdos_file_mmap; |
vma | 31 | fs/namei.c | struct vm_area_struct * vma; |
vma | 35 | fs/namei.c | vma = find_vma(current, address); |
vma | 36 | fs/namei.c | if (!vma || vma->vm_start > address || !(vma->vm_flags & VM_READ)) |
vma | 38 | fs/namei.c | address = vma->vm_end - address; |
vma | 41 | fs/namei.c | if (vma->vm_next && vma->vm_next->vm_start == vma->vm_end && |
vma | 42 | fs/namei.c | (vma->vm_next->vm_flags & VM_READ)) |
vma | 98 | fs/nfs/mmap.c | int nfs_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma) |
vma | 100 | fs/nfs/mmap.c | if (vma->vm_flags & VM_SHARED) /* only PAGE_COW or read-only supported now */ |
vma | 109 | fs/nfs/mmap.c | vma->vm_inode = inode; |
vma | 111 | fs/nfs/mmap.c | vma->vm_ops = &nfs_file_mmap; |
vma | 555 | fs/proc/array.c | struct vm_area_struct * vma = (*p)->mm->mmap; |
vma | 557 | fs/proc/array.c | while (vma) { |
vma | 558 | fs/proc/array.c | pgd_t *pgd = pgd_offset(*p, vma->vm_start); |
vma | 561 | fs/proc/array.c | statm_pgd_range(pgd, vma->vm_start, vma->vm_end, &pages, &shared, &dirty, &total); |
vma | 566 | fs/proc/array.c | if (vma->vm_flags & VM_EXECUTABLE) |
vma | 568 | fs/proc/array.c | else if (vma->vm_flags & VM_GROWSDOWN) |
vma | 570 | fs/proc/array.c | else if (vma->vm_end > 0x60000000) |
vma | 574 | fs/proc/array.c | vma = vma->vm_next; |
vma | 137 | fs/proc/link.c | struct vm_area_struct * vma = p->mm->mmap; |
vma | 138 | fs/proc/link.c | while (vma) { |
vma | 139 | fs/proc/link.c | if (vma->vm_flags & VM_EXECUTABLE) { |
vma | 140 | fs/proc/link.c | new_inode = vma->vm_inode; |
vma | 143 | fs/proc/link.c | vma = vma->vm_next; |
vma | 174 | fs/proc/mem.c | struct vm_area_struct * vma) |
vma | 202 | fs/proc/mem.c | stmp = vma->vm_offset; |
vma | 203 | fs/proc/mem.c | while (stmp < vma->vm_offset + (vma->vm_end - vma->vm_start)) { |
vma | 237 | fs/proc/mem.c | stmp = vma->vm_offset; |
vma | 238 | fs/proc/mem.c | dtmp = vma->vm_start; |
vma | 240 | fs/proc/mem.c | while (dtmp < vma->vm_end) { |
vma | 259 | fs/proc/mem.c | if ((vma->vm_flags & VM_WRITE) && !pte_write(*src_table)) |
vma | 106 | fs/smbfs/mmap.c | smb_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma) |
vma | 111 | fs/smbfs/mmap.c | if (vma->vm_flags & VM_SHARED) |
vma | 120 | fs/smbfs/mmap.c | vma->vm_inode = inode; |
vma | 122 | fs/smbfs/mmap.c | vma->vm_ops = &smb_file_mmap; |
vma | 515 | fs/super.c | struct vm_area_struct * vma; |
vma | 521 | fs/super.c | vma = find_vma(current, (unsigned long) data); |
vma | 522 | fs/super.c | if (!vma || (unsigned long) data < vma->vm_start) |
vma | 524 | fs/super.c | i = vma->vm_end - (unsigned long) data; |
vma | 407 | include/asm-alpha/pgtable.h | extern inline void update_mmu_cache(struct vm_area_struct * vma, |
vma | 328 | include/asm-i386/pgtable.h | extern inline void update_mmu_cache(struct vm_area_struct * vma, |
vma | 327 | include/asm-sparc/pgtable.h | extern inline void update_mmu_cache(struct vm_area_struct * vma, |
vma | 183 | include/linux/mm.h | extern void handle_mm_fault(struct vm_area_struct *vma, unsigned long address, int write_access); |
vma | 184 | include/linux/mm.h | extern void do_wp_page(struct vm_area_struct * vma, unsigned long address, int write_access); |
vma | 185 | include/linux/mm.h | extern void do_no_page(struct vm_area_struct * vma, unsigned long address, int write_access); |
vma | 116 | include/linux/nfs_fs.h | extern int nfs_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma); |
vma | 171 | include/linux/smb_fs.h | int smb_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma); |
vma | 65 | mm/filemap.c | static void filemap_sync_page(struct vm_area_struct * vma, |
vma | 83 | mm/filemap.c | inode = vma->vm_inode; |
vma | 98 | mm/filemap.c | void filemap_swapout(struct vm_area_struct * vma, |
vma | 107 | mm/filemap.c | filemap_sync_page(vma, offset, page); |
vma | 118 | mm/filemap.c | static pte_t filemap_swapin(struct vm_area_struct * vma, |
vma | 126 | mm/filemap.c | return pte_mkdirty(mk_pte(page,vma->vm_page_prot)); |
vma | 129 | mm/filemap.c | static inline void filemap_sync_pte(pte_t * pte, struct vm_area_struct *vma, |
vma | 144 | mm/filemap.c | filemap_sync_page(vma, address - vma->vm_start, pte_page(page)); |
vma | 150 | mm/filemap.c | struct vm_area_struct *vma, unsigned long offset, unsigned int flags) |
vma | 169 | mm/filemap.c | filemap_sync_pte(pte, vma, address + offset, flags); |
vma | 177 | mm/filemap.c | struct vm_area_struct *vma, unsigned int flags) |
vma | 196 | mm/filemap.c | filemap_sync_pte_range(pmd, address, end - address, vma, offset, flags); |
vma | 202 | mm/filemap.c | static void filemap_sync(struct vm_area_struct * vma, unsigned long address, |
vma | 210 | mm/filemap.c | filemap_sync_pmd_range(dir, address, end - address, vma, flags); |
vma | 221 | mm/filemap.c | static void filemap_unmap(struct vm_area_struct *vma, unsigned long start, size_t len) |
vma | 223 | mm/filemap.c | filemap_sync(vma, start, len, MS_ASYNC); |
vma | 229 | mm/filemap.c | static void filemap_close(struct vm_area_struct * vma) |
vma | 231 | mm/filemap.c | filemap_sync(vma, vma->vm_start, vma->vm_end - vma->vm_start, MS_ASYNC); |
vma | 272 | mm/filemap.c | int generic_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma) |
vma | 276 | mm/filemap.c | if (vma->vm_offset & (inode->i_sb->s_blocksize - 1)) |
vma | 283 | mm/filemap.c | if (vma->vm_flags & VM_SHARED) { |
vma | 284 | mm/filemap.c | if (vma->vm_flags & (VM_WRITE | VM_MAYWRITE)) |
vma | 291 | mm/filemap.c | vma->vm_inode = inode; |
vma | 293 | mm/filemap.c | vma->vm_ops = ops; |
vma | 626 | mm/memory.c | void do_wp_page(struct vm_area_struct * vma, unsigned long address, |
vma | 635 | mm/memory.c | page_dir = pgd_offset(vma->vm_task,address); |
vma | 654 | mm/memory.c | vma->vm_task->mm->min_flt++; |
vma | 661 | mm/memory.c | ++vma->vm_task->mm->rss; |
vma | 663 | mm/memory.c | *page_table = pte_mkwrite(pte_mkdirty(mk_pte(new_page, vma->vm_page_prot))); |
vma | 670 | mm/memory.c | oom(vma->vm_task); |
vma | 681 | mm/memory.c | send_sig(SIGKILL, vma->vm_task, 1); |
vma | 685 | mm/memory.c | send_sig(SIGKILL, vma->vm_task, 1); |
vma | 689 | mm/memory.c | send_sig(SIGKILL, vma->vm_task, 1); |
vma | 701 | mm/memory.c | struct vm_area_struct * vma; |
vma | 711 | mm/memory.c | vma = find_vma(current, start); |
vma | 712 | mm/memory.c | if (!vma) |
vma | 714 | mm/memory.c | if (vma->vm_start <= start) |
vma | 716 | mm/memory.c | if (!(vma->vm_flags & VM_GROWSDOWN)) |
vma | 718 | mm/memory.c | if (vma->vm_end - start > current->rlim[RLIMIT_STACK].rlim_cur) |
vma | 726 | mm/memory.c | if (!(vma->vm_flags & VM_READ)) |
vma | 728 | mm/memory.c | if (vma->vm_end - start >= size) |
vma | 730 | mm/memory.c | next = vma->vm_next; |
vma | 731 | mm/memory.c | if (!next || vma->vm_end != next->vm_start) |
vma | 733 | mm/memory.c | vma = next; |
vma | 737 | mm/memory.c | if (!(vma->vm_flags & VM_WRITE)) |
vma | 742 | mm/memory.c | if (vma->vm_end - start >= size) |
vma | 744 | mm/memory.c | if (!vma->vm_next || vma->vm_end != vma->vm_next->vm_start) |
vma | 746 | mm/memory.c | vma = vma->vm_next; |
vma | 747 | mm/memory.c | if (!(vma->vm_flags & VM_WRITE)) |
vma | 759 | mm/memory.c | do_wp_page(vma, start, 1); |
vma | 764 | mm/memory.c | if (start < vma->vm_end) |
vma | 766 | mm/memory.c | vma = vma->vm_next; |
vma | 767 | mm/memory.c | if (!vma || vma->vm_start != start) |
vma | 769 | mm/memory.c | if (!(vma->vm_flags & VM_WRITE)) |
vma | 778 | mm/memory.c | static inline void get_empty_page(struct vm_area_struct * vma, pte_t * page_table) |
vma | 783 | mm/memory.c | oom(vma->vm_task); |
vma | 787 | mm/memory.c | put_page(page_table, pte_mkwrite(mk_pte(tmp, vma->vm_page_prot))); |
vma | 977 | mm/memory.c | static inline void do_swap_page(struct vm_area_struct * vma, unsigned long address, |
vma | 982 | mm/memory.c | if (!vma->vm_ops || !vma->vm_ops->swapin) { |
vma | 983 | mm/memory.c | swap_in(vma, page_table, pte_val(entry), write_access); |
vma | 986 | mm/memory.c | page = vma->vm_ops->swapin(vma, address - vma->vm_start + vma->vm_offset, pte_val(entry)); |
vma | 991 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))] > 1 && !(vma->vm_flags & VM_SHARED)) |
vma | 993 | mm/memory.c | ++vma->vm_task->mm->rss; |
vma | 994 | mm/memory.c | ++vma->vm_task->mm->maj_flt; |
vma | 1005 | mm/memory.c | void do_no_page(struct vm_area_struct * vma, unsigned long address, |
vma | 1012 | mm/memory.c | page_table = get_empty_pgtable(vma->vm_task,address); |
vma | 1019 | mm/memory.c | do_swap_page(vma, address, page_table, entry, write_access); |
vma | 1023 | mm/memory.c | if (!vma->vm_ops || !vma->vm_ops->nopage) { |
vma | 1024 | mm/memory.c | ++vma->vm_task->mm->rss; |
vma | 1025 | mm/memory.c | ++vma->vm_task->mm->min_flt; |
vma | 1026 | mm/memory.c | get_empty_page(vma, page_table); |
vma | 1030 | mm/memory.c | if (share_page(vma, address, write_access, page)) { |
vma | 1031 | mm/memory.c | ++vma->vm_task->mm->min_flt; |
vma | 1032 | mm/memory.c | ++vma->vm_task->mm->rss; |
vma | 1040 | mm/memory.c | ++vma->vm_task->mm->maj_flt; |
vma | 1041 | mm/memory.c | ++vma->vm_task->mm->rss; |
vma | 1047 | mm/memory.c | page = vma->vm_ops->nopage(vma, address, page, |
vma | 1048 | mm/memory.c | write_access && !(vma->vm_flags & VM_SHARED)); |
vma | 1049 | mm/memory.c | if (share_page(vma, address, write_access, 0)) { |
vma | 1063 | mm/memory.c | entry = mk_pte(page, vma->vm_page_prot); |
vma | 1066 | mm/memory.c | } else if (mem_map[MAP_NR(page)] > 1 && !(vma->vm_flags & VM_SHARED)) |
vma | 1084 | mm/memory.c | static inline void handle_pte_fault(struct vm_area_struct * vma, unsigned long address, |
vma | 1088 | mm/memory.c | do_no_page(vma, address, write_access); |
vma | 1098 | mm/memory.c | do_wp_page(vma, address, write_access); |
vma | 1101 | mm/memory.c | void handle_mm_fault(struct vm_area_struct * vma, unsigned long address, |
vma | 1108 | mm/memory.c | pgd = pgd_offset(vma->vm_task, address); |
vma | 1115 | mm/memory.c | handle_pte_fault(vma, address, write_access, pte); |
vma | 1116 | mm/memory.c | update_mmu_cache(vma, address, *pte); |
vma | 1119 | mm/memory.c | oom(vma->vm_task); |
vma | 48 | mm/mmap.c | struct vm_area_struct * vma; |
vma | 109 | mm/mmap.c | vma = (struct vm_area_struct *)kmalloc(sizeof(struct vm_area_struct), |
vma | 111 | mm/mmap.c | if (!vma) |
vma | 114 | mm/mmap.c | vma->vm_task = current; |
vma | 115 | mm/mmap.c | vma->vm_start = addr; |
vma | 116 | mm/mmap.c | vma->vm_end = addr + len; |
vma | 117 | mm/mmap.c | vma->vm_flags = prot & (VM_READ | VM_WRITE | VM_EXEC); |
vma | 118 | mm/mmap.c | vma->vm_flags |= flags & (VM_GROWSDOWN | VM_DENYWRITE | VM_EXECUTABLE); |
vma | 122 | mm/mmap.c | vma->vm_flags |= VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC; |
vma | 124 | mm/mmap.c | vma->vm_flags |= VM_SHARED | VM_MAYSHARE; |
vma | 136 | mm/mmap.c | vma->vm_flags &= ~(VM_MAYWRITE | VM_SHARED); |
vma | 139 | mm/mmap.c | vma->vm_flags |= VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC; |
vma | 140 | mm/mmap.c | vma->vm_page_prot = protection_map[vma->vm_flags & 0x0f]; |
vma | 141 | mm/mmap.c | vma->vm_ops = NULL; |
vma | 142 | mm/mmap.c | vma->vm_offset = off; |
vma | 143 | mm/mmap.c | vma->vm_inode = NULL; |
vma | 144 | mm/mmap.c | vma->vm_pte = 0; |
vma | 149 | mm/mmap.c | error = file->f_op->mmap(file->f_inode, file, vma); |
vma | 151 | mm/mmap.c | error = anon_map(NULL, NULL, vma); |
vma | 154 | mm/mmap.c | kfree(vma); |
vma | 157 | mm/mmap.c | insert_vm_struct(current, vma); |
vma | 158 | mm/mmap.c | merge_segments(current, vma->vm_start, vma->vm_end); |
vma | 230 | mm/mmap.c | struct vm_area_struct * vma; |
vma | 232 | mm/mmap.c | for (vma = task->mm->mmap ; ; vma = vma->vm_next) { |
vma | 233 | mm/mmap.c | if (!vma) |
vma | 235 | mm/mmap.c | if (vma->vm_end > addr) |
vma | 236 | mm/mmap.c | return vma; |
vma | 260 | mm/mmap.c | struct vm_area_struct * vma; |
vma | 263 | mm/mmap.c | for (vma = task->mm->mmap; vma; vma = vma->vm_next) { |
vma | 264 | mm/mmap.c | if (end_addr <= vma->vm_start) |
vma | 266 | mm/mmap.c | if (start_addr < vma->vm_end) |
vma | 267 | mm/mmap.c | return vma; |
vma | 271 | mm/mmap.c | vma = find_vma(task,start_addr); |
vma | 272 | mm/mmap.c | if (!vma || end_addr <= vma->vm_start) |
vma | 274 | mm/mmap.c | return vma; |
vma | 512 | mm/mmap.c | static void printk_list (struct vm_area_struct * vma) |
vma | 515 | mm/mmap.c | while (vma) { |
vma | 516 | mm/mmap.c | printk("%08lX-%08lX", vma->vm_start, vma->vm_end); |
vma | 517 | mm/mmap.c | vma = vma->vm_next; |
vma | 518 | mm/mmap.c | if (!vma) |
vma | 777 | mm/mmap.c | struct vm_area_struct * vma; |
vma | 780 | mm/mmap.c | for (vma = task->mm->mmap; vma; vma = vma->vm_next) |
vma | 781 | mm/mmap.c | avl_insert(vma, &task->mm->mmap_avl); |
vma | 955 | mm/mmap.c | static int anon_map(struct inode *ino, struct file * file, struct vm_area_struct * vma) |
vma | 957 | mm/mmap.c | if (zeromap_page_range(vma->vm_start, vma->vm_end - vma->vm_start, vma->vm_page_prot)) |
vma | 86 | mm/mprotect.c | static inline int mprotect_fixup_all(struct vm_area_struct * vma, |
vma | 89 | mm/mprotect.c | vma->vm_flags = newflags; |
vma | 90 | mm/mprotect.c | vma->vm_page_prot = prot; |
vma | 94 | mm/mprotect.c | static inline int mprotect_fixup_start(struct vm_area_struct * vma, |
vma | 103 | mm/mprotect.c | *n = *vma; |
vma | 104 | mm/mprotect.c | vma->vm_start = end; |
vma | 106 | mm/mprotect.c | vma->vm_offset += vma->vm_start - n->vm_start; |
vma | 117 | mm/mprotect.c | static inline int mprotect_fixup_end(struct vm_area_struct * vma, |
vma | 126 | mm/mprotect.c | *n = *vma; |
vma | 127 | mm/mprotect.c | vma->vm_end = start; |
vma | 129 | mm/mprotect.c | n->vm_offset += n->vm_start - vma->vm_start; |
vma | 140 | mm/mprotect.c | static inline int mprotect_fixup_middle(struct vm_area_struct * vma, |
vma | 154 | mm/mprotect.c | *left = *vma; |
vma | 155 | mm/mprotect.c | *right = *vma; |
vma | 157 | mm/mprotect.c | vma->vm_start = start; |
vma | 158 | mm/mprotect.c | vma->vm_end = end; |
vma | 160 | mm/mprotect.c | vma->vm_offset += vma->vm_start - left->vm_start; |
vma | 162 | mm/mprotect.c | vma->vm_flags = newflags; |
vma | 163 | mm/mprotect.c | vma->vm_page_prot = prot; |
vma | 164 | mm/mprotect.c | if (vma->vm_inode) |
vma | 165 | mm/mprotect.c | vma->vm_inode->i_count += 2; |
vma | 166 | mm/mprotect.c | if (vma->vm_ops && vma->vm_ops->open) { |
vma | 167 | mm/mprotect.c | vma->vm_ops->open(left); |
vma | 168 | mm/mprotect.c | vma->vm_ops->open(right); |
vma | 175 | mm/mprotect.c | static int mprotect_fixup(struct vm_area_struct * vma, |
vma | 181 | mm/mprotect.c | if (newflags == vma->vm_flags) |
vma | 184 | mm/mprotect.c | if (start == vma->vm_start) |
vma | 185 | mm/mprotect.c | if (end == vma->vm_end) |
vma | 186 | mm/mprotect.c | error = mprotect_fixup_all(vma, newflags, newprot); |
vma | 188 | mm/mprotect.c | error = mprotect_fixup_start(vma, end, newflags, newprot); |
vma | 189 | mm/mprotect.c | else if (end == vma->vm_end) |
vma | 190 | mm/mprotect.c | error = mprotect_fixup_end(vma, start, newflags, newprot); |
vma | 192 | mm/mprotect.c | error = mprotect_fixup_middle(vma, start, end, newflags, newprot); |
vma | 204 | mm/mprotect.c | struct vm_area_struct * vma, * next; |
vma | 217 | mm/mprotect.c | vma = find_vma(current, start); |
vma | 218 | mm/mprotect.c | if (!vma || vma->vm_start > start) |
vma | 226 | mm/mprotect.c | newflags = prot | (vma->vm_flags & ~(PROT_READ | PROT_WRITE | PROT_EXEC)); |
vma | 232 | mm/mprotect.c | if (vma->vm_end >= end) { |
vma | 233 | mm/mprotect.c | error = mprotect_fixup(vma, nstart, end, newflags); |
vma | 237 | mm/mprotect.c | tmp = vma->vm_end; |
vma | 238 | mm/mprotect.c | next = vma->vm_next; |
vma | 239 | mm/mprotect.c | error = mprotect_fixup(vma, nstart, tmp, newflags); |
vma | 243 | mm/mprotect.c | vma = next; |
vma | 244 | mm/mprotect.c | if (!vma || vma->vm_start != nstart) { |
vma | 306 | mm/swap.c | void swap_in(struct vm_area_struct * vma, pte_t * page_table, |
vma | 326 | mm/swap.c | vma->vm_task->mm->rss++; |
vma | 327 | mm/swap.c | vma->vm_task->mm->maj_flt++; |
vma | 329 | mm/swap.c | *page_table = mk_pte(page, vma->vm_page_prot); |
vma | 332 | mm/swap.c | *page_table = pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot))); |
vma | 348 | mm/swap.c | static inline int try_to_swap_out(struct vm_area_struct* vma, unsigned long address, pte_t * page_table, unsigned long limit) |
vma | 371 | mm/swap.c | if (vma->vm_ops && vma->vm_ops->swapout) { |
vma | 372 | mm/swap.c | vma->vm_task->mm->rss--; |
vma | 373 | mm/swap.c | vma->vm_ops->swapout(vma, address-vma->vm_start, page_table); |
vma | 377 | mm/swap.c | vma->vm_task->mm->rss--; |
vma | 391 | mm/swap.c | vma->vm_task->mm->rss--; |
vma | 397 | mm/swap.c | vma->vm_task->mm->rss--; |
vma | 432 | mm/swap.c | static inline int swap_out_pmd(struct vm_area_struct * vma, pmd_t *dir, |
vma | 454 | mm/swap.c | vma->vm_task->mm->swap_address = address + PAGE_SIZE; |
vma | 455 | mm/swap.c | result = try_to_swap_out(vma, address, pte, limit); |
vma | 464 | mm/swap.c | static inline int swap_out_pgd(struct vm_area_struct * vma, pgd_t *dir, |
vma | 485 | mm/swap.c | int result = swap_out_pmd(vma, pmd, address, end, limit); |
vma | 494 | mm/swap.c | static int swap_out_vma(struct vm_area_struct * vma, pgd_t *pgdir, |
vma | 501 | mm/swap.c | if (vma->vm_flags & VM_SHM) |
vma | 504 | mm/swap.c | end = vma->vm_end; |
vma | 506 | mm/swap.c | int result = swap_out_pgd(vma, pgdir, start, end, limit); |
vma | 518 | mm/swap.c | struct vm_area_struct* vma; |
vma | 529 | mm/swap.c | vma = find_vma(p, address); |
vma | 530 | mm/swap.c | if (!vma) |
vma | 532 | mm/swap.c | if (address < vma->vm_start) |
vma | 533 | mm/swap.c | address = vma->vm_start; |
vma | 536 | mm/swap.c | int result = swap_out_vma(vma, pgd_offset(p, address), address, limit); |
vma | 539 | mm/swap.c | vma = vma->vm_next; |
vma | 540 | mm/swap.c | if (!vma) |
vma | 542 | mm/swap.c | address = vma->vm_start; |
vma | 838 | mm/swap.c | static inline int unuse_pte(struct vm_area_struct * vma, unsigned long address, |
vma | 864 | mm/swap.c | *dir = pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot))); |
vma | 865 | mm/swap.c | ++vma->vm_task->mm->rss; |
vma | 870 | mm/swap.c | static inline int unuse_pmd(struct vm_area_struct * vma, pmd_t *dir, |
vma | 891 | mm/swap.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
vma | 899 | mm/swap.c | static inline int unuse_pgd(struct vm_area_struct * vma, pgd_t *dir, |
vma | 920 | mm/swap.c | if (unuse_pmd(vma, pmd, address, end - address, offset, type, page)) |
vma | 928 | mm/swap.c | static int unuse_vma(struct vm_area_struct * vma, pgd_t *pgdir, |
vma | 933 | mm/swap.c | if (unuse_pgd(vma, pgdir, start, end - start, type, page)) |
vma | 943 | mm/swap.c | struct vm_area_struct* vma; |
vma | 948 | mm/swap.c | vma = p->mm->mmap; |
vma | 949 | mm/swap.c | while (vma) { |
vma | 950 | mm/swap.c | pgd_t * pgd = pgd_offset(p, vma->vm_start); |
vma | 951 | mm/swap.c | if (unuse_vma(vma, pgd, vma->vm_start, vma->vm_end, type, page)) |
vma | 953 | mm/swap.c | vma = vma->vm_next; |