Searched refs:hpage_len (Results 1 – 1 of 1) sorted by relevance
81 size_t hpage_len = read_pmd_pagesize(); in test_hugepage() local83 if (!hpage_len) in test_hugepage()86 map = memalign(hpage_len, hpage_len); in test_hugepage()90 ret = madvise(map, hpage_len, MADV_HUGEPAGE); in test_hugepage()94 for (i = 0; i < hpage_len; i++) in test_hugepage()97 if (check_huge_anon(map, 1, hpage_len)) { in test_hugepage()