/openbmc/linux/crypto/ |
H A D | polyval-generic.c | 130 BUILD_BUG_ON(sizeof(k) != POLYVAL_BLOCK_SIZE); in polyval_setkey()
|
/openbmc/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | hash.h | 129 BUILD_BUG_ON(NON_LINEAR_REGION_ID(H_VMALLOC_START) != 2); in get_region_id()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | syscall_wrapper.h | 22 BUILD_BUG_ON((sizeof(t) > 4) && !__TYPE_IS_L(t) && \
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | feat_ctl.c | 29 BUILD_BUG_ON(NVMXINTS != NR_VMX_FEATURE_WORDS); in init_vmx_capabilities()
|
/openbmc/linux/net/ipv4/ |
H A D | tcp.c | 2611 BUILD_BUG_ON((int)BPF_TCP_SYN_SENT != (int)TCP_SYN_SENT); in tcp_set_state() 2612 BUILD_BUG_ON((int)BPF_TCP_SYN_RECV != (int)TCP_SYN_RECV); in tcp_set_state() 2613 BUILD_BUG_ON((int)BPF_TCP_FIN_WAIT1 != (int)TCP_FIN_WAIT1); in tcp_set_state() 2614 BUILD_BUG_ON((int)BPF_TCP_FIN_WAIT2 != (int)TCP_FIN_WAIT2); in tcp_set_state() 2615 BUILD_BUG_ON((int)BPF_TCP_TIME_WAIT != (int)TCP_TIME_WAIT); in tcp_set_state() 2616 BUILD_BUG_ON((int)BPF_TCP_CLOSE != (int)TCP_CLOSE); in tcp_set_state() 2618 BUILD_BUG_ON((int)BPF_TCP_LAST_ACK != (int)TCP_LAST_ACK); in tcp_set_state() 2619 BUILD_BUG_ON((int)BPF_TCP_LISTEN != (int)TCP_LISTEN); in tcp_set_state() 2620 BUILD_BUG_ON((int)BPF_TCP_CLOSING != (int)TCP_CLOSING); in tcp_set_state() 4657 BUILD_BUG_ON(TCP_MIN_SND_MSS <= MAX_TCP_OPTION_SPACE); in tcp_init() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | sar.c | 145 BUILD_BUG_ON(!rtw89_sar_handlers[_s].descr_sar_source); \ 146 BUILD_BUG_ON(!rtw89_sar_handlers[_s].query_sar_config); \
|
/openbmc/linux/lib/ |
H A D | test-string_helpers.c | 479 BUILD_BUG_ON(sizeof(exp_result10) >= string_get_size_maxbuf); \ 480 BUILD_BUG_ON(sizeof(exp_result2) >= string_get_size_maxbuf); \
|
H A D | memcpy_kunit.c | 32 BUILD_BUG_ON(sizeof(instance.data) != 32); \ 41 BUILD_BUG_ON(sizeof(one) != sizeof(two)); \
|
/openbmc/linux/arch/arc/mm/ |
H A D | tlb.c | 630 BUILD_BUG_ON(!IS_ALIGNED((CONFIG_ARC_KVADDR_SIZE << 20), PMD_SIZE)); in arc_mmu_init() 636 BUILD_BUG_ON(!IS_ALIGNED(STACK_TOP, PMD_SIZE)); in arc_mmu_init()
|
/openbmc/linux/net/mac80211/ |
H A D | link.c | 216 BUILD_BUG_ON(sizeof(old) != sizeof(sdata->vif.link_conf)); in ieee80211_vif_update_links() 219 BUILD_BUG_ON(sizeof(old_data) != sizeof(sdata->link)); in ieee80211_vif_update_links()
|
/openbmc/linux/drivers/xen/ |
H A D | balloon.c | 290 BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); in reserve_additional_memory() 619 BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); in xen_alloc_ballooned_pages()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | pgtable.c | 467 BUILD_BUG_ON(H_16M_CACHE_INDEX <= 0); in pgtable_free() 472 BUILD_BUG_ON(H_16G_CACHE_INDEX <= 0); in pgtable_free()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | uaccess.h | 201 BUILD_BUG_ON(size > sizeof(x)); \ 262 BUILD_BUG_ON(size > sizeof(x)); \
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_edid.c | 1617 BUILD_BUG_ON(sizeof(*edid) != EDID_LENGTH); in edid_block_data() 3015 BUILD_BUG_ON(offsetof(typeof(*descriptor), pixel_clock) != 0); in is_display_descriptor() 3016 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.pad1) != 2); in is_display_descriptor() 3017 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.type) != 3); in is_display_descriptor() 3026 BUILD_BUG_ON(offsetof(typeof(*descriptor), pixel_clock) != 0); in is_detailed_timing_descriptor() 3098 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10); in is_rb() 3128 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10); in find_gtf2() 3203 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10); in get_timing_level() 4171 BUILD_BUG_ON(1 + ARRAY_SIZE(edid_cea_modes_1) - 1 != 127); in cea_mode_for_vic() 4172 BUILD_BUG_ON(193 + ARRAY_SIZE(edid_cea_modes_193) - 1 != 219); in cea_mode_for_vic() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ef10_sriov.c | 751 BUILD_BUG_ON(IFLA_VF_LINK_STATE_AUTO != in efx_ef10_sriov_set_vf_link_state() 753 BUILD_BUG_ON(IFLA_VF_LINK_STATE_ENABLE != in efx_ef10_sriov_set_vf_link_state() 755 BUILD_BUG_ON(IFLA_VF_LINK_STATE_DISABLE != in efx_ef10_sriov_set_vf_link_state()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-dln2.c | 430 BUILD_BUG_ON(sizeof(*tx) > DLN2_SPI_BUF_SIZE); in dln2_spi_write_one() 463 BUILD_BUG_ON(sizeof(*rx) > DLN2_SPI_BUF_SIZE); in dln2_spi_read_one() 505 BUILD_BUG_ON(sizeof(*tx) > DLN2_SPI_BUF_SIZE || in dln2_spi_read_write_one()
|
/openbmc/linux/net/core/ |
H A D | gro.c | 244 BUILD_BUG_ON(sizeof(struct napi_gro_cb) > sizeof(skb->cb)); in napi_gro_complete() 466 BUILD_BUG_ON(sizeof_field(struct napi_gro_cb, zeroed) != sizeof(u32)); in dev_gro_receive() 467 BUILD_BUG_ON(!IS_ALIGNED(offsetof(struct napi_gro_cb, zeroed), in dev_gro_receive()
|
H A D | flow_dissector.c | 983 BUILD_BUG_ON((int)BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG != in bpf_flow_dissect() 985 BUILD_BUG_ON((int)BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL != in bpf_flow_dissect() 987 BUILD_BUG_ON((int)BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP != in bpf_flow_dissect() 1676 BUILD_BUG_ON(FLOW_KEYS_HASH_OFFSET % SIPHASH_ALIGNMENT); in flow_keys_hash_start() 1684 BUILD_BUG_ON((sizeof(*flow) - FLOW_KEYS_HASH_OFFSET) % sizeof(u32)); in flow_keys_hash_length() 1812 BUILD_BUG_ON(sizeof(*data) > sizeof(*digest)); in make_flow_keys_digest()
|
/openbmc/linux/block/ |
H A D | blk-core.c | 1197 BUILD_BUG_ON((__force u32)REQ_OP_LAST >= (1 << REQ_OP_BITS)); in blk_dev_init() 1198 BUILD_BUG_ON(REQ_OP_BITS + REQ_FLAG_BITS > 8 * in blk_dev_init() 1200 BUILD_BUG_ON(REQ_OP_BITS + REQ_FLAG_BITS > 8 * in blk_dev_init()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rx.c | 1035 BUILD_BUG_ON(ARRAY_SIZE(notif->ra_tid) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 1036 BUILD_BUG_ON(ARRAY_SIZE(notif->mpdu_rx_count) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 1037 BUILD_BUG_ON(ARRAY_SIZE(notif->bitmap) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 1038 BUILD_BUG_ON(ARRAY_SIZE(notif->start_seq_num) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif()
|
/openbmc/linux/fs/overlayfs/ |
H A D | copy_up.c | 222 BUILD_BUG_ON(OVL_COPY_FS_FLAGS_MASK & ~FS_COMMON_FL); in ovl_copy_fileattr() 226 BUILD_BUG_ON(OVL_COPY_FSX_FLAGS_MASK & ~FS_XFLAG_COMMON); in ovl_copy_fileattr() 384 BUILD_BUG_ON(OVL_FH_FID_OFFSET % 4); in ovl_encode_real_fh() 385 BUILD_BUG_ON(MAX_HANDLE_SZ + OVL_FH_FID_OFFSET > 255); in ovl_encode_real_fh()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | ptrace.c | 66 BUILD_BUG_ON((int)REGSET32_GENERAL != (int)REGSET64_GENERAL); \ 72 BUILD_BUG_ON((int)REGSET32_FP != (int)REGSET64_FP); \ 179 BUILD_BUG_ON(offsetof(struct pt_regs, bx) != 0); in pt_regs_access() 245 BUILD_BUG_ON(offsetof(struct pt_regs, r15) != 0); in pt_regs_access()
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp64.c | 363 BUILD_BUG_ON(sizeof(bpfa.map.max_entries) != 4); in emit_bpf_tail_call() 387 BUILD_BUG_ON(sizeof(bpfa.ptrs[0]) != 8); in emit_bpf_tail_call() 390 BUILD_BUG_ON(off < 16); in emit_bpf_tail_call() 400 BUILD_BUG_ON(off < 16); in emit_bpf_tail_call() 401 BUILD_BUG_ON(sizeof(bpfp.bpf_func) != 8); in emit_bpf_tail_call()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | cpuid.c | 69 BUILD_BUG_ON(X86_FEATURE_##name >= MAX_CPU_FEATURES); \ 330 BUILD_BUG_ON(KVM_NR_GOVERNED_FEATURES > KVM_MAX_NR_GOVERNED_FEATURES); in kvm_vcpu_after_set_cpuid() 560 BUILD_BUG_ON(leaf < NCAPINTS); in kvm_cpu_cap_init_kvm_defined() 570 BUILD_BUG_ON(leaf >= NCAPINTS); in kvm_cpu_cap_mask() 590 BUILD_BUG_ON(sizeof(kvm_cpu_caps) - (NKVMCAPINTS * sizeof(*kvm_cpu_caps)) > in kvm_set_cpu_caps()
|
/openbmc/linux/drivers/block/rnbd/ |
H A D | rnbd-clt.c | 1809 BUILD_BUG_ON(sizeof(struct rnbd_msg_hdr) != 4); in rnbd_client_init() 1810 BUILD_BUG_ON(sizeof(struct rnbd_msg_sess_info) != 36); in rnbd_client_init() 1811 BUILD_BUG_ON(sizeof(struct rnbd_msg_sess_info_rsp) != 36); in rnbd_client_init() 1812 BUILD_BUG_ON(sizeof(struct rnbd_msg_open) != 264); in rnbd_client_init() 1813 BUILD_BUG_ON(sizeof(struct rnbd_msg_close) != 8); in rnbd_client_init() 1814 BUILD_BUG_ON(sizeof(struct rnbd_msg_open_rsp) != 56); in rnbd_client_init()
|