Searched refs:map_align (Results 1 – 1 of 1) sorted by relevance
93 static size_t map_align; variable140 sz = ALIGN_UP(need, map_align); in mmap_large_buffer()197 raddr = mmap(NULL, chunk_size + map_align, PROT_READ, flags, fd, 0); in child_thread()202 addr = ALIGN_PTR_UP(raddr, map_align); in child_thread()319 munmap(raddr, chunk_size + map_align); in child_thread()501 map_align = atol(optarg); in main()510 if (!map_align) { in main()511 map_align = default_huge_page_size(); in main()515 if (!map_align) in main()516 map_align = 2*1024*1024; in main()