Searched refs:BUILD_BUG_ON (Results 1 - 25 of 82) sorted by relevance

1234

/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dbuild_bug.h41 * BUILD_BUG_ON() can happen inside functions where _Static_assert() does not
56 #define BUILD_BUG_ON(x) do { _O_CTASSERT(!(x)) } while (0) macro
57 #define BUILD_BUG_ON_MSG(x, msg) BUILD_BUG_ON(x)
58 #define BUILD_BUG_ON_NOT_POWER_OF_2(x) BUILD_BUG_ON(!powerof2(x))
/freebsd-current/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-xdr.c264 BUILD_BUG_ON(sizeof (char) != 1);
275 BUILD_BUG_ON(sizeof (char) != 1);
296 BUILD_BUG_ON(sizeof (unsigned short) != 2);
306 BUILD_BUG_ON(sizeof (unsigned short) != 2);
326 BUILD_BUG_ON(sizeof (unsigned) != 4);
334 BUILD_BUG_ON(sizeof (unsigned) != 4);
342 BUILD_BUG_ON(sizeof (u_longlong_t) != 8);
355 BUILD_BUG_ON(sizeof (u_longlong_t) != 8);
410 BUILD_BUG_ON(sizeof (uint_t) > sizeof (size_t));
467 BUILD_BUG_ON(sizeo
[all...]
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/rpc/
H A Dxdr.h98 BUILD_BUG_ON(sizeof (short) != 2);
109 BUILD_BUG_ON(sizeof (int) != 4);
120 BUILD_BUG_ON(sizeof (longlong_t) != 8);
/freebsd-current/sys/contrib/dev/iwlwifi/fw/
H A Dinit.c76 BUILD_BUG_ON(IWL_CFG_TRANS_LTR_DELAY_NONE !=
78 BUILD_BUG_ON(IWL_CFG_TRANS_LTR_DELAY_200US !=
80 BUILD_BUG_ON(IWL_CFG_TRANS_LTR_DELAY_2500US !=
82 BUILD_BUG_ON(IWL_CFG_TRANS_LTR_DELAY_1820US !=
H A Ddbg.h71 BUILD_BUG_ON(!__builtin_constant_p(id)); \
72 BUILD_BUG_ON((id) >= FW_DBG_TRIGGER_MAX); \
151 BUILD_BUG_ON(!__builtin_constant_p(id)); \
152 BUILD_BUG_ON((id) >= FW_DBG_TRIGGER_MAX); \
H A Dsmem.c66 BUILD_BUG_ON(sizeof(fwrt->smem_cfg.internal_txfifo_size) !=
H A Dpaging.c51 BUILD_BUG_ON(BIT(BLOCK_2_EXP_SIZE) != PAGING_BLOCK_SIZE);
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/
H A Dphy-ctxt.c180 BUILD_BUG_ON(IWL_RLC_CHAIN_INFO_DRIVER_FORCE !=
182 BUILD_BUG_ON(IWL_RLC_CHAIN_INFO_VALID !=
184 BUILD_BUG_ON(IWL_RLC_CHAIN_INFO_FORCE !=
186 BUILD_BUG_ON(IWL_RLC_CHAIN_INFO_FORCE_MIMO !=
188 BUILD_BUG_ON(IWL_RLC_CHAIN_INFO_COUNT != PHY_RX_CHAIN_CNT_MSK);
189 BUILD_BUG_ON(IWL_RLC_CHAIN_INFO_MIMO_COUNT !=
H A Dsf.c159 BUILD_BUG_ON(sizeof(sf_full_timeout) !=
166 BUILD_BUG_ON(sizeof(sf_full_timeout_def) !=
H A Doffloading.c126 BUILD_BUG_ON(sizeof(cmd.v2.target_ipv6_addr[0]) !=
147 BUILD_BUG_ON(sizeof(cmd.v1.target_ipv6_addr[0]) !=
H A Dquota.c43 BUILD_BUG_ON(NUM_PHY_CTX > MAX_BINDINGS);
154 BUILD_BUG_ON(MAX_BINDINGS != 4);
H A Dd3.c1660 BUILD_BUG_ON(IWL_MAX_TID_COUNT > IWL_MAX_TID_COUNT);
1661 BUILD_BUG_ON(IWL_MAX_TID_COUNT > IWL_NUM_RSC);
1711 BUILD_BUG_ON(IWL_MAX_TID_COUNT > IWL_MAX_TID_COUNT);
1712 BUILD_BUG_ON(IWL_MAX_TID_COUNT > IWL_NUM_RSC);
1713 BUILD_BUG_ON(ARRAY_SIZE(sc->mcast_rsc) != ARRAY_SIZE(status->gtk_seq));
1844 BUILD_BUG_ON(sizeof(seq->aes_gmac.pn) != sizeof(key->ipn));
1848 BUILD_BUG_ON(sizeof(seq->aes_cmac.pn) != sizeof(key->ipn));
1934 BUILD_BUG_ON(WLAN_KEY_LEN_CCMP != WLAN_KEY_LEN_GCMP);
1935 BUILD_BUG_ON(sizeof(conf.key) < WLAN_KEY_LEN_CCMP);
1936 BUILD_BUG_ON(sizeo
[all...]
H A Drx.c1048 BUILD_BUG_ON(ARRAY_SIZE(notif->ra_tid) != BA_WINDOW_STREAMS_MAX);
1049 BUILD_BUG_ON(ARRAY_SIZE(notif->mpdu_rx_count) != BA_WINDOW_STREAMS_MAX);
1050 BUILD_BUG_ON(ARRAY_SIZE(notif->bitmap) != BA_WINDOW_STREAMS_MAX);
1051 BUILD_BUG_ON(ARRAY_SIZE(notif->start_seq_num) != BA_WINDOW_STREAMS_MAX);
H A Dtt.c695 BUILD_BUG_ON(ARRAY_SIZE(name) >= THERMAL_NAME_LENGTH);
786 BUILD_BUG_ON(ARRAY_SIZE(name) >= THERMAL_NAME_LENGTH);
/freebsd-current/sys/contrib/dev/rtw88/
H A Dusb.h91 BUILD_BUG_ON(sizeof(struct rtw_usb_tx_data) >
H A Dpci.h263 BUILD_BUG_ON(sizeof(struct rtw_pci_tx_data) >
H A Drtw8822b.h116 BUILD_BUG_ON((addr) < 0xC00 || (addr) >= 0xD00); \
/freebsd-current/sys/dev/mlx5/
H A Ddevice.h72 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \
73 BUILD_BUG_ON(__mlx5_bit_sz(typ, fld) > 32); \
81 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \
82 BUILD_BUG_ON(__mlx5_bit_sz(typ, fld) > 32); \
100 BUILD_BUG_ON(__mlx5_bit_sz(typ, fld) != 64); \
105 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
110 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
122 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 16); \
160 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \
161 BUILD_BUG_ON(__mlx5_bit_s
[all...]
/freebsd-current/sys/dev/qat/qat_common/
H A Dadf_pfvf_vf_msg.c63 BUILD_BUG_ON(ADF_PFVF_COMPAT_THIS_VERSION > 255);
/freebsd-current/sys/contrib/dev/rtw89/
H A Dsar.c140 BUILD_BUG_ON(!rtw89_sar_handlers[_s].descr_sar_source); \
141 BUILD_BUG_ON(!rtw89_sar_handlers[_s].query_sar_config); \
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dkmem.h118 BUILD_BUG_ON(SPL_FSTRANS == 0);
/freebsd-current/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_std_types_flow_action.c150 BUILD_BUG_ON(offsetof(struct ib_uverbs_flow_ipv4_filter, flags) +
152 BUILD_BUG_ON(offsetof(struct ib_uverbs_flow_ipv6_filter, reserved) +
/freebsd-current/sys/contrib/dev/iwlwifi/pcie/
H A Dtx-gen2.c237 BUILD_BUG_ON(IWL_TFH_NUM_TBS > sizeof(out_meta->tbs) * BITS_PER_BYTE);
/freebsd-current/sys/contrib/dev/athk/ath10k/
H A Dhtt_tx.c832 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4));
833 BUILD_BUG_ON((HTT_RX_BUF_SIZE & HTT_MAX_CACHE_LINE_SIZE_MASK) != 0);
904 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4));
905 BUILD_BUG_ON((HTT_RX_BUF_SIZE & HTT_MAX_CACHE_LINE_SIZE_MASK) != 0);
973 BUILD_BUG_ON(!IS_ALIGNED(HTT_RX_BUF_SIZE, 4));
974 BUILD_BUG_ON((HTT_RX_BUF_SIZE & HTT_MAX_CACHE_LINE_SIZE_MASK) != 0);
/freebsd-current/sys/contrib/dev/athk/ath12k/
H A Dcore.h839 BUILD_BUG_ON(sizeof(struct ath12k_skb_cb) >
846 BUILD_BUG_ON(sizeof(struct ath12k_skb_rxcb) > sizeof(skb->cb));

Completed in 260 milliseconds

1234