Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dcontainer_of.h21 static_assert(__same_type(*(ptr), ((type *)0)->member) || \
22 __same_type(*(ptr), void), \
H A Dhighmem-internal.h278 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
294 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
H A Dcache_coherency.h53 static_assert(__same_type(struct cache_coherency_ops_inst, \
H A Doverflow.h319 __same_type(n, T))
/linux/scripts/include/
H A Dlist.h10 #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 Dcompiler-gcc.h26 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
/linux/drivers/scsi/ibmvscsi_tgt/
H A Dlibsrp.c386 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/security/landlock/
H A Dsyscalls.c301 BUILD_BUG_ON(!__same_type( in get_path_from_fd()
/linux/kernel/bpf/
H A Dhashtab.c778 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_map_gen_lookup()
819 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_lru_map_gen_lookup()
2419 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_percpu_map_gen_lookup()
2708 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_of_map_gen_lookup()
/linux/drivers/iommu/iommufd/
H A Dmain.c689 BUILD_BUG_ON_ZERO(!__same_type( \
/linux/include/net/libeth/
H A Dxdp.h474 static_assert(__same_type(priv, u64)); \
/linux/drivers/gpu/drm/i915/display/
H A Dintel_display.c5084 BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \ in intel_pipe_config_compare()
5096 BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \ in intel_pipe_config_compare()
5108 BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \ in intel_pipe_config_compare()
5130 BUILD_BUG_ON_MSG(!__same_type(current_config->name, bool), \ in intel_pipe_config_compare()
/linux/kernel/trace/
H A Dring_buffer.c1083 if (__same_type(*(b), struct ring_buffer_per_cpu)) { \