Searched defs:PAGE_SIZE (Results 1 - 3 of 3) sorted by last modified time

/bionic/libc/include/sys/
H A Duser.h37 #define PAGE_SIZE 4096 macro
38 #define PAGE_MASK (~(PAGE_SIZE - 1))
/bionic/libc/kernel/uapi/linux/
H A Da.out.h105 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0)
120 #define PAGE_SIZE 0x400 macro
121 #define SEGMENT_SIZE PAGE_SIZE
/bionic/libc/private/
H A DWriteProtected.h33 char padding[PAGE_SIZE];
37 } __attribute__((aligned(PAGE_SIZE)));
44 static_assert(sizeof(T) < PAGE_SIZE, member in class:WriteProtected
45 "WriteProtected only supports contents up to PAGE_SIZE");
59 if (mprotect(&contents, PAGE_SIZE, PROT_READ)) {
74 if (mprotect(&contents, PAGE_SIZE, PROT_READ | PROT_WRITE) != 0) {
79 if (mprotect(&contents, PAGE_SIZE, PROT_READ) != 0) {

Completed in 1308 milliseconds