Lines Matching defs:page
17 #include <linux/page-flags.h>
21 #include <asm/page.h>
46 * The S390 doesn't have any external MMU info: the kernel page
53 * ZERO_PAGE is a global shared page that is always zero; used
91 extern struct page *vmemmap;
119 * P Page-Protection Bit: Store access not possible for page
129 * P Page-Protection Bit: Store access not possible for page
163 /* Hardware bits in the page table entry */
169 /* Software bits in the page table entry */
175 #define _PAGE_SPECIAL 0x040 /* SW associated with special page */
190 * WITHOUT holding the page table lock. The _PAGE_PRESENT bit is used to
191 * distinguish present from not-present ptes. It is changed only with the page
257 #define _REGION3_ENTRY_ORIGIN_LARGE ~0x7fffffffUL /* large page address */
260 #define _REGION3_ENTRY_LARGE 0x0400 /* RTTE-format control, large page */
276 #define _SEGMENT_ENTRY_ORIGIN_LARGE ~0xfffffUL /* large page address */
277 #define _SEGMENT_ENTRY_ORIGIN ~0x7ffUL/* page table origin */
288 #define _SEGMENT_ENTRY_LARGE 0x0400 /* STE-format control, large page */
299 #define _PAGE_ENTRIES 256 /* number of page table entries */
392 * A user page table pointer has the space-switch-event bit, the
394 * bit set. A kernel page table pointer doesn't need them.
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.
933 * newprot for PAGE_RO, PAGE_RX, PAGE_RW and PAGE_RWX has the page
1152 * Additional functions to handle KVM guest page tables
1197 * within a page table are directly modified. Thus, the following
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.
1225 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot)
1227 unsigned long physpage = page_to_phys(page);
1230 if (pte_write(__pte) && PageDirty(page))
1658 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
1674 * A page-table entry has some bits we have to treat in a special way.
1676 * exception will occur instead of a page translation exception. The
1679 * Bits 54 and 63 are used to indicate the page type.