Lines Matching defs:access

313 		VM_WARN_ONCE(!(pteflags & _PAGE_RWX), "no-access mapping request");
322 VM_WARN_ONCE(!(pteflags & _PAGE_RWX), "no-access mapping request");
1378 * _PAGE_RWX: no access.
1410 * 2 -> no access.
1424 void hash_failure_debug(unsigned long ea, unsigned long access,
1430 pr_info("mm: Hashing failure ! EA=0x%lx access=0x%lx current=%s\n",
1431 ea, access, current->comm);
1457 * -2 - access not permitted by subpage protection mechanism
1460 unsigned long access, unsigned long trap,
1471 DBG_LOW("hash_page(ea=%016lx, access=%lx, trap=%lx\n",
1472 ea, access, trap);
1473 trace_hash_fault(ea, access, trap);
1550 * Add _PAGE_PRESENT to the required access perm. If there are parallel
1557 access |= _PAGE_PRESENT | _PAGE_PTE;
1560 * Pre-check access permissions (will be re-checked atomically
1563 if (!check_pte_access(access, pte_val(*ptep))) {
1564 DBG_LOW(" no access !\n");
1571 rc = __hash_page_thp(ea, access, vsid, (pmd_t *)ptep,
1575 rc = __hash_page_huge(ea, access, vsid, ptep, trap,
1636 rc = __hash_page_64K(ea, access, vsid, ptep, trap,
1642 if (access & spp)
1645 rc = __hash_page_4K(ea, access, vsid, ptep, trap,
1654 hash_failure_debug(ea, access, vsid, trap, ssize, psize,
1669 int hash_page(unsigned long ea, unsigned long access, unsigned long trap,
1682 return hash_page_mm(mm, ea, access, trap, flags);
1690 unsigned long access = _PAGE_PRESENT | _PAGE_READ;
1711 access |= _PAGE_WRITE;
1714 * kernel mode access kernel space.
1717 * 1) when kernel mode access user space
1718 * 2) user space access kernel space.
1720 access |= _PAGE_PRIVILEGED;
1722 access &= ~_PAGE_PRIVILEGED;
1725 access |= _PAGE_EXEC;
1727 err = hash_page_mm(mm, ea, access, TRAP(regs), flags);
1768 unsigned long access = _PAGE_PRESENT | _PAGE_READ | (is_exec ? _PAGE_EXEC : 0);
1776 DBG_LOW("hash_preload(mm=%p, mm->pgdir=%p, ea=%016lx, access=%lx,"
1777 " trap=%lx\n", mm, mm->pgd, ea, access, trap);
1793 * care of it once we actually try to access the page.
1824 rc = __hash_page_64K(ea, access, vsid, ptep, trap,
1828 rc = __hash_page_4K(ea, access, vsid, ptep, trap, update_flags,
1835 hash_failure_debug(ea, access, vsid, trap, ssize,
1867 * access fault and pass that down to __hash_page so we avoid
2208 * on real mode access.
2215 * (meaning the access is aliased to zero i.e. addr = addr % 1TB)