Home
last modified time | relevance | path

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

/third_party/node/deps/openssl/openssl/crypto/
Dmem_sec.c408 size_t pgsize; in sh_init() local
481 pgsize = PAGE_SIZE; in sh_init()
483 pgsize = (size_t)tmppgsize; in sh_init()
487 pgsize = (size_t)systemInfo.dwPageSize; in sh_init()
489 pgsize = PAGE_SIZE; in sh_init()
491 sh.map_size = pgsize + sh.arena_size + pgsize; in sh_init()
518 sh.arena = (char *)(sh.map_result + pgsize); in sh_init()
527 if (mprotect(sh.map_result, pgsize, PROT_NONE) < 0) in sh_init()
530 if (VirtualProtect(sh.map_result, pgsize, PAGE_NOACCESS, &flOldProtect) == FALSE) in sh_init()
535 aligned = (pgsize + sh.arena_size + (pgsize - 1)) & ~(pgsize - 1); in sh_init()
[all …]
/third_party/openssl/crypto/
Dmem_sec.c408 size_t pgsize; in sh_init() local
481 pgsize = PAGE_SIZE; in sh_init()
483 pgsize = (size_t)tmppgsize; in sh_init()
487 pgsize = (size_t)systemInfo.dwPageSize; in sh_init()
489 pgsize = PAGE_SIZE; in sh_init()
491 sh.map_size = pgsize + sh.arena_size + pgsize; in sh_init()
518 sh.arena = (char *)(sh.map_result + pgsize); in sh_init()
527 if (mprotect(sh.map_result, pgsize, PROT_NONE) < 0) in sh_init()
530 if (VirtualProtect(sh.map_result, pgsize, PAGE_NOACCESS, &flOldProtect) == FALSE) in sh_init()
535 aligned = (pgsize + sh.arena_size + (pgsize - 1)) & ~(pgsize - 1); in sh_init()
[all …]
/third_party/ltp/testcases/kernel/controllers/memcg/stress/
Dmemcg_stress_test.sh34 local pgsize=`tst_getconf PAGESIZE`
39 [ "$pgsize" = "4096" ] && THREAD_SPARE_MB=1 || THREAD_SPARE_MB=8