Searched refs:hugepage_size (Results 1 – 7 of 7) sorted by relevance
45 static long hugepage_size; variable60 if (madvise(p + hugepage_size, page_size, MADV_MERGEABLE) == -1) { in thp_test()87 hugepage_size = SAFE_READ_MEMINFO("Hugepagesize:") * KB; in setup()88 unaligned_size = hugepage_size * 4 - 1; in setup()
81 int check_compaction(unsigned long mem_free, unsigned int hugepage_size) in check_compaction() argument127 compaction_index = mem_free/(atoi(nr_hugepages) * hugepage_size); in check_compaction()163 unsigned long hugepage_size = 0; in main() local184 if (read_memory_info(&mem_free, &hugepage_size) != 0) { in main()222 if (check_compaction(mem_free, hugepage_size) == 0) in main()
70 unsigned long mask = td->o.hugepage_size - 1; in alloc_mem_shm()132 unsigned long mask = td->o.hugepage_size - 1; in alloc_mem_mmap()
162 unsigned int hugepage_size; member431 uint32_t hugepage_size; member
202 o->hugepage_size = le32_to_cpu(top->hugepage_size); in convert_thread_options_to_cpu()405 top->hugepage_size = cpu_to_le32(o->hugepage_size); in convert_thread_options_to_net()
1185 bs = td->orig_buffer_size + td->o.hugepage_size - 1; in init_io_u()1186 td->orig_buffer_size = bs & ~(td->o.hugepage_size - 1); in init_io_u()
4279 .off1 = offsetof(struct thread_options, hugepage_size),