Searched refs:castable_to_type (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_object.h | 401 static_assert(castable_to_type(n, pgoff_t)); \ 446 static_assert(castable_to_type(n, pgoff_t)); \ 491 static_assert(castable_to_type(n, pgoff_t)); \ 527 static_assert(castable_to_type(n, pgoff_t)); \ 562 static_assert(castable_to_type(n, pgoff_t)); \ 600 static_assert(castable_to_type(n, pgoff_t)); \ 635 static_assert(castable_to_type(n, pgoff_t)); \
|
/linux/include/linux/ |
H A D | overflow.h | 242 * castable_to_type - like __same_type(), but also allows for casted literals 252 #define castable_to_type(n, T) \ macro
|
/linux/lib/tests/ |
H A D | overflow_kunit.c | 1088 bool __pass = castable_to_type(arg1, arg2); \ in castable_to_type_test() 1090 "expected castable_to_type(" #arg1 ", " #arg2 ") to%s pass\n",\ in castable_to_type_test() 1167 kunit_info(test, "%d castable_to_type() tests finished\n", count); in castable_to_type_test()
|