Lines Matching defs:access
1216 * _PAGE_RWX: no access.
1248 * 2 -> no access.
1262 void hash_failure_debug(unsigned long ea, unsigned long access,
1268 pr_info("mm: Hashing failure ! EA=0x%lx access=0x%lx current=%s\n",
1269 ea, access, current->comm);
1295 * -2 - access not permitted by subpage protection mechanism
1298 unsigned long access, unsigned long trap,
1310 DBG_LOW("hash_page(ea=%016lx, access=%lx, trap=%lx\n",
1311 ea, access, trap);
1312 trace_hash_fault(ea, access, trap);
1387 * Add _PAGE_PRESENT to the required access perm. If there are parallel
1394 access |= _PAGE_PRESENT | _PAGE_PTE;
1397 * Pre-check access permissions (will be re-checked atomically
1400 if (!check_pte_access(access, pte_val(*ptep))) {
1401 DBG_LOW(" no access !\n");
1408 rc = __hash_page_thp(ea, access, vsid, (pmd_t *)ptep,
1412 rc = __hash_page_huge(ea, access, vsid, ptep, trap,
1473 rc = __hash_page_64K(ea, access, vsid, ptep, trap,
1479 if (access & spp)
1482 rc = __hash_page_4K(ea, access, vsid, ptep, trap,
1491 hash_failure_debug(ea, access, vsid, trap, ssize, psize,
1507 int hash_page(unsigned long ea, unsigned long access, unsigned long trap,
1520 return hash_page_mm(mm, ea, access, trap, flags);
1527 unsigned long access = _PAGE_PRESENT | _PAGE_READ;
1539 access |= _PAGE_WRITE;
1542 * kernel mode access kernel space.
1545 * 1) when kernel mode access user space
1546 * 2) user space access kernel space.
1548 access |= _PAGE_PRIVILEGED;
1550 access &= ~_PAGE_PRIVILEGED;
1553 access |= _PAGE_EXEC;
1555 return hash_page_mm(mm, ea, access, trap, flags);
1588 unsigned long access = _PAGE_PRESENT | _PAGE_READ | (is_exec ? _PAGE_EXEC : 0);
1596 DBG_LOW("hash_preload(mm=%p, mm->pgdir=%p, ea=%016lx, access=%lx,"
1597 " trap=%lx\n", mm, mm->pgd, ea, access, trap);
1613 * care of it once we actually try to access the page.
1630 * will bail out when seeing H_PAGE_BUSY set, and retry the access
1652 rc = __hash_page_64K(ea, access, vsid, ptep, trap,
1656 rc = __hash_page_4K(ea, access, vsid, ptep, trap, update_flags,
1663 hash_failure_debug(ea, access, vsid, trap, ssize,
1698 * access fault and pass that down to __hash_page so we avoid
1988 * on real mode access.
1995 * (meaning the access is aliased to zero i.e. addr = addr % 1TB)