Home
last modified time | relevance | path

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

/openssl-master/crypto/
A Dmem_sec.c393 size_t pgsize; in sh_init() local
466 pgsize = PAGE_SIZE; in sh_init()
468 pgsize = (size_t)tmppgsize; in sh_init()
472 pgsize = (size_t)systemInfo.dwPageSize; in sh_init()
474 pgsize = PAGE_SIZE; in sh_init()
476 sh.map_size = pgsize + sh.arena_size + pgsize; in sh_init()
503 sh.arena = (char *)(sh.map_result + pgsize); in sh_init()
512 if (mprotect(sh.map_result, pgsize, PROT_NONE) < 0) in sh_init()
515 if (VirtualProtect(sh.map_result, pgsize, PAGE_NOACCESS, &flOldProtect) == FALSE) in sh_init()
520 aligned = (pgsize + sh.arena_size + (pgsize - 1)) & ~(pgsize - 1); in sh_init()
[all …]

Completed in 3 milliseconds