Home
last modified time | relevance | path

Searched refs:BUILD_BUG_ON (Results 201 – 225 of 1264) sorted by relevance

12345678910>>...51

/openbmc/linux/drivers/nvme/host/
H A Dcore.c4665 BUILD_BUG_ON(sizeof(struct nvme_rw_command) != 64); in _nvme_check_size()
4666 BUILD_BUG_ON(sizeof(struct nvme_identify) != 64); in _nvme_check_size()
4667 BUILD_BUG_ON(sizeof(struct nvme_features) != 64); in _nvme_check_size()
4669 BUILD_BUG_ON(sizeof(struct nvme_format_cmd) != 64); in _nvme_check_size()
4670 BUILD_BUG_ON(sizeof(struct nvme_dsm_cmd) != 64); in _nvme_check_size()
4672 BUILD_BUG_ON(sizeof(struct nvme_abort_cmd) != 64); in _nvme_check_size()
4674 BUILD_BUG_ON(sizeof(struct nvme_command) != 64); in _nvme_check_size()
4677 BUILD_BUG_ON(sizeof(struct nvme_id_ns_cs_indep) != in _nvme_check_size()
4684 BUILD_BUG_ON(sizeof(struct nvme_smart_log) != 512); in _nvme_check_size()
4685 BUILD_BUG_ON(sizeof(struct nvme_dbbuf) != 64); in _nvme_check_size()
[all …]
/openbmc/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dfirmware.c246 BUILD_BUG_ON(ETH_ALEN > PLF_SERIAL_LEN); in plfxlc_upload_mac_and_serial()
247 BUILD_BUG_ON(PLF_FW_VER_LEN > PLF_SERIAL_LEN); in plfxlc_upload_mac_and_serial()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dquota.c43 BUILD_BUG_ON(NUM_PHY_CTX > MAX_BINDINGS); in iwl_mvm_quota_iterator()
154 BUILD_BUG_ON(MAX_BINDINGS != 4); in iwl_mvm_update_quotas()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Def10.c114 BUILD_BUG_ON(MC_CMD_GET_CAPABILITIES_IN_LEN != 0); in efx_ef10_init_datapath_caps()
331 BUILD_BUG_ON(MC_CMD_GET_MAC_ADDRESSES_IN_LEN != 0); in efx_ef10_get_mac_address_pf()
536 BUILD_BUG_ON(MCDI_CTL_SDU_LEN_MAX_V2 % 4); in efx_ef10_probe()
722 BUILD_BUG_ON(MC_CMD_FREE_PIOBUF_OUT_LEN != 0); in efx_ef10_free_piobufs()
743 BUILD_BUG_ON(MC_CMD_ALLOC_PIOBUF_IN_LEN != 0); in efx_ef10_alloc_piobufs()
783 BUILD_BUG_ON(MC_CMD_LINK_PIOBUF_OUT_LEN != 0); in efx_ef10_link_piobufs()
784 BUILD_BUG_ON(MC_CMD_UNLINK_PIOBUF_OUT_LEN != 0); in efx_ef10_link_piobufs()
2474 BUILD_BUG_ON(EFX_TX_BUF_CONT != 1); in efx_ef10_tx_write()
3177 BUILD_BUG_ON(EFX_MIN_EVQ_SIZE < in efx_ef10_ev_read_ack()
3179 BUILD_BUG_ON(EFX_MAX_EVQ_SIZE > in efx_ef10_ev_read_ack()
[all …]
/openbmc/linux/lib/fonts/
H A Dfonts.c86 BUILD_BUG_ON(!num_fonts); in find_font()
/openbmc/linux/include/linux/mlx5/
H A Ddevice.h76 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \
84 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 32); \
89 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \
107 BUILD_BUG_ON(__mlx5_bit_sz(typ, fld) != 64); \
112 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
117 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
135 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 16); \
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_drv.h474 BUILD_BUG_ON(INTEL_MAX_PLATFORMS > in __platform_mask_index()
505 BUILD_BUG_ON(!__builtin_constant_p(p)); in IS_PLATFORM()
520 BUILD_BUG_ON(!__builtin_constant_p(p)); in IS_SUBPLATFORM()
521 BUILD_BUG_ON(!__builtin_constant_p(s)); in IS_SUBPLATFORM()
522 BUILD_BUG_ON((s) >= INTEL_SUBPLATFORM_BITS); in IS_SUBPLATFORM()
H A Di915_mitigations.c37 BUILD_BUG_ON(ARRAY_SIZE(names) >= BITS_PER_TYPE(mitigations)); in mitigations_set()
/openbmc/linux/net/ieee802154/6lowpan/
H A Dreassembly.c40 BUILD_BUG_ON(sizeof(*key) > sizeof(q->key)); in lowpan_frag_init()
94 BUILD_BUG_ON(sizeof(struct lowpan_802154_cb) > sizeof(struct inet_skb_parm)); in lowpan_frag_queue()
95 BUILD_BUG_ON(sizeof(struct lowpan_802154_cb) > sizeof(struct inet6_skb_parm)); in lowpan_frag_queue()
/openbmc/linux/include/linux/
H A Dvirtio_config.h141 BUILD_BUG_ON(fbit >= 64); in __virtio_test_bit()
158 BUILD_BUG_ON(fbit >= 64); in __virtio_set_bit()
175 BUILD_BUG_ON(fbit >= 64); in __virtio_clear_bit()
H A Dstring.h322 BUILD_BUG_ON(!__builtin_constant_p(_dest_len) || \
345 BUILD_BUG_ON(!__builtin_constant_p(_dest_len) || \
/openbmc/linux/tools/testing/selftests/openat2/
H A Dhelpers.h18 #define BUILD_BUG_ON(e) ((void)(sizeof(struct { int:(-!!(e)); }))) macro
H A Dhelpers.c101 BUILD_BUG_ON(sizeof(struct open_how) != OPEN_HOW_SIZE_VER0); in init()
/openbmc/linux/arch/arm/crypto/
H A Dsha256_glue.c34 BUILD_BUG_ON(offsetof(struct sha256_state, state) != 0); in crypto_sha256_arm_update()
/openbmc/linux/net/dsa/
H A Dtag_rzn1_a5psw.c46 BUILD_BUG_ON(sizeof(*ptag) != A5PSW_TAG_LEN); in a5psw_tag_xmit()
/openbmc/linux/arch/mips/sgi-ip32/
H A Dip32-irq.c363 BUILD_BUG_ON(CRIME_VICE_IRQ - MACE_VID_IN1_IRQ != 31); in ip32_irq0()
364 BUILD_BUG_ON(MACEISA_SERIAL2_RDMAOR_IRQ - MACEISA_AUDIO_SW_IRQ != 31); in ip32_irq0()
/openbmc/linux/security/loadpin/
H A Dloadpin.c227 BUILD_BUG_ON(ARRAY_SIZE(exclude_read_files) != in parse_exclude()
229 BUILD_BUG_ON(ARRAY_SIZE(kernel_read_file_str) < in parse_exclude()
/openbmc/linux/arch/arm64/mm/
H A Dinit.c509 BUILD_BUG_ON(TASK_SIZE_32 > DEFAULT_MAP_WINDOW_64); in mem_init()
516 BUILD_BUG_ON(ARM64_HW_PGTABLE_LEVELS(CONFIG_ARM64_VA_BITS) != in mem_init()
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-pri.h337 BUILD_BUG_ON(MAX_IMM_PAYL_BITS + MAX_IMM_TYPE_BITS != 32); in rtrs_to_imm()
338 BUILD_BUG_ON(RTRS_LAST_IMM > (1<<MAX_IMM_TYPE_BITS)); in rtrs_to_imm()
/openbmc/linux/include/net/
H A Dgarp.h41 BUILD_BUG_ON(sizeof(struct garp_skb_cb) > in garp_cb()
/openbmc/linux/arch/x86/crypto/
H A Dsm3_avx_glue.c38 BUILD_BUG_ON(offsetof(struct sm3_state, state) != 0); in sm3_avx_update()
/openbmc/linux/arch/x86/kvm/svm/
H A Dsvm_onhyperv.h32 BUILD_BUG_ON(sizeof(vmcb->control.hv_enlightenments) != in svm_hv_init_vmcb()
/openbmc/linux/drivers/soc/qcom/
H A Dicc-bwmon.c715 BUILD_BUG_ON(ARRAY_SIZE(msm8998_bwmon_global_reg_fields) != F_NUM_GLOBAL_FIELDS); in bwmon_init_regmap()
716 BUILD_BUG_ON(ARRAY_SIZE(msm8998_bwmon_reg_fields) != F_NUM_FIELDS); in bwmon_init_regmap()
717 BUILD_BUG_ON(ARRAY_SIZE(sdm845_cpu_bwmon_reg_fields) != F_NUM_FIELDS); in bwmon_init_regmap()
718 BUILD_BUG_ON(ARRAY_SIZE(sdm845_llcc_bwmon_reg_fields) != F_NUM_FIELDS); in bwmon_init_regmap()
/openbmc/linux/arch/powerpc/include/asm/
H A Dicswx.h191 BUILD_BUG_ON(sizeof(*crb) != 128); in icswx()
/openbmc/linux/net/ipv4/
H A Dtcp_highspeed.c172 BUILD_BUG_ON(sizeof(struct hstcp) > ICSK_CA_PRIV_SIZE); in hstcp_register()

12345678910>>...51