Home
last modified time | relevance | path

Searched refs:__same_type (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/lib/
H A Doverflow_kunit.c284 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 Dcontainer_of.h20 static_assert(__same_type(*(ptr), ((type *)0)->member) || \
21 __same_type(*(ptr), void), \
H A Dbitops.h72 static_assert(__same_type(arch_##name, generic_##name) && \
73 __same_type(const_##name, generic_##name) && \
74 __same_type(_##name, generic_##name))
H A Dhighmem-internal.h270 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
286 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
H A Dcompiler.h246 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
H A Doverflow.h178 __same_type(n, T))
H A Dinit.h267 static_assert(__same_type(initcall_t, &fn));
H A Dcompiler_types.h403 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro
H A Dstring.h181 BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
H A Dsyscalls.h122 #define __TYPE_AS(t, v) __same_type((__force t)0, v)
/openbmc/linux/scripts/mod/
H A Dlist.h9 #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 Dcompiler.h62 #ifndef __same_type
63 # define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro
H A Dcompiler-gcc.h26 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_utils.h167 BUILD_BUG_ON_MSG(!__same_type(*(ptr), typeof_member(type, member)) && \
168 !__same_type(*(ptr), void), \
/openbmc/u-boot/include/linux/
H A Dcompiler.h446 #ifndef __same_type
447 # define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro
H A Dcompiler-gcc.h66 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/
H A Dlibsrp.c384 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 Ddevice_cdev.c64 static_assert(__same_type(arg->out_devid, df->devid)); in vfio_df_ioctl_bind_iommufd()
/openbmc/linux/security/landlock/
H A Dsyscalls.c261 BUILD_BUG_ON(!__same_type( in get_path_from_fd()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c406 static_assert(__same_type(((struct qib_ibport *)0)->rvp.n_##N, u64)); \
/openbmc/linux/kernel/bpf/
H A Dhashtab.c724 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 Dverifier.c19210 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 Dib_verbs.h2300 !__same_type(((struct drv_struct *)NULL)->member, \
3057 BUILD_BUG_ON_ZERO(!__same_type(u32, \
/openbmc/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c1047 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 Dring_buffer.c1187 if (__same_type(*(b), struct ring_buffer_per_cpu)) { \