Home
last modified time | relevance | path

Searched refs:BUILD_BUG_ON (Results 1 – 25 of 1264) sorted by relevance

12345678910>>...51

/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dtables.c342 BUILD_BUG_ON(B43_TAB_ROTOR_SIZE != ARRAY_SIZE(b43_tab_rotor)); in assert_sizes()
343 BUILD_BUG_ON(B43_TAB_RETARD_SIZE != ARRAY_SIZE(b43_tab_retard)); in assert_sizes()
346 BUILD_BUG_ON(B43_TAB_NOISEA2_SIZE != ARRAY_SIZE(b43_tab_noisea2)); in assert_sizes()
347 BUILD_BUG_ON(B43_TAB_NOISEA3_SIZE != ARRAY_SIZE(b43_tab_noisea3)); in assert_sizes()
348 BUILD_BUG_ON(B43_TAB_NOISEG1_SIZE != ARRAY_SIZE(b43_tab_noiseg1)); in assert_sizes()
349 BUILD_BUG_ON(B43_TAB_NOISEG2_SIZE != ARRAY_SIZE(b43_tab_noiseg2)); in assert_sizes()
350 BUILD_BUG_ON(B43_TAB_NOISESCALE_SIZE != in assert_sizes()
352 BUILD_BUG_ON(B43_TAB_NOISESCALE_SIZE != in assert_sizes()
354 BUILD_BUG_ON(B43_TAB_NOISESCALE_SIZE != in assert_sizes()
356 BUILD_BUG_ON(B43_TAB_NOISESCALE_SIZE != in assert_sizes()
[all …]
/openbmc/linux/include/linux/
H A Daverage.h34 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \
35 BUILD_BUG_ON(!__builtin_constant_p(_weight_rcp)); \
40 BUILD_BUG_ON((_precision) > 30); \
47 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \
48 BUILD_BUG_ON(!__builtin_constant_p(_weight_rcp)); \
49 BUILD_BUG_ON((_precision) > 30); \
60 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \
61 BUILD_BUG_ON(!__builtin_constant_p(_weight_rcp)); \
62 BUILD_BUG_ON((_precision) > 30); \
/openbmc/linux/tools/testing/cxl/
H A Dconfig_check.c10 BUILD_BUG_ON(!IS_ENABLED(CONFIG_64BIT)); in check()
11 BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_BUS)); in check()
12 BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_ACPI)); in check()
13 BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_PMEM)); in check()
14 BUILD_BUG_ON(!IS_ENABLED(CONFIG_CXL_REGION_INVALIDATION_TEST)); in check()
15 BUILD_BUG_ON(!IS_ENABLED(CONFIG_NVDIMM_SECURITY_TEST)); in check()
16 BUILD_BUG_ON(!IS_ENABLED(CONFIG_DEBUG_FS)); in check()
/openbmc/linux/tools/testing/nvdimm/
H A Dconfig_check.c10 BUILD_BUG_ON(!IS_MODULE(CONFIG_LIBNVDIMM)); in check()
11 BUILD_BUG_ON(!IS_MODULE(CONFIG_BLK_DEV_PMEM)); in check()
12 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_BTT)); in check()
13 BUILD_BUG_ON(!IS_MODULE(CONFIG_ND_PFN)); in check()
15 BUILD_BUG_ON(!IS_MODULE(CONFIG_ACPI_NFIT)); in check()
16 BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX)); in check()
17 BUILD_BUG_ON(!IS_MODULE(CONFIG_DEV_DAX_PMEM)); in check()
/openbmc/linux/arch/powerpc/kernel/ptrace/
H A Dptrace.c347 BUILD_BUG_ON(offsetof(struct pt_regs, gpr) != in pt_regs_check()
349 BUILD_BUG_ON(offsetof(struct pt_regs, nip) != in pt_regs_check()
351 BUILD_BUG_ON(offsetof(struct pt_regs, msr) != in pt_regs_check()
355 BUILD_BUG_ON(offsetof(struct pt_regs, ctr) != in pt_regs_check()
357 BUILD_BUG_ON(offsetof(struct pt_regs, link) != in pt_regs_check()
359 BUILD_BUG_ON(offsetof(struct pt_regs, xer) != in pt_regs_check()
361 BUILD_BUG_ON(offsetof(struct pt_regs, ccr) != in pt_regs_check()
367 BUILD_BUG_ON(offsetof(struct pt_regs, mq) != in pt_regs_check()
370 BUILD_BUG_ON(offsetof(struct pt_regs, trap) != in pt_regs_check()
372 BUILD_BUG_ON(offsetof(struct pt_regs, dar) != in pt_regs_check()
[all …]
/openbmc/linux/fs/erofs/
H A Derofs_fs.h439 BUILD_BUG_ON(sizeof(struct erofs_super_block) != 128); in erofs_check_ondisk_layout_definitions()
440 BUILD_BUG_ON(sizeof(struct erofs_inode_compact) != 32); in erofs_check_ondisk_layout_definitions()
441 BUILD_BUG_ON(sizeof(struct erofs_inode_extended) != 64); in erofs_check_ondisk_layout_definitions()
443 BUILD_BUG_ON(sizeof(struct erofs_xattr_entry) != 4); in erofs_check_ondisk_layout_definitions()
444 BUILD_BUG_ON(sizeof(struct erofs_inode_chunk_info) != 4); in erofs_check_ondisk_layout_definitions()
446 BUILD_BUG_ON(sizeof(struct z_erofs_map_header) != 8); in erofs_check_ondisk_layout_definitions()
448 BUILD_BUG_ON(sizeof(struct erofs_dirent) != 12); in erofs_check_ondisk_layout_definitions()
450 BUILD_BUG_ON(sizeof(struct erofs_inode_chunk_index) != in erofs_check_ondisk_layout_definitions()
452 BUILD_BUG_ON(sizeof(struct erofs_deviceslot) != 128); in erofs_check_ondisk_layout_definitions()
454 BUILD_BUG_ON(BIT(Z_EROFS_LI_LCLUSTER_TYPE_BITS) < in erofs_check_ondisk_layout_definitions()
[all …]
/openbmc/linux/drivers/virtio/
H A Dvirtio_pci_modern_dev.c149 BUILD_BUG_ON(VIRTIO_PCI_CAP_VNDR != in check_offsets()
151 BUILD_BUG_ON(VIRTIO_PCI_CAP_NEXT != in check_offsets()
153 BUILD_BUG_ON(VIRTIO_PCI_CAP_LEN != in check_offsets()
155 BUILD_BUG_ON(VIRTIO_PCI_CAP_CFG_TYPE != in check_offsets()
157 BUILD_BUG_ON(VIRTIO_PCI_CAP_BAR != in check_offsets()
159 BUILD_BUG_ON(VIRTIO_PCI_CAP_OFFSET != in check_offsets()
161 BUILD_BUG_ON(VIRTIO_PCI_CAP_LENGTH != in check_offsets()
169 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DF != in check_offsets()
174 BUILD_BUG_ON(VIRTIO_PCI_COMMON_GF != in check_offsets()
176 BUILD_BUG_ON(VIRTIO_PCI_COMMON_MSIX != in check_offsets()
[all …]
/openbmc/u-boot/include/linux/
H A Dbuild_bug.h13 #define BUILD_BUG_ON(condition) (0) macro
19 BUILD_BUG_ON(((n) & ((n) - 1)) != 0)
21 BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0))
67 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) macro
69 #define BUILD_BUG_ON(condition) \ macro
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dmcdi_port_common.c21 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_IN_LEN != 0); in efx_mcdi_get_phy_cfg()
75 BUILD_BUG_ON(MC_CMD_SET_LINK_OUT_LEN != 0); in efx_mcdi_set_link()
408 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); in efx_mcdi_phy_poll()
441 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); in efx_mcdi_phy_probe()
557 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); in efx_mcdi_phy_get_link_ksettings()
622 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); in efx_mcdi_phy_get_fecparam()
715 BUILD_BUG_ON(MC_CMD_GET_PHY_STATE_IN_LEN != 0); in efx_mcdi_phy_test_alive()
765 BUILD_BUG_ON(MC_CMD_START_BIST_OUT_LEN != 0); in efx_mcdi_bist()
774 BUILD_BUG_ON(MC_CMD_POLL_BIST_IN_LEN != 0); in efx_mcdi_bist()
1101 BUILD_BUG_ON(MC_CMD_SET_MAC_OUT_LEN != 0); in efx_mcdi_set_mac()
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi_port_common.c22 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_IN_LEN != 0); in efx_mcdi_get_phy_cfg()
76 BUILD_BUG_ON(MC_CMD_SET_LINK_OUT_LEN != 0); in efx_mcdi_set_link()
409 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); in efx_siena_mcdi_phy_poll()
442 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); in efx_siena_mcdi_phy_probe()
559 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); in efx_siena_mcdi_phy_get_link_ksettings()
627 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); in efx_siena_mcdi_phy_get_fecparam()
721 BUILD_BUG_ON(MC_CMD_GET_PHY_STATE_IN_LEN != 0); in efx_siena_mcdi_phy_test_alive()
771 BUILD_BUG_ON(MC_CMD_START_BIST_OUT_LEN != 0); in efx_mcdi_bist()
780 BUILD_BUG_ON(MC_CMD_POLL_BIST_IN_LEN != 0); in efx_mcdi_bist()
1107 BUILD_BUG_ON(MC_CMD_SET_MAC_OUT_LEN != 0); in efx_siena_mcdi_set_mac()
[all …]
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_jpeg.c295 BUILD_BUG_ON(ARRAY_SIZE(zigzag) != JPEG_QUANT_SIZE); in jpeg_scale_quant_table()
296 BUILD_BUG_ON(ARRAY_SIZE(hw_reorder) != JPEG_QUANT_SIZE); in jpeg_scale_quant_table()
317 BUILD_BUG_ON(ARRAY_SIZE(luma_q_table) != JPEG_QUANT_SIZE); in jpeg_set_quality()
318 BUILD_BUG_ON(ARRAY_SIZE(chroma_q_table) != JPEG_QUANT_SIZE); in jpeg_set_quality()
319 BUILD_BUG_ON(ARRAY_SIZE(ctx->hw_luma_qtable) != JPEG_QUANT_SIZE); in jpeg_set_quality()
320 BUILD_BUG_ON(ARRAY_SIZE(ctx->hw_chroma_qtable) != JPEG_QUANT_SIZE); in jpeg_set_quality()
/openbmc/linux/net/batman-adv/
H A Dmain.c513 BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6); in batadv_recv_handler_init()
514 BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24); in batadv_recv_handler_init()
515 BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20); in batadv_recv_handler_init()
516 BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20); in batadv_recv_handler_init()
518 BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10); in batadv_recv_handler_init()
520 BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20); in batadv_recv_handler_init()
521 BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14); in batadv_recv_handler_init()
522 BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46); in batadv_recv_handler_init()
524 BUILD_BUG_ON(sizeof(struct batadv_tvlv_hdr) != 4); in batadv_recv_handler_init()
528 BUILD_BUG_ON(sizeof(struct batadv_tvlv_roam_adv) != 8); in batadv_recv_handler_init()
[all …]
/openbmc/linux/arch/m68k/kernel/
H A Dsignal.c584 BUILD_BUG_ON(sizeof(siginfo_t) != 128); in siginfo_build_tests()
587 BUILD_BUG_ON(offsetof(siginfo_t, si_signo) != 0); in siginfo_build_tests()
588 BUILD_BUG_ON(offsetof(siginfo_t, si_errno) != 4); in siginfo_build_tests()
589 BUILD_BUG_ON(offsetof(siginfo_t, si_code) != 8); in siginfo_build_tests()
592 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests()
593 BUILD_BUG_ON(offsetof(siginfo_t, si_uid) != 0x10); in siginfo_build_tests()
601 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests()
602 BUILD_BUG_ON(offsetof(siginfo_t, si_uid) != 0x10); in siginfo_build_tests()
603 BUILD_BUG_ON(offsetof(siginfo_t, si_value) != 0x14); in siginfo_build_tests()
613 BUILD_BUG_ON(offsetof(siginfo_t, si_addr) != 0x0c); in siginfo_build_tests()
[all …]
/openbmc/linux/arch/x86/kvm/
H A Dreverse_cpuid.h105 BUILD_BUG_ON(NR_CPUID_WORDS != NCAPINTS); in reverse_cpuid_check()
106 BUILD_BUG_ON(x86_leaf == CPUID_LNX_1); in reverse_cpuid_check()
107 BUILD_BUG_ON(x86_leaf == CPUID_LNX_2); in reverse_cpuid_check()
108 BUILD_BUG_ON(x86_leaf == CPUID_LNX_3); in reverse_cpuid_check()
109 BUILD_BUG_ON(x86_leaf == CPUID_LNX_4); in reverse_cpuid_check()
110 BUILD_BUG_ON(x86_leaf == CPUID_LNX_5); in reverse_cpuid_check()
111 BUILD_BUG_ON(x86_leaf >= ARRAY_SIZE(reverse_cpuid)); in reverse_cpuid_check()
112 BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0); in reverse_cpuid_check()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma-mdio.c43 BUILD_BUG_ON(BGMAC_PA_DATA_MASK != BCMA_GMAC_CMN_PA_DATA_MASK); in bcma_mdio_phy_read()
44 BUILD_BUG_ON(BGMAC_PA_ADDR_MASK != BCMA_GMAC_CMN_PA_ADDR_MASK); in bcma_mdio_phy_read()
45 BUILD_BUG_ON(BGMAC_PA_ADDR_SHIFT != BCMA_GMAC_CMN_PA_ADDR_SHIFT); in bcma_mdio_phy_read()
46 BUILD_BUG_ON(BGMAC_PA_REG_MASK != BCMA_GMAC_CMN_PA_REG_MASK); in bcma_mdio_phy_read()
47 BUILD_BUG_ON(BGMAC_PA_REG_SHIFT != BCMA_GMAC_CMN_PA_REG_SHIFT); in bcma_mdio_phy_read()
48 BUILD_BUG_ON(BGMAC_PA_WRITE != BCMA_GMAC_CMN_PA_WRITE); in bcma_mdio_phy_read()
49 BUILD_BUG_ON(BGMAC_PA_START != BCMA_GMAC_CMN_PA_START); in bcma_mdio_phy_read()
50 BUILD_BUG_ON(BGMAC_PC_EPA_MASK != BCMA_GMAC_CMN_PC_EPA_MASK); in bcma_mdio_phy_read()
51 BUILD_BUG_ON(BGMAC_PC_MCT_MASK != BCMA_GMAC_CMN_PC_MCT_MASK); in bcma_mdio_phy_read()
52 BUILD_BUG_ON(BGMAC_PC_MCT_SHIFT != BCMA_GMAC_CMN_PC_MCT_SHIFT); in bcma_mdio_phy_read()
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_so.c505 BUILD_BUG_ON(vmw_view_max != 4); in vmw_view_dirtying()
547 BUILD_BUG_ON(SVGA_3D_CMD_DX_DEFINE_RENDERTARGET_VIEW != in vmw_so_build_asserts()
549 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_RENDERTARGET_VIEW != in vmw_so_build_asserts()
551 BUILD_BUG_ON(SVGA_3D_CMD_DX_DEFINE_DEPTHSTENCIL_VIEW != in vmw_so_build_asserts()
553 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_DEPTHSTENCIL_VIEW != in vmw_so_build_asserts()
560 BUILD_BUG_ON(SVGA_COTABLE_MAX_IDS >= ((1 << 20) - 1)); in vmw_so_build_asserts()
566 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts()
568 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts()
570 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts()
572 BUILD_BUG_ON(offsetof(struct vmw_view_define, sid) != in vmw_so_build_asserts()
[all …]
/openbmc/linux/arch/x86/mm/
H A Dcpu_entry_area.c73 BUILD_BUG_ON(sizeof(struct cpu_entry_area) % PAGE_SIZE != 0); in get_cpu_entry_area()
116 BUILD_BUG_ON(sizeof(struct debug_store) % PAGE_SIZE != 0); in percpu_setup_debug_store()
145 BUILD_BUG_ON(sizeof(exception_stacks) % PAGE_SIZE != 0); in percpu_setup_exception_stacks()
222 BUILD_BUG_ON((offsetof(struct tss_struct, x86_tss) ^ in setup_cpu_entry_area()
224 BUILD_BUG_ON(sizeof(struct tss_struct) % PAGE_SIZE != 0); in setup_cpu_entry_area()
230 BUILD_BUG_ON(offsetof(struct tss_struct, x86_tss) != 0); in setup_cpu_entry_area()
231 BUILD_BUG_ON(sizeof(struct x86_hw_tss) != 0x68); in setup_cpu_entry_area()
251 BUILD_BUG_ON((CPU_ENTRY_AREA_PAGES+1)*PAGE_SIZE != CPU_ENTRY_AREA_MAP_SIZE); in setup_cpu_entry_area_ptes()
/openbmc/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c10348 BUILD_BUG_ON(offsetof(struct pqi_iu_header, in pqi_verify_structures()
10350 BUILD_BUG_ON(offsetof(struct pqi_iu_header, in pqi_verify_structures()
10352 BUILD_BUG_ON(offsetof(struct pqi_iu_header, in pqi_verify_structures()
10354 BUILD_BUG_ON(offsetof(struct pqi_iu_header, in pqi_verify_structures()
10590 BUILD_BUG_ON(offsetof(struct pqi_io_response, in pqi_verify_structures()
10592 BUILD_BUG_ON(offsetof(struct pqi_io_response, in pqi_verify_structures()
10594 BUILD_BUG_ON(offsetof(struct pqi_io_response, in pqi_verify_structures()
10667 BUILD_BUG_ON(PQI_NUM_SUPPORTED_EVENTS != in pqi_verify_structures()
10812 BUILD_BUG_ON(PQI_ADMIN_IQ_ELEMENT_LENGTH % in pqi_verify_structures()
10814 BUILD_BUG_ON(PQI_ADMIN_OQ_ELEMENT_LENGTH % in pqi_verify_structures()
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dspec-ctrl.h52 BUILD_BUG_ON(TIF_SSBD < SPEC_CTRL_SSBD_SHIFT); in ssbd_tif_to_spec_ctrl()
58 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT); in stibp_tif_to_spec_ctrl()
64 BUILD_BUG_ON(TIF_SSBD < SPEC_CTRL_SSBD_SHIFT); in ssbd_spec_ctrl_to_tif()
70 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT); in stibp_spec_ctrl_to_tif()
/openbmc/linux/fs/notify/inotify/
H A Dinotify_user.c701 BUILD_BUG_ON(IN_CLOEXEC != O_CLOEXEC); in do_inotify_init()
702 BUILD_BUG_ON(IN_NONBLOCK != O_NONBLOCK); in do_inotify_init()
846 BUILD_BUG_ON(IN_ACCESS != FS_ACCESS); in inotify_user_setup()
847 BUILD_BUG_ON(IN_MODIFY != FS_MODIFY); in inotify_user_setup()
848 BUILD_BUG_ON(IN_ATTRIB != FS_ATTRIB); in inotify_user_setup()
851 BUILD_BUG_ON(IN_OPEN != FS_OPEN); in inotify_user_setup()
853 BUILD_BUG_ON(IN_MOVED_TO != FS_MOVED_TO); in inotify_user_setup()
854 BUILD_BUG_ON(IN_CREATE != FS_CREATE); in inotify_user_setup()
855 BUILD_BUG_ON(IN_DELETE != FS_DELETE); in inotify_user_setup()
858 BUILD_BUG_ON(IN_UNMOUNT != FS_UNMOUNT); in inotify_user_setup()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_vma_types.h140 BUILD_BUG_ON(sizeof(struct intel_rotation_info) != 2 * sizeof(u32) + 8 * sizeof(u16)); in assert_i915_gem_gtt_types()
141 BUILD_BUG_ON(sizeof(struct intel_partial_info) != sizeof(u64) + sizeof(unsigned int)); in assert_i915_gem_gtt_types()
142 BUILD_BUG_ON(sizeof(struct intel_remapped_info) != 5 * sizeof(u32) + 16 * sizeof(u16)); in assert_i915_gem_gtt_types()
145 BUILD_BUG_ON(offsetof(struct intel_remapped_info, plane[0]) != in assert_i915_gem_gtt_types()
147 BUILD_BUG_ON(offsetofend(struct intel_remapped_info, plane[1]) != in assert_i915_gem_gtt_types()
/openbmc/linux/fs/notify/fanotify/
H A Dfanotify.c904 BUILD_BUG_ON(FAN_ACCESS != FS_ACCESS); in fanotify_handle_event()
905 BUILD_BUG_ON(FAN_MODIFY != FS_MODIFY); in fanotify_handle_event()
906 BUILD_BUG_ON(FAN_ATTRIB != FS_ATTRIB); in fanotify_handle_event()
909 BUILD_BUG_ON(FAN_OPEN != FS_OPEN); in fanotify_handle_event()
910 BUILD_BUG_ON(FAN_MOVED_TO != FS_MOVED_TO); in fanotify_handle_event()
912 BUILD_BUG_ON(FAN_CREATE != FS_CREATE); in fanotify_handle_event()
913 BUILD_BUG_ON(FAN_DELETE != FS_DELETE); in fanotify_handle_event()
915 BUILD_BUG_ON(FAN_MOVE_SELF != FS_MOVE_SELF); in fanotify_handle_event()
920 BUILD_BUG_ON(FAN_ONDIR != FS_ISDIR); in fanotify_handle_event()
923 BUILD_BUG_ON(FAN_FS_ERROR != FS_ERROR); in fanotify_handle_event()
[all …]
/openbmc/linux/security/landlock/
H A Dsyscalls.c64 BUILD_BUG_ON(!dst); in copy_min_struct_from_user()
69 BUILD_BUG_ON(ksize <= 0); in copy_min_struct_from_user()
70 BUILD_BUG_ON(ksize < ksize_min); in copy_min_struct_from_user()
97 BUILD_BUG_ON(sizeof(ruleset_attr) != ruleset_size); in build_check_abi()
98 BUILD_BUG_ON(sizeof(ruleset_attr) != 8); in build_check_abi()
102 BUILD_BUG_ON(sizeof(path_beneath_attr) != path_beneath_size); in build_check_abi()
103 BUILD_BUG_ON(sizeof(path_beneath_attr) != 12); in build_check_abi()
261 BUILD_BUG_ON(!__same_type( in get_path_from_fd()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_hw.c750 BUILD_BUG_ON(sizeof(struct prestera_msg_fdb_req) != 28); in prestera_hw_build_tests()
753 BUILD_BUG_ON(sizeof(struct prestera_msg_stp_req) != 16); in prestera_hw_build_tests()
754 BUILD_BUG_ON(sizeof(struct prestera_msg_rxtx_req) != 8); in prestera_hw_build_tests()
755 BUILD_BUG_ON(sizeof(struct prestera_msg_lag_req) != 16); in prestera_hw_build_tests()
765 BUILD_BUG_ON(sizeof(struct prestera_msg_rif_req) != 36); in prestera_hw_build_tests()
766 BUILD_BUG_ON(sizeof(struct prestera_msg_vr_req) != 8); in prestera_hw_build_tests()
767 BUILD_BUG_ON(sizeof(struct prestera_msg_lpm_req) != 36); in prestera_hw_build_tests()
775 BUILD_BUG_ON(sizeof(struct prestera_msg_nh_req) != 124); in prestera_hw_build_tests()
780 BUILD_BUG_ON(sizeof(struct prestera_msg_iface) != 16); in prestera_hw_build_tests()
781 BUILD_BUG_ON(sizeof(struct prestera_msg_ip_addr) != 20); in prestera_hw_build_tests()
[all …]
/openbmc/linux/arch/arc/mm/
H A Dhighmem.c67 BUILD_BUG_ON(PAGE_OFFSET < (VMALLOC_END + FIXMAP_SIZE + PKMAP_SIZE)); in kmap_init()
68 BUILD_BUG_ON(LAST_PKMAP > PTRS_PER_PTE); in kmap_init()
69 BUILD_BUG_ON(FIX_KMAP_SLOTS > PTRS_PER_PTE); in kmap_init()

12345678910>>...51