Home
last modified time | relevance | path

Searched refs:ONE_MEG (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/dmabuf-heaps/
A Ddmabuf-heap.c142 #define ONE_MEG (1024 * 1024) macro
156 ret = dmabuf_heap_alloc(heap_fd, ONE_MEG, 0, &dmabuf_fd); in test_alloc_and_import()
164 ONE_MEG, in test_alloc_and_import()
176 memset(p, 1, ONE_MEG / 2); in test_alloc_and_import()
177 memset((char *)p + ONE_MEG / 2, 0, ONE_MEG / 2); in test_alloc_and_import()
198 memset(p, 0xff, ONE_MEG); in test_alloc_and_import()
210 munmap(p, ONE_MEG); in test_alloc_and_import()
374 ret = dmabuf_heap_alloc_older(heap_fd, ONE_MEG, 0, &dmabuf_fd); in test_alloc_compat()
410 ret = dmabuf_heap_alloc(0, ONE_MEG, 0x111111, &dmabuf_fd); in test_alloc_errors()
424 ret = dmabuf_heap_alloc_fdflags(heap_fd, ONE_MEG, in test_alloc_errors()
[all …]

Completed in 3 milliseconds