Searched refs:BUILD_BUG_ON_ZERO (Results 26 - 50 of 54) sorted by relevance

123

/linux-master/lib/
H A Derrname.c16 #define E(err) [err + BUILD_BUG_ON_ZERO(err <= 0 || err > 300)] = "-" #err
177 #define E(err) [err - 512 + BUILD_BUG_ON_ZERO(err < 512 || err > 550)] = "-" #err
/linux-master/arch/x86/include/asm/
H A Dcpufeature.h69 * following BUILD_BUG_ON_ZERO() check but when NCAPINTS gets changed, all
98 BUILD_BUG_ON_ZERO(NCAPINTS != 22))
124 BUILD_BUG_ON_ZERO(NCAPINTS != 22))
/linux-master/drivers/pinctrl/uniphier/
H A Dpinctrl-uniphier.h170 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \
/linux-master/include/trace/
H A Dbpf_probe.h87 * BUILD_BUG_ON_ZERO() uses a different mechanism that is not \
91 (void)BUILD_BUG_ON_ZERO(size != sizeof(*FIRST(args))); \
/linux-master/include/linux/
H A Dcompiler.h237 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
H A Dvfio.h268 BUILD_BUG_ON_ZERO(offsetof( \
H A Dvdpa.h472 BUILD_BUG_ON_ZERO(offsetof( \
H A Dkvm_host.h1848 BUILD_BUG_ON_ZERO(type & ~KVM_STATS_TYPE_MASK) | \
1849 BUILD_BUG_ON_ZERO(unit & ~KVM_STATS_UNIT_MASK) | \
1850 BUILD_BUG_ON_ZERO(base & ~KVM_STATS_BASE_MASK), \
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.h225 BUILD_BUG_ON_ZERO(MLX5_ST_SZ_BYTES(fte_match_param) != \
371 (BUILD_BUG_ON_ZERO(FS_FT_PORT_SEL != FS_FT_MAX_TYPE))\
/linux-master/drivers/pinctrl/renesas/
H A Dsh_pfc.h54 BUILD_BUG_ON_ZERO(sizeof(_name##_pins) != sizeof(_name##_mux)), \
66 BUILD_BUG_ON_ZERO(first + n > ARRAY_SIZE(data##_pins)) + \
67 BUILD_BUG_ON_ZERO(first + n > ARRAY_SIZE(data##_mux)), \
130 .field_width = f_width + BUILD_BUG_ON_ZERO(r_width % f_width) + \
131 BUILD_BUG_ON_ZERO(sizeof((const u16 []) { ids }) / sizeof(u16) != \
200 BUILD_BUG_ON_ZERO(sizeof((const u16 []) { ids }) / sizeof(u16) != \
/linux-master/include/rdma/
H A Duverbs_ioctl.h397 BUILD_BUG_ON_ZERO(sizeof_field(struct ib_device_ops, \
412 BUILD_BUG_ON_ZERO(sizeof_field(struct ib_device_ops, \
490 BUILD_BUG_ON_ZERO((_min_len) == 0 || \
520 BUILD_BUG_ON_ZERO((_access) != UVERBS_ACCESS_NEW && \
561 sizeof(u64) + BUILD_BUG_ON_ZERO(!sizeof(_enum_type)), \
573 UVERBS_ATTR_SIZE(sizeof(u32) + BUILD_BUG_ON_ZERO( \
H A Dibta_vol1_c12.h36 BUILD_BUG_ON_ZERO((total_len) % 32 != 0)]; \
H A Dib_verbs.h2281 BUILD_BUG_ON_ZERO(offsetof(struct drv_struct, member)) + \
2282 BUILD_BUG_ON_ZERO( \
2845 BUILD_BUG_ON_ZERO(offsetof( \
3042 BUILD_BUG_ON_ZERO(!__same_type(u32, \
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_common.h65 BUILD_BUG_ON_ZERO((field_h) != (field_l))); \
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_display_device.h79 BUILD_BUG_ON_ZERO((from) < IP_VER(2, 0)) + \
/linux-master/drivers/iommu/iommufd/
H A Diommufd_private.h232 sizeof(*(ptr)) + BUILD_BUG_ON_ZERO( \
H A Dmain.c350 BUILD_BUG_ON_ZERO(sizeof(union ucmd_buffer) < \
/linux-master/drivers/gpu/drm/xe/
H A Dxe_lrc.c94 BUILD_BUG_ON_ZERO(count >= BIT(6)))
96 #define REG(x) (((x) >> 2) | BUILD_BUG_ON_ZERO(x >= 0x200))
98 (((x) >> 9) | BIT(7) | BUILD_BUG_ON_ZERO(x >= 0x10000)), \
/linux-master/tools/lib/subcmd/
H A Dparse-options.h114 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + v )
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_lrc.c52 #define LRI(count, flags) ((flags) << 6 | (count) | BUILD_BUG_ON_ZERO(count >= BIT(6)))
54 #define REG(x) (((x) >> 2) | BUILD_BUG_ON_ZERO(x >= 0x200))
56 (((x) >> 9) | BIT(7) | BUILD_BUG_ON_ZERO(x >= 0x10000)), \
/linux-master/drivers/phy/rockchip/
H A Dphy-rockchip-samsung-hdptx.c34 BUILD_BUG_ON_ZERO((0x##_n) < (0x##_min)) + \
35 BUILD_BUG_ON_ZERO((0x##_n) > (0x##_max)) + \
/linux-master/drivers/infiniband/core/
H A Duverbs_cmd.c3691 BUILD_BUG_ON_ZERO(offsetof(req, response) != 0) + \
3692 BUILD_BUG_ON_ZERO(sizeof_field(req, response) != \
3702 BUILD_BUG_ON_ZERO(offsetof(req, driver_data) != \
3704 BUILD_BUG_ON_ZERO(offsetof(resp, driver_data) != \
3710 1 + BUILD_BUG_ON_ZERO(offsetof(req, driver_data) != \
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dfarch_regs.h2842 (BUILD_BUG_ON_ZERO(FR_AA_RX_DESC_UPD_KER != FR_BZ_RX_DESC_UPD_P0) + \
2849 (BUILD_BUG_ON_ZERO(FR_AA_TX_DESC_UPD_KER != FR_BZ_TX_DESC_UPD_P0) + \
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dfarch_regs.h2842 (BUILD_BUG_ON_ZERO(FR_AA_RX_DESC_UPD_KER != FR_BZ_RX_DESC_UPD_P0) + \
2849 (BUILD_BUG_ON_ZERO(FR_AA_TX_DESC_UPD_KER != FR_BZ_TX_DESC_UPD_P0) + \
/linux-master/include/net/
H A Dnetlink.h395 #define __NLA_ENSURE(condition) BUILD_BUG_ON_ZERO(!(condition))

Completed in 508 milliseconds

123