Lines Matching refs:ok
77 int ok = munmap(frontIndex, sizeof(audio_utils_fifo_index)); in main() local
78 printf("writer unmap front ok=%d\n", ok); in main()
79 ok = ashmem_set_prot_region(frontFd, PROT_READ); in main()
80 printf("writer prot read front ok=%d\n", ok); in main()
140 int ok = munmap(rearIndex, sizeof(audio_utils_fifo_index)); in main() local
141 printf("reader unmap rear ok=%d\n", ok); in main()
142 ok = ashmem_set_prot_region(rearFd, PROT_READ); in main()
143 printf("reader prot read rear ok=%d\n", ok); in main()
151 ok = munmap(data, BUFFER_SIZE); in main()
152 printf("reader unmap data ok=%d\n", ok); in main()
153 ok = ashmem_set_prot_region(dataFd, PROT_READ); in main()
154 printf("reader prot read data ok=%d\n", ok); in main()
215 int ok = munmap(frontIndex, sizeof(audio_utils_fifo_index)); in main() local
216 printf("parent unmap front ok=%d\n", ok); in main()
217 ok = munmap(rearIndex, sizeof(audio_utils_fifo_index)); in main()
218 printf("parent unmap rear ok=%d\n", ok); in main()
219 ok = munmap(data, BUFFER_SIZE); in main()
220 printf("parent unmap data ok=%d\n", ok); in main()