Lines Matching defs:pgsize
408 size_t pgsize;
481 pgsize = PAGE_SIZE;
483 pgsize = (size_t)tmppgsize;
487 pgsize = (size_t)systemInfo.dwPageSize;
489 pgsize = PAGE_SIZE;
491 sh.map_size = pgsize + sh.arena_size + pgsize;
518 sh.arena = (char *)(sh.map_result + pgsize);
527 if (mprotect(sh.map_result, pgsize, PROT_NONE) < 0)
530 if (VirtualProtect(sh.map_result, pgsize, PAGE_NOACCESS, &flOldProtect) == FALSE)
535 aligned = (pgsize + sh.arena_size + (pgsize - 1)) & ~(pgsize - 1);
537 if (mprotect(sh.map_result + aligned, pgsize, PROT_NONE) < 0)
540 if (VirtualProtect(sh.map_result + aligned, pgsize, PAGE_NOACCESS, &flOldProtect) == FALSE)