Searched refs:map_result (Results 1 – 1 of 1) sorted by relevance
282 char* map_result; member450 sh.map_result = mmap(NULL, sh.map_size, in sh_init()456 sh.map_result = MAP_FAILED; in sh_init()458 sh.map_result = mmap(NULL, sh.map_size, in sh_init()463 if (sh.map_result == MAP_FAILED) in sh_init()465 sh.arena = (char *)(sh.map_result + pgsize); in sh_init()473 if (mprotect(sh.map_result, pgsize, PROT_NONE) < 0) in sh_init()478 if (mprotect(sh.map_result + aligned, pgsize, PROT_NONE) < 0) in sh_init()511 if (sh.map_result != MAP_FAILED && sh.map_size) in sh_done()512 munmap(sh.map_result, sh.map_size); in sh_done()