Lines Matching full:alignment
92 static u64 misalignment(struct drm_mm_node *node, u64 alignment) in misalignment() argument
96 if (!alignment) in misalignment()
99 div64_u64_rem(node->start, alignment, &rem); in misalignment()
104 u64 size, u64 alignment, unsigned long color) in assert_node() argument
119 if (misalignment(node, alignment)) { in assert_node()
121 "node is misaligned, start %llx rem %llu, expected alignment %llu\n", in assert_node()
122 node->start, misalignment(node, alignment), alignment); in assert_node()
218 struct drm_mm_node *node, u64 size, u64 alignment, unsigned long color, in expect_insert() argument
224 size, alignment, color, in expect_insert()
228 "insert (size=%llu, alignment=%llu, color=%lu, mode=%s) failed with err=%d\n", in expect_insert()
229 size, alignment, color, mode->name, err); in expect_insert()
233 if (!assert_node(test, node, mm, size, alignment, color)) { in expect_insert()
263 KUNIT_FAIL(test, "insert failed with alignment=%llx [%d]", align, bit); in drm_test_mm_align_pot()