Home
last modified time | relevance | path

Searched refs:ilog2 (Results 1 – 5 of 5) sorted by relevance

/tools/include/linux/
Dlog2.h71 #define ilog2(n) \ macro
155 (1UL << (ilog2((n) - 1) + 1)) \
171 (1UL << ilog2(n))) : \
Dhashtable.h25 #define HASH_BITS(name) ilog2(HASH_SIZE(name))
/tools/testing/selftests/vm/
Dthuge-gen.c53 int ilog2(unsigned long v) in ilog2() function
237 int arg = ilog2(ps) << MAP_HUGE_SHIFT; in main()
249 int arg = ilog2(ps) << SHM_HUGE_SHIFT; in main()
/tools/testing/selftests/filesystems/incfs/
Dincfs_test.c232 static int ilog2(size_t n) in ilog2() function
4020 TESTEQUAL(desc.log_blocksize, ilog2(INCFS_DATA_FILE_BLOCK_SIZE)); in validate_verity()
/tools/testing/nvdimm/test/
Dnfit.c3415 nfit_pool = gen_pool_create(ilog2(SZ_4M), NUMA_NO_NODE); in nfit_test_init()