Lines Matching refs:ps
67 static unsigned long ps; variable
76 ps = sysconf(_SC_PAGE_SIZE); in main()
95 t = mmap(p, 3 * ps, PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in check_vma()
98 memset(t, 1, ps); in check_vma()
104 memset(t, 2, ps); in check_vma()
105 u = mmap(t + 3 * ps, 3 * ps, PROT_WRITE, in check_vma()
114 memset(u, 2, ps); in check_vma()
119 if (x == t + 3 * ps) in check_vma()
121 else if (x == t && get_end_addr(x) == t + 3 * ps) in check_vma()
126 if (x == t + 6 * ps) in check_vma()
128 else if (x == u && get_end_addr(x) == t + 6 * ps) in check_vma()
153 t = mmap(NULL, 9 * ps, PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in create_bighole()
156 memset(t, 'a', ps); in create_bighole()
157 p = t + 3 * ps; in create_bighole()
158 if (munmap(t, 9 * ps) == -1) in create_bighole()