Lines Matching defs:end
78 static bool assert_one_hole(const struct drm_mm *mm, u64 start, u64 end)
85 if (end <= start)
90 if (start != hole_start || end != hole_end) {
94 start, end);
819 u64 end)
824 if (!expect_insert_in_range_fail(mm, size, start, end))
829 if (node->start < start || node->start + node->size > end) {
831 n, node->start, node->start + node->size, start, end);
848 drm_mm_hole_node_end(node) < end) {
865 if (end < U64_MAX) {
866 node = __drm_mm_interval_first(mm, end, U64_MAX);
868 pr_err("node after end: node=%llx+%llu, end=%llx\n",
869 node->start, node->size, end);
877 static int __igt_insert_range(unsigned int count, u64 size, u64 start, u64 end)
887 DRM_MM_BUG_ON(end <= start);
902 end_n = div64_u64(end - size, size);
908 start, end, mode)) {
912 start, end);
917 if (!assert_contiguous_in_range(&mm, size, start, end)) {
919 mode->name, start, end, size);
930 start, end, mode)) {
942 if (!assert_contiguous_in_range(&mm, size, start, end)) {
944 mode->name, start, end, size);
969 const unsigned int end = 2048;
970 const unsigned int size = end - start;
982 end - (size+1)/2, end + size/2))
985 if (!expect_insert_in_range_fail(&mm, 1, end, end + size))
2007 u64 *end)
2014 --*end;