Searched refs:HALF_MEM (Results 1 – 1 of 1) sorted by relevance
18 #define HALF_MEM(memsize) ((memsize >> (PAGE_SHIFT))<<(PAGE_SHIFT - 1)) macro78 if (-1 == mprotect(mem, HALF_MEM(memsize), PROT_READ)) { in main()84 HALF_MEM(memsize), mem); in main()88 if (-1 == mprotect(mem, HALF_MEM(memsize), in main()105 memsize + HALF_MEM(memsize), in main()114 memsize + HALF_MEM(memsize), mem); in main()128 if (munmap(mem, memsize + HALF_MEM(memsize))) { in main()