/linux-6.1.9/include/linux/ |
D | container_of.h | 19 static_assert(__same_type(*(ptr), ((type *)0)->member) || \ 20 __same_type(*(ptr), void), \ 34 static_assert(__same_type(*(ptr), ((type *)0)->member) || \ 35 __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 | 267 BUILD_BUG_ON(__same_type((__addr), struct page *)); \ 283 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
|
D | sh_intc.h | 100 #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a)
|
D | compiler.h | 232 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
D | compiler_types.h | 298 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro
|
D | init.h | 246 static_assert(__same_type(initcall_t, &fn));
|
D | string.h | 141 BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
|
D | syscalls.h | 120 #define __TYPE_AS(t, v) __same_type((__force t)0, v)
|
/linux-6.1.9/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.1.9/tools/include/linux/ |
D | compiler.h | 50 #ifndef __same_type 51 # define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro
|
D | compiler-gcc.h | 24 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
/linux-6.1.9/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)); \
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_utils.h | 173 BUILD_BUG_ON_MSG(!__same_type(*(ptr), struct_member(type, member)) && \ 174 !__same_type(*(ptr), void), \
|
/linux-6.1.9/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.1.9/security/landlock/ |
D | syscalls.c | 249 BUILD_BUG_ON(!__same_type( in get_path_from_fd()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 406 static_assert(__same_type(((struct qib_ibport *)0)->rvp.n_##N, u64)); \
|
/linux-6.1.9/kernel/bpf/ |
D | hashtab.c | 703 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_map_gen_lookup() 744 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_lru_map_gen_lookup() 2503 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_of_map_gen_lookup()
|
D | verifier.c | 14253 BUILD_BUG_ON(!__same_type(ops->map_lookup_elem, in do_misc_fixups() 14255 BUILD_BUG_ON(!__same_type(ops->map_delete_elem, in do_misc_fixups() 14257 BUILD_BUG_ON(!__same_type(ops->map_update_elem, in do_misc_fixups() 14260 BUILD_BUG_ON(!__same_type(ops->map_push_elem, in do_misc_fixups() 14263 BUILD_BUG_ON(!__same_type(ops->map_pop_elem, in do_misc_fixups() 14265 BUILD_BUG_ON(!__same_type(ops->map_peek_elem, in do_misc_fixups() 14267 BUILD_BUG_ON(!__same_type(ops->map_redirect, in do_misc_fixups() 14269 BUILD_BUG_ON(!__same_type(ops->map_for_each_callback, in do_misc_fixups() 14274 BUILD_BUG_ON(!__same_type(ops->map_lookup_percpu_elem, in do_misc_fixups()
|
/linux-6.1.9/include/rdma/ |
D | ib_verbs.h | 2287 !__same_type(((struct drv_struct *)NULL)->member, \ 3043 BUILD_BUG_ON_ZERO(!__same_type(u32, \
|
/linux-6.1.9/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 979 BUILD_BUG_ON(!__same_type(srp_cmd->add_data[0], (s8)0) && in srpt_get_desc_buf() 980 !__same_type(srp_cmd->add_data[0], (u8)0)); in srpt_get_desc_buf()
|
/linux-6.1.9/kernel/trace/ |
D | ring_buffer.c | 1175 if (__same_type(*(b), struct ring_buffer_per_cpu)) { \
|