Searched refs:BUILD_BUG_ON_ZERO (Results 26 - 50 of 54) sorted by relevance
123
/linux-master/lib/ |
H A D | errname.c | 16 #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 D | cpufeature.h | 69 * 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 D | pinctrl-uniphier.h | 170 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \
|
/linux-master/include/trace/ |
H A D | bpf_probe.h | 87 * 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 D | compiler.h | 237 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
H A D | vfio.h | 268 BUILD_BUG_ON_ZERO(offsetof( \
|
H A D | vdpa.h | 472 BUILD_BUG_ON_ZERO(offsetof( \
|
H A D | kvm_host.h | 1848 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 D | fs_core.h | 225 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 D | sh_pfc.h | 54 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 D | uverbs_ioctl.h | 397 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 D | ibta_vol1_c12.h | 36 BUILD_BUG_ON_ZERO((total_len) % 32 != 0)]; \
|
H A D | ib_verbs.h | 2281 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 D | hns_roce_common.h | 65 BUILD_BUG_ON_ZERO((field_h) != (field_l))); \
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_display_device.h | 79 BUILD_BUG_ON_ZERO((from) < IP_VER(2, 0)) + \
|
/linux-master/drivers/iommu/iommufd/ |
H A D | iommufd_private.h | 232 sizeof(*(ptr)) + BUILD_BUG_ON_ZERO( \
|
H A D | main.c | 350 BUILD_BUG_ON_ZERO(sizeof(union ucmd_buffer) < \
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_lrc.c | 94 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 D | parse-options.h | 114 #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 D | intel_lrc.c | 52 #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 D | phy-rockchip-samsung-hdptx.c | 34 BUILD_BUG_ON_ZERO((0x##_n) < (0x##_min)) + \ 35 BUILD_BUG_ON_ZERO((0x##_n) > (0x##_max)) + \
|
/linux-master/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 3691 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 D | farch_regs.h | 2842 (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 D | farch_regs.h | 2842 (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 D | netlink.h | 395 #define __NLA_ENSURE(condition) BUILD_BUG_ON_ZERO(!(condition))
|
Completed in 508 milliseconds
123