/linux-6.6.21/lib/ |
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 …]
|
/linux-6.6.21/include/linux/ |
D | container_of.h | 20 static_assert(__same_type(*(ptr), ((type *)0)->member) || \ 21 __same_type(*(ptr), void), \
|
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))
|
D | highmem-internal.h | 270 BUILD_BUG_ON(__same_type((__addr), struct page *)); \ 286 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
|
D | compiler.h | 231 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
D | overflow.h | 176 __same_type(n, T))
|
D | compiler_types.h | 373 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro
|
D | init.h | 263 static_assert(__same_type(initcall_t, &fn));
|
D | string.h | 181 BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
|
D | syscalls.h | 122 #define __TYPE_AS(t, v) __same_type((__force t)0, v)
|
/linux-6.6.21/scripts/mod/ |
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), \
|
/linux-6.6.21/tools/include/linux/ |
D | compiler.h | 62 #ifndef __same_type 63 # define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro
|
D | compiler-gcc.h | 26 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_utils.h | 167 BUILD_BUG_ON_MSG(!__same_type(*(ptr), typeof_member(type, member)) && \ 168 !__same_type(*(ptr), void), \
|
/linux-6.6.21/drivers/scsi/ibmvscsi_tgt/ |
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()
|
/linux-6.6.21/drivers/vfio/ |
D | device_cdev.c | 64 static_assert(__same_type(arg->out_devid, df->devid)); in vfio_df_ioctl_bind_iommufd()
|
/linux-6.6.21/security/landlock/ |
D | syscalls.c | 249 BUILD_BUG_ON(!__same_type( in get_path_from_fd()
|
/linux-6.6.21/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 406 static_assert(__same_type(((struct qib_ibport *)0)->rvp.n_##N, u64)); \
|
/linux-6.6.21/kernel/bpf/ |
D | hashtab.c | 717 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_map_gen_lookup() 758 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_lru_map_gen_lookup() 2568 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_of_map_gen_lookup()
|
D | verifier.c | 19176 BUILD_BUG_ON(!__same_type(ops->map_lookup_elem, in do_misc_fixups() 19178 BUILD_BUG_ON(!__same_type(ops->map_delete_elem, in do_misc_fixups() 19180 BUILD_BUG_ON(!__same_type(ops->map_update_elem, in do_misc_fixups() 19183 BUILD_BUG_ON(!__same_type(ops->map_push_elem, in do_misc_fixups() 19186 BUILD_BUG_ON(!__same_type(ops->map_pop_elem, in do_misc_fixups() 19188 BUILD_BUG_ON(!__same_type(ops->map_peek_elem, in do_misc_fixups() 19190 BUILD_BUG_ON(!__same_type(ops->map_redirect, in do_misc_fixups() 19192 BUILD_BUG_ON(!__same_type(ops->map_for_each_callback, in do_misc_fixups() 19197 BUILD_BUG_ON(!__same_type(ops->map_lookup_percpu_elem, in do_misc_fixups()
|
/linux-6.6.21/include/rdma/ |
D | ib_verbs.h | 2298 !__same_type(((struct drv_struct *)NULL)->member, \ 3055 BUILD_BUG_ON_ZERO(!__same_type(u32, \
|
/linux-6.6.21/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 988 BUILD_BUG_ON(!__same_type(srp_cmd->add_data[0], (s8)0) && in srpt_get_desc_buf() 989 !__same_type(srp_cmd->add_data[0], (u8)0)); in srpt_get_desc_buf()
|
/linux-6.6.21/kernel/trace/ |
D | ring_buffer.c | 1140 if (__same_type(*(b), struct ring_buffer_per_cpu)) { \
|