Home
last modified time | relevance | path

Searched refs:BUILD_BUG_ON (Results 276 – 300 of 1264) sorted by relevance

1...<<11121314151617181920>>...51

/openbmc/linux/arch/s390/kernel/
H A Dirq.c295 BUILD_BUG_ON(!is_power_of_2(ARRAY_SIZE(ext_int_hash))); in ext_hash()
375 BUILD_BUG_ON(ARRAY_SIZE(irqclass_sub_desc) != NR_ARCH_IRQS); in init_IRQ()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c351 BUILD_BUG_ON(sizeof(encap->encap_hdr) < vxlan4_header_len); in efx_gen_vxlan_header_ipv4()
362 BUILD_BUG_ON(sizeof(encap->encap_hdr) < geneve4_header_len); in efx_gen_geneve_header_ipv4()
373 BUILD_BUG_ON(sizeof(encap->encap_hdr) < vxlan6_header_len); in efx_gen_vxlan_header_ipv6()
383 BUILD_BUG_ON(sizeof(encap->encap_hdr) < geneve6_header_len); in efx_gen_geneve_header_ipv6()
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c183 BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(void *)); \
189 BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(u32)); \
195 BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(u16)); \
205 do { BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(u8)); \
/openbmc/linux/crypto/
H A Dghash-generic.c67 BUILD_BUG_ON(sizeof(k) != GHASH_BLOCK_SIZE); in ghash_setkey()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dsmem.c66 BUILD_BUG_ON(sizeof(fwrt->smem_cfg.internal_txfifo_size) != in iwl_parse_shared_mem()
/openbmc/linux/include/linux/
H A Dgeneric-radix-tree.h104 BUILD_BUG_ON(obj_size > PAGE_SIZE); in __idx_to_offset()
H A Dfilter.h458 BUILD_BUG_ON(__size < 0); \
465 BUILD_BUG_ON(__size < 0); \
544 BUILD_BUG_ON(sizeof_field(TYPE, MEMBER) != (SIZE)); \
683 BUILD_BUG_ON(sizeof(*cb) > sizeof_field(struct sk_buff, cb)); in bpf_compute_data_pointers()
721 BUILD_BUG_ON(sizeof_field(struct __sk_buff, cb) != BPF_SKB_CB_LEN); in bpf_skb_cb()
722 BUILD_BUG_ON(sizeof_field(struct __sk_buff, cb) != in bpf_skb_cb()
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_cmdbuf.c47 BUILD_BUG_ON(ETNAVIV_SOFTPIN_START_ADDRESS < SUBALLOC_SIZE); in etnaviv_cmdbuf_suballoc_new()
/openbmc/linux/sound/pci/hda/
H A Dhda_eld.c137 BUILD_BUG_ON(lowbit > 7); \
138 BUILD_BUG_ON(bits > 8); \
139 BUILD_BUG_ON(bits <= 0); \
/openbmc/linux/fs/xfs/
H A Dxfs_trans_dquot.c579 BUILD_BUG_ON(QUOTA_NL_BHARDWARN != QUOTA_NL_IHARDWARN + 3); in xfs_dqresv_check()
580 BUILD_BUG_ON(QUOTA_NL_BSOFTLONGWARN != QUOTA_NL_ISOFTLONGWARN + 3); in xfs_dqresv_check()
581 BUILD_BUG_ON(QUOTA_NL_BSOFTWARN != QUOTA_NL_ISOFTWARN + 3); in xfs_dqresv_check()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00reg.h207 BUILD_BUG_ON(!(__mask) || \
/openbmc/linux/arch/powerpc/crypto/
H A Dmd5-glue.c26 BUILD_BUG_ON(sizeof(struct md5_state) % 4); in ppc_md5_clear_context()
/openbmc/linux/drivers/nfc/st-nci/
H A Dcore.c132 BUILD_BUG_ON(ARRAY_SIZE(st_nci_prop_ops) > NCI_MAX_PROPRIETARY_CMD); in st_nci_probe()
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dtx.c116 BUILD_BUG_ON(sizeof(txpd->tx_dest_addr) != ETH_ALEN); in lbs_hard_start_xmit()
/openbmc/linux/tools/testing/memblock/tests/
H A Dcommon.c123 BUILD_BUG_ON(ARRAY_SIZE(help_opts) != ARRAY_SIZE(long_opts) - 1); in usage()
/openbmc/linux/arch/sparc/include/asm/
H A Dcmpxchg_64.h203 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
/openbmc/linux/include/net/
H A Dmctp.h212 BUILD_BUG_ON(sizeof(struct mctp_skb_cb) > sizeof(skb->cb)); in mctp_cb()
/openbmc/linux/block/
H A Dblk-crypto-sysfs.c162 BUILD_BUG_ON(BLK_ENCRYPTION_MODE_INVALID != 0); in blk_crypto_sysfs_init()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_ringbuffer.c67 BUILD_BUG_ON(!is_power_of_2(MSM_GPU_RINGBUFFER_SZ)); in msm_ringbuffer_new()
/openbmc/linux/drivers/input/mouse/
H A Delan_i2c_smbus.c120 BUILD_BUG_ON(ETP_CALIBRATE_MAX_LEN > sizeof(buf)); in elan_smbus_calibrate_result()
491 BUILD_BUG_ON(I2C_SMBUS_BLOCK_MAX > ETP_SMBUS_REPORT_LEN); in elan_smbus_get_report()
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dusb.c235 BUILD_BUG_ON(sizeof(dev->in_eps) < __MT_EP_IN_MAX); in mt7601u_assign_pipes()
236 BUILD_BUG_ON(sizeof(dev->out_eps) < __MT_EP_OUT_MAX); in mt7601u_assign_pipes()
/openbmc/linux/kernel/rcu/
H A Drcu_segcblist.c241 BUILD_BUG_ON(RCU_NEXT_TAIL + 1 != ARRAY_SIZE(rsclp->gp_seq)); in rcu_segcblist_init()
242 BUILD_BUG_ON(ARRAY_SIZE(rsclp->tails) != ARRAY_SIZE(rsclp->gp_seq)); in rcu_segcblist_init()
/openbmc/linux/mm/
H A Dhugetlb_vmemmap.c272 BUILD_BUG_ON(NR_RESET_STRUCT_PAGE * 2 > PAGE_SIZE / sizeof(struct page)); in reset_struct_pages()
589 BUILD_BUG_ON(__NR_USED_SUBPAGE * sizeof(struct page) > HUGETLB_VMEMMAP_RESERVE_SIZE); in hugetlb_vmemmap_init()
/openbmc/linux/drivers/power/supply/
H A Dtest_power.c210 BUILD_BUG_ON(TEST_POWER_NUM != ARRAY_SIZE(test_power_supplies)); in test_power_init()
211 BUILD_BUG_ON(TEST_POWER_NUM != ARRAY_SIZE(test_power_configs)); in test_power_init()
/openbmc/linux/io_uring/
H A Dopdef.c664 BUILD_BUG_ON(ARRAY_SIZE(io_cold_defs) != IORING_OP_LAST); in io_uring_optable_init()
665 BUILD_BUG_ON(ARRAY_SIZE(io_issue_defs) != IORING_OP_LAST); in io_uring_optable_init()

1...<<11121314151617181920>>...51