Lines Matching refs:cpte
208 pte_t *cpte; in huge_ptep_get_and_clear() local
211 cpte = huge_pte_offset(mm, addr); in huge_ptep_get_and_clear()
212 ncontig = find_num_contig(mm, addr, cpte, *cpte, &pgsize); in huge_ptep_get_and_clear()
214 pte = ptep_get_and_clear(mm, addr, cpte); in huge_ptep_get_and_clear()
221 ++cpte; in huge_ptep_get_and_clear()
222 if (pte_dirty(ptep_get_and_clear(mm, addr, cpte))) in huge_ptep_get_and_clear()
238 pte_t *cpte; in huge_ptep_set_access_flags() local
249 cpte = huge_pte_offset(vma->vm_mm, addr); in huge_ptep_set_access_flags()
250 pfn = pte_pfn(*cpte); in huge_ptep_set_access_flags()
251 ncontig = find_num_contig(vma->vm_mm, addr, cpte, in huge_ptep_set_access_flags()
252 *cpte, &pgsize); in huge_ptep_set_access_flags()
253 for (i = 0; i < ncontig; ++i, ++cpte) { in huge_ptep_set_access_flags()
254 changed = ptep_set_access_flags(vma, addr, cpte, in huge_ptep_set_access_flags()
271 pte_t *cpte; in huge_ptep_set_wrprotect() local
274 cpte = huge_pte_offset(mm, addr); in huge_ptep_set_wrprotect()
275 ncontig = find_num_contig(mm, addr, cpte, *cpte, &pgsize); in huge_ptep_set_wrprotect()
276 for (i = 0; i < ncontig; ++i, ++cpte) in huge_ptep_set_wrprotect()
277 ptep_set_wrprotect(mm, addr, cpte); in huge_ptep_set_wrprotect()
288 pte_t *cpte; in huge_ptep_clear_flush() local
291 cpte = huge_pte_offset(vma->vm_mm, addr); in huge_ptep_clear_flush()
292 ncontig = find_num_contig(vma->vm_mm, addr, cpte, in huge_ptep_clear_flush()
293 *cpte, &pgsize); in huge_ptep_clear_flush()
294 for (i = 0; i < ncontig; ++i, ++cpte) in huge_ptep_clear_flush()
295 ptep_clear_flush(vma, addr, cpte); in huge_ptep_clear_flush()