Lines Matching defs:ONE_MEG
141 #define ONE_MEG (1024 * 1024)
155 ret = dmabuf_heap_alloc(heap_fd, ONE_MEG, 0, &dmabuf_fd);
163 ONE_MEG,
175 memset(p, 1, ONE_MEG / 2);
176 memset((char *)p + ONE_MEG / 2, 0, ONE_MEG / 2);
197 memset(p, 0xff, ONE_MEG);
209 munmap(p, ONE_MEG);
373 ret = dmabuf_heap_alloc_older(heap_fd, ONE_MEG, 0, &dmabuf_fd);
383 ret = dmabuf_heap_alloc_newer(heap_fd, ONE_MEG, 0, &dmabuf_fd);
409 ret = dmabuf_heap_alloc(0, ONE_MEG, 0x111111, &dmabuf_fd);
416 ret = dmabuf_heap_alloc(heap_fd, ONE_MEG, 0x111111, &dmabuf_fd);
423 ret = dmabuf_heap_alloc_fdflags(heap_fd, ONE_MEG,
470 ret = test_alloc_zeroed(dir->d_name, ONE_MEG);