/external/linux-kselftest/tools/testing/selftests/x86/ |
mpx-mm.h | 5 #define PAGE_SIZE 4096
|
5lvl.c | 6 #define PAGE_SIZE 4096 22 .size = 2 * PAGE_SIZE, 29 .size = 2 * PAGE_SIZE, 36 .size = 2 * PAGE_SIZE, 43 .size = 2 * PAGE_SIZE, 50 .size = 2 * PAGE_SIZE, 56 .size = 2 * PAGE_SIZE, 63 .size = 2 * PAGE_SIZE, 68 .addr = (void *)((1UL << 47) - PAGE_SIZE), 69 .size = 2 * PAGE_SIZE, [all...] |
test_mremap_vdso.c | 31 #define PAGE_SIZE 4096 76 unsigned long vdso_size = PAGE_SIZE; 90 vdso_size += PAGE_SIZE;
|
/bionic/libc/private/ |
WriteProtected.h | 34 char padding[PAGE_SIZE]; 38 } __attribute__((aligned(PAGE_SIZE))); 45 static_assert(sizeof(T) < PAGE_SIZE, 46 "WriteProtected only supports contents up to PAGE_SIZE"); 60 if (mprotect(&contents, PAGE_SIZE, PROT_READ)) { 75 if (mprotect(&contents, PAGE_SIZE, PROT_READ | PROT_WRITE) != 0) { 80 if (mprotect(&contents, PAGE_SIZE, PROT_READ) != 0) {
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
gup_benchmark.c | 15 #define PAGE_SIZE sysconf(_SC_PAGESIZE) 76 for (; (unsigned long)p < gup.addr + size; p += PAGE_SIZE)
|
transhuge-stress.c | 22 #define PAGE_SIZE (1 << PAGE_SHIFT) 133 if (madvise(p, HPAGE_SIZE - PAGE_SIZE, MADV_DONTNEED))
|
/external/ltp/testcases/kernel/numa/ |
support_numa.c | 46 #define PAGE_SIZE getpagesize() 108 for (i = 0; i < MB; i += PAGE_SIZE) {
|
/external/libunwind/src/x86/ |
Ginit.c | 79 #ifndef PAGE_SIZE 80 #define PAGE_SIZE 4096 84 #define PAGE_START(a) ((a) & ~(PAGE_SIZE-1)) 101 len = PAGE_SIZE; 103 len = PAGE_SIZE * 2;
|
/external/linux-kselftest/tools/testing/selftests/ptrace/ |
peeksiginfo.c | 35 #ifndef PAGE_SIZE 36 #define PAGE_SIZE sysconf(_SC_PAGESIZE) 54 addr_rw = mmap(NULL, 2 * PAGE_SIZE, PROT_READ | PROT_WRITE, 61 addr_ro = mmap(addr_rw + PAGE_SIZE, PAGE_SIZE, PROT_READ, 101 munmap(addr_rw, 2 * PAGE_SIZE);
|
/external/ltp/testcases/kernel/module/query_module/ |
query_module02.c | 86 #ifndef PAGE_SIZE 87 #define PAGE_SIZE sysconf(_SC_PAGE_SIZE) 92 #define MODNAMEMAX (PAGE_SIZE + 1) 109 static char out_buf[PAGE_SIZE];
|
query_module03.c | 95 #ifndef PAGE_SIZE 96 #define PAGE_SIZE sysconf(_SC_PAGE_SIZE) 118 static char out_buf[PAGE_SIZE];
|
query_module01.c | 97 #ifndef PAGE_SIZE 98 #define PAGE_SIZE sysconf(_SC_PAGE_SIZE) 102 #define MODNAMEMAX (PAGE_SIZE + 1) 122 static char out_buf[PAGE_SIZE];
|
/system/extras/pagecache/ |
pagecache.py | 14 PAGE_SIZE = 4096 55 return "%.2f" % round(num_pages * PAGE_SIZE / 1024.0 / 1024.0, 2)
|
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/ |
vmparam.h | 92 #define PAGE_SIZE (1 << PAGE_SHIFT)
93 #define PAGE_MASK (PAGE_SIZE - 1)
98 #define VM_GATEWAY_SIZE PAGE_SIZE
111 #define VM_PHYS_SIZE (USRIOSIZE*PAGE_SIZE)
|
/external/libunwind/src/x86_64/ |
Ginit.c | 71 #define PAGE_SIZE 4096 72 #define PAGE_START(a) ((a) & ~(PAGE_SIZE-1)) 122 len = PAGE_SIZE; 124 len = PAGE_SIZE * 2;
|
/external/ltp/testcases/kernel/controllers/io-throttle/ |
iobw.c | 38 #ifndef PAGE_SIZE 39 #define PAGE_SIZE sysconf(_SC_PAGE_SIZE) 89 ret = posix_memalign(&buf, PAGE_SIZE, chunk_size); 230 chunk_size = align(memparse(argv[2], &end), PAGE_SIZE); 235 data_size = align(memparse(argv[3], &end), PAGE_SIZE);
|
/external/ltp/testcases/kernel/module/create_module/ |
create_module02.c | 96 #ifndef PAGE_SIZE 97 #define PAGE_SIZE sysconf(_SC_PAGE_SIZE) 106 #define MODNAMEMAX (PAGE_SIZE + 1)
|
/external/ltp/tools/pounder21/src/mem_alloc_test/ |
mem_alloc.c | 54 #define PAGE_SIZE 0x400 // = 1024 KB 236 for (i = 0x0; i < incr; i += PAGE_SIZE) 306 for (i = start_addr; i < end_addr; i += PAGE_SIZE) { 313 for (i = end_addr; i > start_addr; i -= PAGE_SIZE) {
|
/external/valgrind/memcheck/tests/ |
sh-mem-random.c | 23 #define PAGE_SIZE 4096ULL 256 nbytes_p = (N_BYTES + PAGE_SIZE) & ~(PAGE_SIZE-1); 264 huge_addr += (randomU4() & ~(PAGE_SIZE-1));
|
/frameworks/base/core/java/android/nfc/tech/ |
MifareUltralight.java | 35 * <p>MIFARE Ultralight compatible tags have 4 byte pages {@link #PAGE_SIZE}. 72 public static final int PAGE_SIZE = 4;
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
FakeApp.java | 43 static final int PAGE_SIZE = 4*1024; 148 for (int i=0; i<STUFFING_SIZE_BYTES/PAGE_SIZE; i++) { 151 final int OFF = (i*PAGE_SIZE)/4; 152 for (int j=0; j<(PAGE_SIZE/4); j++) {
|
/frameworks/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/ |
ContentPagerDemoActivity.java | 48 private static final int PAGE_SIZE = 20; 64 mAdapter = new Adapter(mPager, PAGE_SIZE); 138 int lastPage = (UnpagedDemoDataProvider.TOTAL_SIZE / PAGE_SIZE) - 1; 169 if (page < 0 || page >= (UnpagedDemoDataProvider.TOTAL_SIZE / PAGE_SIZE)) {
|
/hardware/qcom/msm8998/kernel-headers/linux/ |
spcom.h | 26 #ifndef PAGE_SIZE 27 #define PAGE_SIZE 4096 31 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE - 1)
|
/hardware/qcom/msm8998/original-kernel-headers/linux/ |
spcom.h | 20 #ifndef PAGE_SIZE 21 #define PAGE_SIZE 4096 42 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE-1)
|
/bionic/libc/include/sys/ |
user.h | 38 #define PAGE_SIZE 4096 39 #define PAGE_MASK (~(PAGE_SIZE - 1)) 107 #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * PAGE_SIZE)
|