Lines Matching refs:entry
110 * A 64 bit pagetable entry of S390 has following format:
119 * A 64 bit segmenttable entry of S390 has following format:
129 * A 64 bit region table entry of S390 has following format:
160 /* Hardware bits in the page table entry */
166 /* Software bits in the page table entry */
245 /* Bits in the region table entry */
250 #define _REGION_ENTRY_INVALID 0x20 /* invalid region table entry */
279 /* Bits in the segment table entry */
287 #define _SEGMENT_ENTRY_INVALID 0x20 /* invalid segment table entry */
354 * Segment table and region3 table entry encoding
427 * On s390 the page table entry has an invalid bit and a read-only bit.
434 * Segment entry (large page) protection definitions.
469 * Region3 entry (large page) protection definitions.
1262 pte_t entry, int dirty)
1264 if (pte_same(*ptep, entry))
1266 if (MACHINE_HAS_RDP && !mm_has_pgste(vma->vm_mm) && pte_allow_rdp(*ptep, entry))
1267 ptep_reset_dat_prot(vma->vm_mm, addr, ptep, entry);
1269 ptep_xchg_direct(vma->vm_mm, addr, ptep, entry);
1277 pte_t *ptep, pte_t entry);
1322 pte_t *ptep, pte_t entry, unsigned int nr)
1324 if (pte_present(entry))
1325 entry = clear_pte_bit(entry, __pgprot(_PAGE_UNUSED));
1328 ptep_set_pte_at(mm, addr, ptep, entry);
1332 entry = __pte(pte_val(entry) + PAGE_SIZE);
1337 set_pte(ptep, entry);
1341 entry = __pte(pte_val(entry) + PAGE_SIZE);
1348 * Conversion functions: convert a page and protection to a page entry,
1349 * and a page entry and page directory to the page they refer to.
1425 /* Get the first entry of the top level table */
1427 /* Pick up the shift from the table type of the first entry */
1556 * (see __Pxxx / __Sxxx). Convert to segment table entry format.
1690 pmd_t entry, int dirty)
1694 entry = pmd_mkyoung(entry);
1696 entry = pmd_mkdirty(entry);
1697 if (pmd_val(*pmdp) == pmd_val(entry))
1699 pmdp_xchg_direct(vma->vm_mm, addr, pmdp, entry);
1722 pmd_t *pmdp, pmd_t entry)
1725 entry = clear_pmd_bit(entry, __pgprot(_SEGMENT_ENTRY_NOEXEC));
1726 set_pmd(pmdp, entry);
1806 * 64 bit swap entry format:
1807 * A page-table entry has some bits we have to treat in a special way.
1837 static inline unsigned long __swp_type(swp_entry_t entry)
1839 return (entry.val >> __SWP_TYPE_SHIFT) & __SWP_TYPE_MASK;
1842 static inline unsigned long __swp_offset(swp_entry_t entry)
1844 return (entry.val >> __SWP_OFFSET_SHIFT) & __SWP_OFFSET_MASK;