Home
last modified time | relevance | path

Searched refs:pteval (Results 1 – 3 of 3) sorted by relevance

/mm/
Dhighmem.c457 # define arch_kmap_local_post_map(vaddr, pteval) do { } while (0) argument
522 pte_t pteval, *kmap_pte; in __kmap_local_pfn_prot() local
536 pteval = pfn_pte(pfn, prot); in __kmap_local_pfn_prot()
537 arch_kmap_local_set_pte(&init_mm, vaddr, kmap_pte, pteval); in __kmap_local_pfn_prot()
538 arch_kmap_local_post_map(vaddr, pteval); in __kmap_local_pfn_prot()
539 current->kmap_ctrl.pteval[kmap_local_idx()] = pteval; in __kmap_local_pfn_prot()
599 current->kmap_ctrl.pteval[kmap_local_idx()] = __pte(0); in kunmap_local_indexed()
624 pte_t pteval = tsk->kmap_ctrl.pteval[i]; in __kmap_local_sched_out() local
630 WARN_ON_ONCE(pte_val(pteval) != 0); in __kmap_local_sched_out()
633 if (WARN_ON_ONCE(pte_none(pteval))) in __kmap_local_sched_out()
[all …]
Drmap.c1488 pte_t pteval; in try_to_unmap_one() local
1599 pteval = ptep_get_and_clear(mm, address, pvmw.pte); in try_to_unmap_one()
1601 set_tlb_ubc_flush_pending(mm, pte_dirty(pteval)); in try_to_unmap_one()
1603 pteval = ptep_clear_flush(vma, address, pvmw.pte); in try_to_unmap_one()
1607 if (pte_dirty(pteval)) in try_to_unmap_one()
1614 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_unmap_one()
1618 pvmw.pte, pteval, in try_to_unmap_one()
1622 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_unmap_one()
1625 } else if (pte_unused(pteval) && !userfaultfd_armed(vma)) { in try_to_unmap_one()
1694 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_unmap_one()
[all …]
Dkhugepaged.c576 pte_t pteval = *_pte; in release_pte_pages() local
578 page = pte_page(pteval); in release_pte_pages()
579 if (!pte_none(pteval) && !is_zero_pfn(pte_pfn(pteval)) && in release_pte_pages()
613 pte_t pteval = *_pte; in __collapse_huge_page_isolate() local
614 if (pte_none(pteval) || (pte_present(pteval) && in __collapse_huge_page_isolate()
615 is_zero_pfn(pte_pfn(pteval)))) { in __collapse_huge_page_isolate()
624 if (!pte_present(pteval)) { in __collapse_huge_page_isolate()
628 if (pte_uffd_wp(pteval)) { in __collapse_huge_page_isolate()
632 page = vm_normal_page(vma, address, pteval); in __collapse_huge_page_isolate()
687 if (!pte_write(pteval) && PageSwapCache(page) && in __collapse_huge_page_isolate()
[all …]