- int zap_vma_ptes(struct vm_area_struct * vma, unsigned long address, unsigned long size);
- vm_area_struct holding ptes to be zapped
- starting address of pages to zap
- number of bytes to zap
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.