Lines Matching refs:entry
113 * A 64 bit pagetable entry of S390 has following format:
122 * A 64 bit segmenttable entry of S390 has following format:
132 * A 64 bit region table entry of S390 has following format:
163 /* Hardware bits in the page table entry */
169 /* Software bits in the page table entry */
238 /* Bits in the region table entry */
243 #define _REGION_ENTRY_INVALID 0x20 /* invalid region table entry */
272 /* Bits in the segment table entry */
280 #define _SEGMENT_ENTRY_INVALID 0x20 /* invalid segment table entry */
349 * Segment table and region3 table entry encoding
422 * On s390 the page table entry has an invalid bit and a read-only bit.
446 * Segment entry (large page) protection definitions.
481 * Region3 entry (large page) protection definitions.
1143 pte_t entry, int dirty)
1145 if (pte_same(*ptep, entry))
1147 ptep_xchg_direct(vma->vm_mm, addr, ptep, entry);
1155 pte_t *ptep, pte_t entry);
1201 pte_t *ptep, pte_t entry)
1203 if (pte_present(entry))
1204 pte_val(entry) &= ~_PAGE_UNUSED;
1206 ptep_set_pte_at(mm, addr, ptep, entry);
1208 *ptep = entry;
1212 * Conversion functions: convert a page and protection to a page entry,
1213 * and a page entry and page directory to the page they refer to.
1289 /* Get the first entry of the top level table */
1291 /* Pick up the shift from the table type of the first entry */
1424 * (see __Pxxx / __Sxxx). Convert to segment table entry format.
1556 pmd_t entry, int dirty)
1560 entry = pmd_mkyoung(entry);
1562 entry = pmd_mkdirty(entry);
1563 if (pmd_val(*pmdp) == pmd_val(entry))
1565 pmdp_xchg_direct(vma->vm_mm, addr, pmdp, entry);
1588 pmd_t *pmdp, pmd_t entry)
1591 pmd_val(entry) &= ~_SEGMENT_ENTRY_NOEXEC;
1592 *pmdp = entry;
1673 * 64 bit swap entry format:
1674 * A page-table entry has some bits we have to treat in a special way.
1704 static inline unsigned long __swp_type(swp_entry_t entry)
1706 return (entry.val >> __SWP_TYPE_SHIFT) & __SWP_TYPE_MASK;
1709 static inline unsigned long __swp_offset(swp_entry_t entry)
1711 return (entry.val >> __SWP_OFFSET_SHIFT) & __SWP_OFFSET_MASK;