Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/thp/
Dthp03.c45 static long hugepage_size; variable
60 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()
/external/linux-kselftest/tools/testing/selftests/vm/
Dcompaction_test.c81 int check_compaction(unsigned long mem_free, unsigned int hugepage_size) in check_compaction() argument
127 compaction_index = mem_free/(atoi(nr_hugepages) * hugepage_size); in check_compaction()
163 unsigned long hugepage_size = 0; in main() local
184 if (read_memory_info(&mem_free, &hugepage_size) != 0) { in main()
222 if (check_compaction(mem_free, hugepage_size) == 0) in main()
/external/fio/
Dmemory.c70 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()
Dthread_options.h162 unsigned int hugepage_size; member
431 uint32_t hugepage_size; member
Dcconv.c202 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()
Dbackend.c1185 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()
Doptions.c4279 .off1 = offsetof(struct thread_options, hugepage_size),