zap_vma_ptes
Prev | More Memory Management Functions | Next

## Name

zap_vma_ptes — remove ptes mapping the vma

## Synopsis

`int zap_vma_ptes (` | struct vm_area_struct * vma,
| unsigned long address,
| unsigned long size`)`;

## Arguments

`vma`

  vm_area_struct holding ptes to be zapped

`address`

  starting address of pages to zap

`size`

  number of bytes to zap

## Description

This function only unmaps ptes assigned to VM_PFNMAP vmas.

The entire address range must be fully contained within the vma.

Returns 0 if successful.

Prev | Up | Next
try_to_release_page | Home | __get_user_pages