Symbol: __same_type
drivers/gpu/drm/i915/display/intel_display.c
5064
BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \
drivers/gpu/drm/i915/display/intel_display.c
5076
BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \
drivers/gpu/drm/i915/display/intel_display.c
5088
BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \
drivers/gpu/drm/i915/display/intel_display.c
5110
BUILD_BUG_ON_MSG(!__same_type(current_config->name, bool), \
drivers/gpu/drm/i915/i915_ptr_util.h
61
BUILD_BUG_ON_MSG(!__same_type(*(ptr), typeof_member(type, member)) && \
drivers/gpu/drm/i915/i915_ptr_util.h
62
!__same_type(*(ptr), void), \
drivers/infiniband/ulp/srpt/ib_srpt.c
1047
BUILD_BUG_ON(!__same_type(srp_cmd->add_data[0], (s8)0) &&
drivers/infiniband/ulp/srpt/ib_srpt.c
1048
!__same_type(srp_cmd->add_data[0], (u8)0));
drivers/iommu/iommufd/main.c
689
BUILD_BUG_ON_ZERO(!__same_type( \
drivers/scsi/ibmvscsi_tgt/libsrp.c
386
BUILD_BUG_ON(!__same_type(srp_cmd->add_data[0], (s8)0)
drivers/scsi/ibmvscsi_tgt/libsrp.c
387
&& !__same_type(srp_cmd->add_data[0], (u8)0));
drivers/vfio/device_cdev.c
93
static_assert(__same_type(arg->out_devid, df->devid));
include/linux/bitops.h
71
static_assert(__same_type(arch_##name, generic_##name) && \
include/linux/bitops.h
72
__same_type(const_##name, generic_##name) && \
include/linux/bitops.h
73
__same_type(_##name, generic_##name))
include/linux/cache_coherency.h
53
static_assert(__same_type(struct cache_coherency_ops_inst, \
include/linux/compiler.h
204
#define __is_array(a) (!__same_type((a), &(a)[0]))
include/linux/container_of.h
21
static_assert(__same_type(*(ptr), ((type *)0)->member) || \
include/linux/container_of.h
22
__same_type(*(ptr), void), \
include/linux/fwctl.h
100
static_assert(__same_type(struct fwctl_device, \
include/linux/highmem-internal.h
278
BUILD_BUG_ON(__same_type((__addr), struct page *)); \
include/linux/highmem-internal.h
294
BUILD_BUG_ON(__same_type((__addr), struct page *)); \
include/linux/init.h
261
static_assert(__same_type(initcall_t, &fn));
include/linux/iommufd.h
334
BUILD_BUG_ON_ZERO(!__same_type(struct iommufd_viommu, \
include/linux/iommufd.h
340
BUILD_BUG_ON_ZERO(!__same_type(struct iommufd_vdevice, \
include/linux/iommufd.h
346
BUILD_BUG_ON_ZERO(!__same_type(struct iommufd_hw_queue, \
include/linux/iommufd.h
357
static_assert(__same_type(struct iommufd_hw_queue, \
include/linux/iommufd.h
359
static_assert(__same_type(typeof(*dependent), *depended)); \
include/linux/iommufd.h
369
static_assert(__same_type(struct iommufd_hw_queue, \
include/linux/iommufd.h
371
static_assert(__same_type(typeof(*dependent), *depended)); \
include/linux/overflow.h
319
__same_type(n, T))
include/linux/string.h
254
BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
include/linux/syscalls.h
127
#define __TYPE_AS(t, v) __same_type((__force t)0, v)
include/net/libeth/xdp.h
474
static_assert(__same_type(priv, u64)); \
include/rdma/ib_verbs.h
2346
!__same_type(((struct drv_struct *)NULL)->member, \
include/rdma/ib_verbs.h
3193
BUILD_BUG_ON_ZERO(!__same_type(u32, \
kernel/bpf/hashtab.c
2415
BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem,
kernel/bpf/hashtab.c
2704
BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem,
kernel/bpf/hashtab.c
778
BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem,
kernel/bpf/hashtab.c
819
BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem,
kernel/bpf/verifier.c
23955
BUILD_BUG_ON(!__same_type(ops->map_lookup_elem,
kernel/bpf/verifier.c
23957
BUILD_BUG_ON(!__same_type(ops->map_delete_elem,
kernel/bpf/verifier.c
23959
BUILD_BUG_ON(!__same_type(ops->map_update_elem,
kernel/bpf/verifier.c
23962
BUILD_BUG_ON(!__same_type(ops->map_push_elem,
kernel/bpf/verifier.c
23965
BUILD_BUG_ON(!__same_type(ops->map_pop_elem,
kernel/bpf/verifier.c
23967
BUILD_BUG_ON(!__same_type(ops->map_peek_elem,
kernel/bpf/verifier.c
23969
BUILD_BUG_ON(!__same_type(ops->map_redirect,
kernel/bpf/verifier.c
23971
BUILD_BUG_ON(!__same_type(ops->map_for_each_callback,
kernel/bpf/verifier.c
23976
BUILD_BUG_ON(!__same_type(ops->map_lookup_percpu_elem,
kernel/trace/ring_buffer.c
1112
if (__same_type(*(b), struct ring_buffer_per_cpu)) { \
lib/tests/overflow_kunit.c
1018
KUNIT_EXPECT_EQ(test, true, __same_type(t1, __t1h)); \
lib/tests/overflow_kunit.c
1019
KUNIT_EXPECT_EQ(test, true, __same_type(t1, __t1l)); \
lib/tests/overflow_kunit.c
1020
KUNIT_EXPECT_EQ(test, true, __same_type(__t1h, t1)); \
lib/tests/overflow_kunit.c
1021
KUNIT_EXPECT_EQ(test, true, __same_type(__t1l, t1)); \
lib/tests/overflow_kunit.c
1022
KUNIT_EXPECT_EQ(test, true, __same_type(t2, __t2h)); \
lib/tests/overflow_kunit.c
1023
KUNIT_EXPECT_EQ(test, true, __same_type(t2, __t2l)); \
lib/tests/overflow_kunit.c
1024
KUNIT_EXPECT_EQ(test, true, __same_type(__t2h, t2)); \
lib/tests/overflow_kunit.c
1025
KUNIT_EXPECT_EQ(test, true, __same_type(__t2l, t2)); \
lib/tests/overflow_kunit.c
1026
KUNIT_EXPECT_EQ(test, same, __same_type(t1, t2)); \
lib/tests/overflow_kunit.c
1027
KUNIT_EXPECT_EQ(test, same, __same_type(t2, __t1h)); \
lib/tests/overflow_kunit.c
1028
KUNIT_EXPECT_EQ(test, same, __same_type(t2, __t1l)); \
lib/tests/overflow_kunit.c
1029
KUNIT_EXPECT_EQ(test, same, __same_type(__t1h, t2)); \
lib/tests/overflow_kunit.c
1030
KUNIT_EXPECT_EQ(test, same, __same_type(__t1l, t2)); \
lib/tests/overflow_kunit.c
1031
KUNIT_EXPECT_EQ(test, same, __same_type(t1, __t2h)); \
lib/tests/overflow_kunit.c
1032
KUNIT_EXPECT_EQ(test, same, __same_type(t1, __t2l)); \
lib/tests/overflow_kunit.c
1033
KUNIT_EXPECT_EQ(test, same, __same_type(__t2h, t1)); \
lib/tests/overflow_kunit.c
1034
KUNIT_EXPECT_EQ(test, same, __same_type(__t2l, t1)); \
lib/tests/overflow_kunit.c
1069
KUNIT_EXPECT_TRUE(test, __same_type(var++, int));
lib/tests/overflow_kunit.c
1071
KUNIT_EXPECT_TRUE(test, __same_type(int, var++));
lib/tests/overflow_kunit.c
1073
KUNIT_EXPECT_TRUE(test, __same_type(var++, var++));
lib/tests/overflow_kunit.c
344
SKIP_64_ON_32(__same_type(t, u64)); \
lib/tests/overflow_kunit.c
345
SKIP_64_ON_32(__same_type(t, s64)); \
lib/tests/overflow_kunit.c
346
SKIP_SIGN_MISMATCH(__same_type(n ## _tests[0].a, u32) && \
lib/tests/overflow_kunit.c
347
__same_type(n ## _tests[0].b, u32) && \
lib/tests/overflow_kunit.c
348
__same_type(n ## _tests[0].sum, int)); \
scripts/include/list.h
21
_Static_assert(__same_type(*(ptr), ((type *)0)->member) || \
scripts/include/list.h
22
__same_type(*(ptr), void), \
security/landlock/syscalls.c
301
BUILD_BUG_ON(!__same_type(
tools/include/linux/compiler-gcc.h
26
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
tools/include/linux/compiler.h
72
#ifndef __same_type