Searched refs:level_size (Results 1 – 1 of 1) sorted by relevance
173 static inline bool is_desc_block_aligned(uint64_t desc, unsigned int level_size) in is_desc_block_aligned() argument175 bool aligned = (desc & PTE_PHYSADDR_MASK & (level_size - 1)) == 0; in is_desc_block_aligned()179 desc, level_size); in is_desc_block_aligned()311 uint64_t level_size; in set_mapping() local336 level_size = 1ULL << LEVEL_TO_VA_SIZE_SHIFT(level); in set_mapping()340 level_size -= (virt & (level_size - 1)); in set_mapping()341 if (level_size > size) { in set_mapping()342 level_size = size; in set_mapping()347 if ((size < level_size) || (virt & (level_size - 1)) || in set_mapping()348 !is_desc_block_aligned(desc, level_size)) { in set_mapping()[all …]