Searched refs:__same_type (Results 1 – 16 of 16) sorted by relevance
| /linux/include/linux/ |
| H A D | container_of.h | 21 static_assert(__same_type(*(ptr), ((type *)0)->member) || \ 22 __same_type(*(ptr), void), \
|
| H A D | highmem-internal.h | 278 BUILD_BUG_ON(__same_type((__addr), struct page *)); \ 294 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
|
| H A D | cache_coherency.h | 53 static_assert(__same_type(struct cache_coherency_ops_inst, \
|
| H A D | overflow.h | 319 __same_type(n, T))
|
| H A D | compiler_types.h | 610 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro
|
| H A D | syscalls.h | 127 #define __TYPE_AS(t, v) __same_type((__force t)0, v)
|
| /linux/scripts/include/ |
| H A D | list.h | 10 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) macro 21 _Static_assert(__same_type(*(ptr), ((type *)0)->member) || \ 22 __same_type(*(ptr), void), \
|
| /linux/tools/include/linux/ |
| H A D | compiler-gcc.h | 26 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
| /linux/drivers/scsi/ibmvscsi_tgt/ |
| H A D | libsrp.c | 386 BUILD_BUG_ON(!__same_type(srp_cmd->add_data[0], (s8)0) in srp_get_desc_table() 387 && !__same_type(srp_cmd->add_data[0], (u8)0)); in srp_get_desc_table()
|
| /linux/kernel/bpf/ |
| H A D | fixups.c | 2021 BUILD_BUG_ON(!__same_type(ops->map_lookup_elem, in bpf_do_misc_fixups() 2023 BUILD_BUG_ON(!__same_type(ops->map_delete_elem, in bpf_do_misc_fixups() 2025 BUILD_BUG_ON(!__same_type(ops->map_update_elem, in bpf_do_misc_fixups() 2028 BUILD_BUG_ON(!__same_type(ops->map_push_elem, in bpf_do_misc_fixups() 2031 BUILD_BUG_ON(!__same_type(ops->map_pop_elem, in bpf_do_misc_fixups() 2033 BUILD_BUG_ON(!__same_type(ops->map_peek_elem, in bpf_do_misc_fixups() 2035 BUILD_BUG_ON(!__same_type(ops->map_redirect, in bpf_do_misc_fixups() 2037 BUILD_BUG_ON(!__same_type(ops->map_for_each_callback, in bpf_do_misc_fixups() 2042 BUILD_BUG_ON(!__same_type(ops->map_lookup_percpu_elem, in bpf_do_misc_fixups()
|
| H A D | hashtab.c | 781 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_map_gen_lookup() 822 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_lru_map_gen_lookup() 2422 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_percpu_map_gen_lookup() 2711 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_of_map_gen_lookup() 3099 BUILD_BUG_ON(!__same_type(&rhtab_lookup_elem,
|
| /linux/security/landlock/ |
| H A D | syscalls.c | 326 BUILD_BUG_ON(!__same_type( in add_rule_path_beneath()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | main.c | 689 BUILD_BUG_ON_ZERO(!__same_type( \
|
| /linux/include/net/libeth/ |
| H A D | xdp.h | 474 static_assert(__same_type(priv, u64)); \
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_display.c | 5086 BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \ in intel_pipe_config_compare() 5098 BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \ in intel_pipe_config_compare() 5110 BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \ in intel_pipe_config_compare() 5132 BUILD_BUG_ON_MSG(!__same_type(current_config->name, bool), \ in intel_pipe_config_compare()
|
| /linux/kernel/trace/ |
| H A D | ring_buffer.c | 1106 if (__same_type(*(b), struct ring_buffer_per_cpu)) { \ in rb_time_stamp()
|