Searched refs:c_lg2 (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/iommu/generic_pt/ |
| H A D | kunit_generic_pt.h | 212 unsigned int c_lg2; in test_best_pgsize() local 217 for (c_lg2 = 1; c_lg2 != 10; c_lg2++) { in test_best_pgsize() 222 get_random_u64(), c_lg2); in test_best_pgsize() 237 for (c_lg2 = 1; c_lg2 != PT_VADDR_MAX_LG2 - 1; c_lg2++) { in test_best_pgsize() 241 pt_vaddr_t last_va = log2_set_mod_max(0, c_lg2); in test_best_pgsize() 252 for (c_lg2 = 1; c_lg2 != 10; c_lg2++) { in test_best_pgsize() 271 for (c_lg2 = 1; c_lg2 != 10; c_lg2++) { in test_best_pgsize() 276 get_random_u64(), c_lg2); in test_best_pgsize() 295 for (c_lg2 = 32; c_lg2 != 42; c_lg2++) { in test_best_pgsize() 300 get_random_u64(), c_lg2); in test_best_pgsize()
|
| H A D | pt_defs.h | 238 #define log2_div_eq(a, b, c_lg2) log2_div_eq_t(pt_vaddr_t, a, b, c_lg2) argument 268 unsigned int c_lg2) in fvalog2_div_eq() argument 270 if (PT_SUPPORTED_FEATURE(PT_FEAT_FULL_VA) && c_lg2 == PT_VADDR_MAX_LG2) in fvalog2_div_eq() 272 return log2_div_eq_t(pt_vaddr_t, a, b, c_lg2); in fvalog2_div_eq() 294 #define oalog2_div_eq(a, b, c_lg2) log2_div_eq_t(pt_oaddr_t, a, b, c_lg2) argument
|
| H A D | pt_log2.h | 29 #define log2_div_eq_t(type, a, b, c_lg2) \ argument 30 (log2_div_t(type, (a) ^ (b), c_lg2) == 0)
|