Searched refs:MMAP_SIZE (Results 1 – 1 of 1) sorted by relevance
317 #define MMAP_SIZE 4096 macro325 iia.allocation.len = MMAP_SIZE; in alloc_handle()355 char *re_buf = (char*) mmap(NULL, MMAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, dma_fd, 0); in poc_write_kernel()364 for (read_num = 0; read_num < MMAP_SIZE/sizeof(unsigned long); read_num++) { in poc_write_kernel()375 memset(re_buf, 0xbb, MMAP_SIZE); in poc_write_kernel()376 munmap(re_buf, MMAP_SIZE); in poc_write_kernel()