/openbmc/linux/lib/ |
H A D | overflow_kunit.c | 284 SKIP_64_ON_32(__same_type(t, u64)); \ 285 SKIP_64_ON_32(__same_type(t, s64)); \ 286 SKIP_SIGN_MISMATCH(__same_type(n ## _tests[0].a, u32) && \ 287 __same_type(n ## _tests[0].b, u32) && \ 288 __same_type(n ## _tests[0].sum, int)); \ 961 KUNIT_EXPECT_EQ(test, true, __same_type(t1, __t1h)); \ in same_type_test() 962 KUNIT_EXPECT_EQ(test, true, __same_type(t1, __t1l)); \ in same_type_test() 963 KUNIT_EXPECT_EQ(test, true, __same_type(__t1h, t1)); \ in same_type_test() 964 KUNIT_EXPECT_EQ(test, true, __same_type(__t1l, t1)); \ in same_type_test() 965 KUNIT_EXPECT_EQ(test, true, __same_type(t2, __t2h)); \ in same_type_test() [all …]
|
/openbmc/linux/include/linux/ |
H A D | container_of.h | 20 static_assert(__same_type(*(ptr), ((type *)0)->member) || \ 21 __same_type(*(ptr), void), \
|
H A D | bitops.h | 72 static_assert(__same_type(arch_##name, generic_##name) && \ 73 __same_type(const_##name, generic_##name) && \ 74 __same_type(_##name, generic_##name))
|
H A D | highmem-internal.h | 270 BUILD_BUG_ON(__same_type((__addr), struct page *)); \ 286 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
|
H A D | compiler.h | 246 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
H A D | overflow.h | 178 __same_type(n, T))
|
H A D | init.h | 267 static_assert(__same_type(initcall_t, &fn));
|
H A D | compiler_types.h | 403 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro
|
H A D | string.h | 181 BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
|
H A D | syscalls.h | 122 #define __TYPE_AS(t, v) __same_type((__force t)0, v)
|
/openbmc/linux/scripts/mod/ |
H A D | list.h | 9 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro 20 _Static_assert(__same_type(*(ptr), ((type *)0)->member) || \ 21 __same_type(*(ptr), void), \
|
/openbmc/linux/tools/include/linux/ |
H A D | compiler.h | 62 #ifndef __same_type 63 # define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro
|
H A D | compiler-gcc.h | 26 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_utils.h | 167 BUILD_BUG_ON_MSG(!__same_type(*(ptr), typeof_member(type, member)) && \ 168 !__same_type(*(ptr), void), \
|
/openbmc/u-boot/include/linux/ |
H A D | compiler.h | 446 #ifndef __same_type 447 # define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro
|
H A D | compiler-gcc.h | 66 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/ |
H A D | libsrp.c | 384 BUILD_BUG_ON(!__same_type(srp_cmd->add_data[0], (s8)0) in srp_get_desc_table() 385 && !__same_type(srp_cmd->add_data[0], (u8)0)); in srp_get_desc_table()
|
/openbmc/linux/drivers/vfio/ |
H A D | device_cdev.c | 64 static_assert(__same_type(arg->out_devid, df->devid)); in vfio_df_ioctl_bind_iommufd()
|
/openbmc/linux/security/landlock/ |
H A D | syscalls.c | 261 BUILD_BUG_ON(!__same_type( in get_path_from_fd()
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_sysfs.c | 406 static_assert(__same_type(((struct qib_ibport *)0)->rvp.n_##N, u64)); \
|
/openbmc/linux/kernel/bpf/ |
H A D | hashtab.c | 724 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_map_gen_lookup() 765 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_lru_map_gen_lookup() 2597 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_of_map_gen_lookup()
|
H A D | verifier.c | 19210 BUILD_BUG_ON(!__same_type(ops->map_lookup_elem, in do_misc_fixups() 19212 BUILD_BUG_ON(!__same_type(ops->map_delete_elem, in do_misc_fixups() 19214 BUILD_BUG_ON(!__same_type(ops->map_update_elem, in do_misc_fixups() 19217 BUILD_BUG_ON(!__same_type(ops->map_push_elem, in do_misc_fixups() 19220 BUILD_BUG_ON(!__same_type(ops->map_pop_elem, in do_misc_fixups() 19222 BUILD_BUG_ON(!__same_type(ops->map_peek_elem, in do_misc_fixups() 19224 BUILD_BUG_ON(!__same_type(ops->map_redirect, in do_misc_fixups() 19226 BUILD_BUG_ON(!__same_type(ops->map_for_each_callback, in do_misc_fixups() 19231 BUILD_BUG_ON(!__same_type(ops->map_lookup_percpu_elem, in do_misc_fixups()
|
/openbmc/linux/include/rdma/ |
H A D | ib_verbs.h | 2300 !__same_type(((struct drv_struct *)NULL)->member, \ 3057 BUILD_BUG_ON_ZERO(!__same_type(u32, \
|
/openbmc/linux/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 1047 BUILD_BUG_ON(!__same_type(srp_cmd->add_data[0], (s8)0) && in srpt_get_desc_buf() 1048 !__same_type(srp_cmd->add_data[0], (u8)0)); in srpt_get_desc_buf()
|
/openbmc/linux/kernel/trace/ |
H A D | ring_buffer.c | 1187 if (__same_type(*(b), struct ring_buffer_per_cpu)) { \
|