Home
last modified time | relevance | path

Searched refs:unaligned_size (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/mem/thp/
Dthp03.c46 static long unaligned_size; variable
53 p = SAFE_MMAP(NULL, unaligned_size, PROT_READ | PROT_WRITE, in thp_test()
56 memset(p, 0x00, unaligned_size); in thp_test()
57 if (mprotect(p, unaligned_size, PROT_NONE) == -1) in thp_test()
77 munmap(p, unaligned_size); in thp_test()
88 unaligned_size = hugepage_size * 4 - 1; in setup()