Lines Matching refs:vma
72 update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t pte)
205 * for a user space vma. */
206 static inline int translation_exists(struct vm_area_struct *vma,
209 pgd_t *pgd = pgd_offset(vma->vm_mm, addr);
223 * the vma itself is secure, but the pte might come or go racily.
243 flush_user_cache_page_non_current(struct vm_area_struct *vma,
255 mtctl(__pa(vma->vm_mm->pgd), 25);
256 mtsp(vma->vm_mm->context, 3);
259 if(vma->vm_flags & VM_EXEC)
270 __flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr)
272 if (likely(vma->vm_mm->context == mfsp(3))) {
274 if (vma->vm_flags & VM_EXEC)
277 flush_user_cache_page_non_current(vma, vmaddr);
490 void flush_cache_range(struct vm_area_struct *vma,
495 if (!vma->vm_mm->context) {
501 if (vma->vm_mm->context == sr3) {
510 flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long pfn)
512 BUG_ON(!vma->vm_mm->context);
514 if (likely(translation_exists(vma, vmaddr, pfn)))
515 __flush_cache_page(vma, vmaddr);