Lines Matching defs:PAGE_SIZE
81 #if defined(PAGE_SIZE)
84 * If PAGE_SIZE is defined at this stage, it must be a constant.
87 #if PAGE_SIZE == 0
88 #error Invalid PAGE_SIZE definition
92 * If the platform does not need to support a variable PAGE_SIZE,
97 #define MIN_PAGE_SIZE PAGE_SIZE
101 #define MAX_PAGE_SIZE PAGE_SIZE
104 #else /* ! PAGE_SIZE */
107 * PAGE_SIZE is not a constant; MIN_PAGE_SIZE and MAX_PAGE_SIZE must
119 #endif /* PAGE_SIZE */
135 * non-constant PAGE_SIZE, et al for modules.
140 #undef PAGE_SIZE
147 * Now provide PAGE_SIZE, PAGE_MASK, and PAGE_SHIFT if we do not
150 #if !defined(PAGE_SIZE)
154 #define PAGE_SIZE (*uvmexp_pagesize) /* size of page */
157 #endif /* PAGE_SIZE */