Home
last modified time | relevance | path

Searched refs:BUILD_BUG_ON (Results 676 – 700 of 1232) sorted by relevance

1...<<21222324252627282930>>...50

/openbmc/linux/drivers/pinctrl/bcm/
H A Dpinctrl-bcm2835.c1229 BUILD_BUG_ON(ARRAY_SIZE(bcm2835_gpio_pins) != BCM2711_NUM_GPIOS); in bcm2835_pinctrl_probe()
1230 BUILD_BUG_ON(ARRAY_SIZE(bcm2835_gpio_groups) != BCM2711_NUM_GPIOS); in bcm2835_pinctrl_probe()
/openbmc/linux/crypto/
H A Daf_alg.c161 BUILD_BUG_ON(offsetof(struct sockaddr_alg_new, salg_name) != in alg_bind()
163 BUILD_BUG_ON(offsetof(struct sockaddr_alg, salg_name) != sizeof(*sa)); in alg_bind()
H A Dhctr2.c365 BUILD_BUG_ON(offsetofend(struct hctr2_request_ctx, u) != in hctr2_init_tfm()
/openbmc/linux/arch/powerpc/platforms/ps3/
H A Dmm.c164 BUILD_BUG_ON(CONFIG_PS3_HTAB_SIZE > HTAB_SIZE_MAX); in ps3_mm_vas_create()
165 BUILD_BUG_ON(CONFIG_PS3_HTAB_SIZE < HTAB_SIZE_MIN); in ps3_mm_vas_create()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_ring_submission.c943 BUILD_BUG_ON(HSW_MI_RS_SAVE_STATE_EN != MI_SAVE_EXT_STATE_EN); in switch_context()
944 BUILD_BUG_ON(HSW_MI_RS_RESTORE_STATE_EN != MI_RESTORE_EXT_STATE_EN); in switch_context()
/openbmc/linux/drivers/pci/pcie/
H A Daer.c1315 BUILD_BUG_ON(ARRAY_SIZE(aer_correctable_error_string) < in aer_probe()
1317 BUILD_BUG_ON(ARRAY_SIZE(aer_uncorrectable_error_string) < in aer_probe()
/openbmc/linux/drivers/char/
H A Drandom.c456 BUILD_BUG_ON(PAGE_SIZE % sizeof(block) != 0); in get_random_bytes_user()
1416 BUILD_BUG_ON(PAGE_SIZE % sizeof(block) != 0); in write_pool_user()
/openbmc/linux/arch/mips/kernel/
H A Dptrace.c430 BUILD_BUG_ON(sizeof(u64) != sizeof(elf_fpreg_t)); in fpr_get_msa()
482 BUILD_BUG_ON(sizeof(fpr_val) != sizeof(elf_fpreg_t)); in fpr_set_msa()
/openbmc/linux/kernel/bpf/
H A Dhashtab.c426 BUILD_BUG_ON(offsetof(struct htab_elem, fnode.next) != in htab_map_alloc_check()
721 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_map_gen_lookup()
762 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_lru_map_gen_lookup()
2572 BUILD_BUG_ON(!__same_type(&__htab_map_lookup_elem, in htab_of_map_gen_lookup()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dbase.c2718 BUILD_BUG_ON(TX_PWR_BY_RATE_NUM_RATE < TX_PWR_BY_RATE_NUM_SECTION); in rtl_core_module_init()
2719 BUILD_BUG_ON(MAX_RATE_SECTION_NUM != MAX_RATE_SECTION); in rtl_core_module_init()
2720 BUILD_BUG_ON(MAX_BASE_NUM_IN_PHY_REG_PG_24G != MAX_RATE_SECTION); in rtl_core_module_init()
2721 BUILD_BUG_ON(MAX_BASE_NUM_IN_PHY_REG_PG_5G != (MAX_RATE_SECTION - 1)); in rtl_core_module_init()
/openbmc/linux/arch/x86/kvm/
H A Dhyperv.c1165 BUILD_BUG_ON(sizeof(tsc_seq) != sizeof(hv->tsc_ref.tsc_sequence)); in kvm_hv_setup_tsc_page()
1166 BUILD_BUG_ON(offsetof(struct ms_hyperv_tsc_page, tsc_sequence) != 0); in kvm_hv_setup_tsc_page()
1753 BUILD_BUG_ON(sizeof(vp_bitmap) > in sparse_set_to_vcpu_mask()
1978 BUILD_BUG_ON(KVM_HV_MAX_SPARSE_VCPU_SET_BITS > HV_MAX_SPARSE_VCPU_BANKS); in kvm_hv_flush_tlb()
/openbmc/linux/kernel/
H A Dfork.c3066 BUILD_BUG_ON(offsetofend(struct clone_args, tls) != in copy_clone_args_from_user()
3068 BUILD_BUG_ON(offsetofend(struct clone_args, set_tid_size) != in copy_clone_args_from_user()
3070 BUILD_BUG_ON(offsetofend(struct clone_args, cgroup) != in copy_clone_args_from_user()
3072 BUILD_BUG_ON(sizeof(struct clone_args) != CLONE_ARGS_SIZE_VER2); in copy_clone_args_from_user()
H A Dpid.c651 BUILD_BUG_ON(PID_MAX_LIMIT >= PIDNS_ADDING); in pid_idr_init()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dce.c1881 BUILD_BUG_ON(2 * TARGET_NUM_MSDU_DESC > in ath10k_ce_alloc_pipe()
1883 BUILD_BUG_ON(2 * TARGET_10_4_NUM_MSDU_DESC_PFC > in ath10k_ce_alloc_pipe()
1885 BUILD_BUG_ON(2 * TARGET_TLV_NUM_MSDU_DESC > in ath10k_ce_alloc_pipe()
/openbmc/linux/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-vchiq.c1874 BUILD_BUG_ON(sizeof(struct mmal_msg_header) != 24); in vchiq_mmal_init()
1877 BUILD_BUG_ON(sizeof(struct mmal_msg) > MMAL_MSG_MAX_SIZE); in vchiq_mmal_init()
1880 BUILD_BUG_ON(sizeof(struct mmal_port) != 64); in vchiq_mmal_init()
/openbmc/linux/drivers/net/wireless/ath/ar5523/
H A Dar5523.c810 BUILD_BUG_ON(sizeof(struct ar5523_tx_data) > in ar5523_tx_work_locked()
1475 BUILD_BUG_ON(sizeof(ar->channels) != sizeof(ar5523_channels)); in ar5523_init_modes()
1476 BUILD_BUG_ON(sizeof(ar->rates) != sizeof(ar5523_rates)); in ar5523_init_modes()
/openbmc/linux/drivers/scsi/
H A Dhpsa.c7681 BUILD_BUG_ON(MIN_MAX_COMMANDS <= HPSA_NRESERVED_CMDS); in hpsa_get_max_perf_mode_cmds()
9210 BUILD_BUG_ON(ARRAY_SIZE(bft2) != 16); in hpsa_enter_performant_mode()
9211 BUILD_BUG_ON(ARRAY_SIZE(bft) != 8); in hpsa_enter_performant_mode()
9212 BUILD_BUG_ON(offsetof(struct io_accel2_cmd, sg) > in hpsa_enter_performant_mode()
9214 BUILD_BUG_ON(sizeof(struct ioaccel2_sg_element) != 16); in hpsa_enter_performant_mode()
9215 BUILD_BUG_ON(28 > SG_ENTRIES_IN_CMD + 4); in hpsa_enter_performant_mode()
9327 BUILD_BUG_ON(offsetof(struct io_accel2_cmd, sg) != 64); in hpsa_enter_performant_mode()
9332 BUILD_BUG_ON(offsetof(struct CfgTable, in hpsa_enter_performant_mode()
9379 BUILD_BUG_ON(sizeof(struct io_accel1_cmd) % in hpsa_alloc_ioaccel1_cmd_and_bft()
9432 BUILD_BUG_ON(sizeof(struct io_accel2_cmd) % in hpsa_alloc_ioaccel2_cmd_and_bft()
[all …]
/openbmc/linux/drivers/thermal/intel/int340x_thermal/
H A Dacpi_thermal_rel.c389 BUILD_BUG_ON(sizeof(art_user[i].data) != in fill_art()
/openbmc/linux/drivers/connector/
H A Dcn_proc.c35 BUILD_BUG_ON(sizeof(struct cn_msg) != 20); in buffer_to_cn_msg()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc.h323 BUILD_BUG_ON(sizeof(struct ath9k_htc_tx_ctl) > in HTC_SKB_CB()
/openbmc/linux/sound/pci/mixart/
H A Dmixart_core.c445 BUILD_BUG_ON(sizeof(notify) > sizeof(mixart_msg_data)); in snd_mixart_threaded_irq()
/openbmc/linux/arch/riscv/mm/
H A Dkasan_init.c323 BUILD_BUG_ON(KASAN_SHADOW_OFFSET != in kasan_early_init()
/openbmc/linux/drivers/block/
H A Dps3disk.c395 BUILD_BUG_ON(PS3DISK_MAX_DISKS > BITS_PER_LONG); in ps3disk_probe()
/openbmc/linux/arch/arm64/include/asm/
H A Dinsn.h298 BUILD_BUG_ON(~(mask) & (val)); \
/openbmc/linux/drivers/peci/controller/
H A Dpeci-aspeed.c274 BUILD_BUG_ON(PECI_REQUEST_MAX_BUF_SIZE % 4); in aspeed_peci_xfer()

1...<<21222324252627282930>>...50