Searched refs:fls_t (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/iommu/generic_pt/ |
| H A D | kunit_generic_pt.h | 152 KUNIT_ASSERT_EQ(test, fls_t(u32, 0), 0); in test_bitops() 153 KUNIT_ASSERT_EQ(test, fls_t(u32, 1), 1); in test_bitops() 154 KUNIT_ASSERT_EQ(test, fls_t(u32, BIT(2)), 3); in test_bitops() 155 KUNIT_ASSERT_EQ(test, fls_t(u32, U32_MAX), 32); in test_bitops() 157 KUNIT_ASSERT_EQ(test, fls_t(u64, 0), 0); in test_bitops() 158 KUNIT_ASSERT_EQ(test, fls_t(u64, 1), 1); in test_bitops() 159 KUNIT_ASSERT_EQ(test, fls_t(u64, BIT(2)), 3); in test_bitops() 160 KUNIT_ASSERT_EQ(test, fls_t(u64, U64_MAX), 64); in test_bitops()
|
| H A D | pt_defs.h | 245 #define vafls(a) fls_t(pt_vaddr_t, a) 301 #define oafls(a) fls_t(pt_oaddr_t, a)
|
| H A D | pt_log2.h | 84 #define fls_t(type, a) _dispatch_sz(type, fls, a) macro
|