Searched refs:shm_base (Results 1 – 1 of 1) sorted by relevance
204 caddr_t shm_base; in main() local360 shm_base = (char *)(((long)sbrk(0) + (shmsz - 1)) & ~(shmsz - 1)); in main()361 if (shm_base == NULL) { in main()370 shm_base = mmap(shm_base, 0x100000, PROT_READ | PROT_WRITE, in main()372 if (shm_base == (caddr_t) - 1) { in main()382 if ((ret = munmap(shm_base, 0x100000)) < 0) { in main()