/linux-6.12.1/drivers/net/wireless/broadcom/b43/ |
D | tables.c | 342 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() 344 BUILD_BUG_ON(B43_TAB_FINEFREQA_SIZE != ARRAY_SIZE(b43_tab_finefreqa)); in assert_sizes() 345 BUILD_BUG_ON(B43_TAB_FINEFREQG_SIZE != ARRAY_SIZE(b43_tab_finefreqg)); 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() [all …]
|
/linux-6.12.1/include/linux/ |
D | average.h | 34 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); \
|
/linux-6.12.1/tools/testing/cxl/ |
D | config_check.c | 10 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()
|
/linux-6.12.1/arch/powerpc/kernel/ptrace/ |
D | ptrace.c | 344 BUILD_BUG_ON(offsetof(struct pt_regs, gpr) != in pt_regs_check() 346 BUILD_BUG_ON(offsetof(struct pt_regs, nip) != in pt_regs_check() 348 BUILD_BUG_ON(offsetof(struct pt_regs, msr) != in pt_regs_check() 350 BUILD_BUG_ON(offsetof(struct pt_regs, orig_gpr3) != in pt_regs_check() 352 BUILD_BUG_ON(offsetof(struct pt_regs, ctr) != in pt_regs_check() 354 BUILD_BUG_ON(offsetof(struct pt_regs, link) != in pt_regs_check() 356 BUILD_BUG_ON(offsetof(struct pt_regs, xer) != in pt_regs_check() 358 BUILD_BUG_ON(offsetof(struct pt_regs, ccr) != in pt_regs_check() 361 BUILD_BUG_ON(offsetof(struct pt_regs, softe) != in pt_regs_check() 364 BUILD_BUG_ON(offsetof(struct pt_regs, mq) != in pt_regs_check() [all …]
|
/linux-6.12.1/tools/testing/nvdimm/ |
D | config_check.c | 10 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()
|
/linux-6.12.1/drivers/virtio/ |
D | virtio_pci_modern_dev.c | 149 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() 163 BUILD_BUG_ON(VIRTIO_PCI_NOTIFY_CAP_MULT != in check_offsets() 166 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DFSELECT != in check_offsets() 169 BUILD_BUG_ON(VIRTIO_PCI_COMMON_DF != in check_offsets() [all …]
|
/linux-6.12.1/fs/erofs/ |
D | erofs_fs.h | 451 BUILD_BUG_ON(sizeof(struct erofs_super_block) != 128); in erofs_check_ondisk_layout_definitions() 452 BUILD_BUG_ON(sizeof(struct erofs_inode_compact) != 32); in erofs_check_ondisk_layout_definitions() 453 BUILD_BUG_ON(sizeof(struct erofs_inode_extended) != 64); in erofs_check_ondisk_layout_definitions() 454 BUILD_BUG_ON(sizeof(struct erofs_xattr_ibody_header) != 12); in erofs_check_ondisk_layout_definitions() 455 BUILD_BUG_ON(sizeof(struct erofs_xattr_entry) != 4); in erofs_check_ondisk_layout_definitions() 456 BUILD_BUG_ON(sizeof(struct erofs_inode_chunk_info) != 4); in erofs_check_ondisk_layout_definitions() 457 BUILD_BUG_ON(sizeof(struct erofs_inode_chunk_index) != 8); in erofs_check_ondisk_layout_definitions() 458 BUILD_BUG_ON(sizeof(struct z_erofs_map_header) != 8); in erofs_check_ondisk_layout_definitions() 459 BUILD_BUG_ON(sizeof(struct z_erofs_lcluster_index) != 8); in erofs_check_ondisk_layout_definitions() 460 BUILD_BUG_ON(sizeof(struct erofs_dirent) != 12); in erofs_check_ondisk_layout_definitions() [all …]
|
/linux-6.12.1/drivers/net/ethernet/sfc/ |
D | mcdi_port_common.c | 21 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_IN_LEN != 0); in efx_mcdi_get_phy_cfg() 22 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_OUT_NAME_LEN != sizeof(cfg->name)); 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() 468 BUILD_BUG_ON(LOOPBACK_NONE != MC_CMD_LOOPBACK_NONE); in efx_mcdi_phy_probe() 469 BUILD_BUG_ON(LOOPBACK_DATA != MC_CMD_LOOPBACK_DATA); in efx_mcdi_phy_probe() 470 BUILD_BUG_ON(LOOPBACK_GMAC != MC_CMD_LOOPBACK_GMAC); in efx_mcdi_phy_probe() 471 BUILD_BUG_ON(LOOPBACK_XGMII != MC_CMD_LOOPBACK_XGMII); in efx_mcdi_phy_probe() 472 BUILD_BUG_ON(LOOPBACK_XGXS != MC_CMD_LOOPBACK_XGXS); in efx_mcdi_phy_probe() [all …]
|
/linux-6.12.1/drivers/net/ethernet/sfc/siena/ |
D | mcdi_port_common.c | 22 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_IN_LEN != 0); in efx_mcdi_get_phy_cfg() 23 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_OUT_NAME_LEN != sizeof(cfg->name)); 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() 469 BUILD_BUG_ON(LOOPBACK_NONE != MC_CMD_LOOPBACK_NONE); in efx_siena_mcdi_phy_probe() 470 BUILD_BUG_ON(LOOPBACK_DATA != MC_CMD_LOOPBACK_DATA); in efx_siena_mcdi_phy_probe() 471 BUILD_BUG_ON(LOOPBACK_GMAC != MC_CMD_LOOPBACK_GMAC); in efx_siena_mcdi_phy_probe() 472 BUILD_BUG_ON(LOOPBACK_XGMII != MC_CMD_LOOPBACK_XGMII); in efx_siena_mcdi_phy_probe() 473 BUILD_BUG_ON(LOOPBACK_XGXS != MC_CMD_LOOPBACK_XGXS); in efx_siena_mcdi_phy_probe() [all …]
|
/linux-6.12.1/arch/m68k/kernel/ |
D | signal.c | 586 BUILD_BUG_ON(sizeof(siginfo_t) != 128); in siginfo_build_tests() 589 BUILD_BUG_ON(offsetof(siginfo_t, si_signo) != 0); in siginfo_build_tests() 590 BUILD_BUG_ON(offsetof(siginfo_t, si_errno) != 4); in siginfo_build_tests() 591 BUILD_BUG_ON(offsetof(siginfo_t, si_code) != 8); in siginfo_build_tests() 594 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests() 595 BUILD_BUG_ON(offsetof(siginfo_t, si_uid) != 0x10); in siginfo_build_tests() 598 BUILD_BUG_ON(offsetof(siginfo_t, si_tid) != 0x0c); in siginfo_build_tests() 599 BUILD_BUG_ON(offsetof(siginfo_t, si_overrun) != 0x10); in siginfo_build_tests() 600 BUILD_BUG_ON(offsetof(siginfo_t, si_value) != 0x14); in siginfo_build_tests() 603 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests() [all …]
|
/linux-6.12.1/net/batman-adv/ |
D | main.c | 514 BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6); in batadv_recv_handler_init() 515 BUILD_BUG_ON(sizeof(struct batadv_ogm_packet) != 24); in batadv_recv_handler_init() 516 BUILD_BUG_ON(sizeof(struct batadv_icmp_header) != 20); in batadv_recv_handler_init() 517 BUILD_BUG_ON(sizeof(struct batadv_icmp_packet) != 20); in batadv_recv_handler_init() 518 BUILD_BUG_ON(sizeof(struct batadv_icmp_packet_rr) != 116); in batadv_recv_handler_init() 519 BUILD_BUG_ON(sizeof(struct batadv_unicast_packet) != 10); in batadv_recv_handler_init() 520 BUILD_BUG_ON(sizeof(struct batadv_unicast_4addr_packet) != 18); in batadv_recv_handler_init() 521 BUILD_BUG_ON(sizeof(struct batadv_frag_packet) != 20); in batadv_recv_handler_init() 522 BUILD_BUG_ON(sizeof(struct batadv_bcast_packet) != 14); in batadv_recv_handler_init() 523 BUILD_BUG_ON(sizeof(struct batadv_coded_packet) != 46); in batadv_recv_handler_init() [all …]
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_so.c | 505 BUILD_BUG_ON(vmw_view_max != 4); in vmw_view_dirtying() 545 BUILD_BUG_ON(SVGA_3D_CMD_DX_DESTROY_SHADERRESOURCE_VIEW != in vmw_so_build_asserts() 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() 557 BUILD_BUG_ON(sizeof(union vmw_view_destroy) != sizeof(u32)); 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() [all …]
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | bgmac-bcma-mdio.c | 43 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 …]
|
/linux-6.12.1/drivers/media/platform/verisilicon/ |
D | hantro_jpeg.c | 193 BUILD_BUG_ON(ARRAY_SIZE(v4l2_jpeg_zigzag_scan_index) != JPEG_QUANT_SIZE); in jpeg_scale_quant_table() 194 BUILD_BUG_ON(ARRAY_SIZE(hw_reorder) != JPEG_QUANT_SIZE); in jpeg_scale_quant_table() 214 BUILD_BUG_ON(ARRAY_SIZE(v4l2_jpeg_ref_table_luma_qt) != JPEG_QUANT_SIZE); in jpeg_set_quality() 215 BUILD_BUG_ON(ARRAY_SIZE(v4l2_jpeg_ref_table_chroma_qt) != JPEG_QUANT_SIZE); in jpeg_set_quality() 216 BUILD_BUG_ON(ARRAY_SIZE(ctx->hw_luma_qtable) != JPEG_QUANT_SIZE); in jpeg_set_quality() 217 BUILD_BUG_ON(ARRAY_SIZE(ctx->hw_chroma_qtable) != JPEG_QUANT_SIZE); in jpeg_set_quality()
|
/linux-6.12.1/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 10557 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in pqi_verify_structures() 10559 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in pqi_verify_structures() 10561 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in pqi_verify_structures() 10563 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in pqi_verify_structures() 10565 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in pqi_verify_structures() 10567 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in pqi_verify_structures() 10569 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in pqi_verify_structures() 10571 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in pqi_verify_structures() 10573 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in pqi_verify_structures() 10575 BUILD_BUG_ON(offsetof(struct pqi_ctrl_registers, in pqi_verify_structures() [all …]
|
/linux-6.12.1/arch/x86/mm/ |
D | cpu_entry_area.c | 73 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()
|
/linux-6.12.1/arch/x86/kvm/ |
D | reverse_cpuid.h | 113 BUILD_BUG_ON(NR_CPUID_WORDS != NCAPINTS); in reverse_cpuid_check() 114 BUILD_BUG_ON(x86_leaf == CPUID_LNX_1); in reverse_cpuid_check() 115 BUILD_BUG_ON(x86_leaf == CPUID_LNX_2); in reverse_cpuid_check() 116 BUILD_BUG_ON(x86_leaf == CPUID_LNX_3); in reverse_cpuid_check() 117 BUILD_BUG_ON(x86_leaf == CPUID_LNX_4); in reverse_cpuid_check() 118 BUILD_BUG_ON(x86_leaf == CPUID_LNX_5); in reverse_cpuid_check() 119 BUILD_BUG_ON(x86_leaf >= ARRAY_SIZE(reverse_cpuid)); in reverse_cpuid_check() 120 BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0); in reverse_cpuid_check()
|
/linux-6.12.1/security/landlock/ |
D | syscalls.c | 65 BUILD_BUG_ON(!dst); in copy_min_struct_from_user() 70 BUILD_BUG_ON(ksize <= 0); in copy_min_struct_from_user() 71 BUILD_BUG_ON(ksize < ksize_min); in copy_min_struct_from_user() 101 BUILD_BUG_ON(sizeof(ruleset_attr) != ruleset_size); in build_check_abi() 102 BUILD_BUG_ON(sizeof(ruleset_attr) != 24); in build_check_abi() 106 BUILD_BUG_ON(sizeof(path_beneath_attr) != path_beneath_size); in build_check_abi() 107 BUILD_BUG_ON(sizeof(path_beneath_attr) != 12); in build_check_abi() 111 BUILD_BUG_ON(sizeof(net_port_attr) != net_port_size); in build_check_abi() 112 BUILD_BUG_ON(sizeof(net_port_attr) != 16); in build_check_abi() 282 BUILD_BUG_ON(!__same_type( in get_path_from_fd()
|
/linux-6.12.1/fs/notify/inotify/ |
D | inotify_user.c | 700 BUILD_BUG_ON(IN_CLOEXEC != O_CLOEXEC); in do_inotify_init() 701 BUILD_BUG_ON(IN_NONBLOCK != O_NONBLOCK); in do_inotify_init() 845 BUILD_BUG_ON(IN_ACCESS != FS_ACCESS); in inotify_user_setup() 846 BUILD_BUG_ON(IN_MODIFY != FS_MODIFY); in inotify_user_setup() 847 BUILD_BUG_ON(IN_ATTRIB != FS_ATTRIB); in inotify_user_setup() 848 BUILD_BUG_ON(IN_CLOSE_WRITE != FS_CLOSE_WRITE); in inotify_user_setup() 849 BUILD_BUG_ON(IN_CLOSE_NOWRITE != FS_CLOSE_NOWRITE); in inotify_user_setup() 850 BUILD_BUG_ON(IN_OPEN != FS_OPEN); in inotify_user_setup() 851 BUILD_BUG_ON(IN_MOVED_FROM != FS_MOVED_FROM); in inotify_user_setup() 852 BUILD_BUG_ON(IN_MOVED_TO != FS_MOVED_TO); in inotify_user_setup() [all …]
|
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/ |
D | i915_vma_types.h | 46 BUILD_BUG_ON(sizeof(struct intel_rotation_info) != 2 * sizeof(u32) + 8 * sizeof(u16)); in assert_i915_gem_gtt_types() 47 BUILD_BUG_ON(sizeof(struct intel_remapped_info) != 5 * sizeof(u32) + 16 * sizeof(u16)); in assert_i915_gem_gtt_types() 50 BUILD_BUG_ON(offsetof(struct intel_remapped_info, plane[0]) != in assert_i915_gem_gtt_types() 52 BUILD_BUG_ON(offsetofend(struct intel_remapped_info, plane[1]) != in assert_i915_gem_gtt_types()
|
/linux-6.12.1/fs/notify/fanotify/ |
D | fanotify.c | 892 BUILD_BUG_ON(FAN_ACCESS != FS_ACCESS); in fanotify_handle_event() 893 BUILD_BUG_ON(FAN_MODIFY != FS_MODIFY); in fanotify_handle_event() 894 BUILD_BUG_ON(FAN_ATTRIB != FS_ATTRIB); in fanotify_handle_event() 895 BUILD_BUG_ON(FAN_CLOSE_NOWRITE != FS_CLOSE_NOWRITE); in fanotify_handle_event() 896 BUILD_BUG_ON(FAN_CLOSE_WRITE != FS_CLOSE_WRITE); in fanotify_handle_event() 897 BUILD_BUG_ON(FAN_OPEN != FS_OPEN); in fanotify_handle_event() 898 BUILD_BUG_ON(FAN_MOVED_TO != FS_MOVED_TO); in fanotify_handle_event() 899 BUILD_BUG_ON(FAN_MOVED_FROM != FS_MOVED_FROM); in fanotify_handle_event() 900 BUILD_BUG_ON(FAN_CREATE != FS_CREATE); in fanotify_handle_event() 901 BUILD_BUG_ON(FAN_DELETE != FS_DELETE); in fanotify_handle_event() [all …]
|
/linux-6.12.1/drivers/net/ethernet/marvell/prestera/ |
D | prestera_hw.c | 747 BUILD_BUG_ON(sizeof(struct prestera_msg_common_req) != 4); in prestera_hw_build_tests() 748 BUILD_BUG_ON(sizeof(struct prestera_msg_switch_attr_req) != 16); in prestera_hw_build_tests() 749 BUILD_BUG_ON(sizeof(struct prestera_msg_port_attr_req) != 144); in prestera_hw_build_tests() 750 BUILD_BUG_ON(sizeof(struct prestera_msg_port_info_req) != 8); in prestera_hw_build_tests() 751 BUILD_BUG_ON(sizeof(struct prestera_msg_vlan_req) != 16); in prestera_hw_build_tests() 752 BUILD_BUG_ON(sizeof(struct prestera_msg_fdb_req) != 28); in prestera_hw_build_tests() 753 BUILD_BUG_ON(sizeof(struct prestera_msg_bridge_req) != 16); in prestera_hw_build_tests() 754 BUILD_BUG_ON(sizeof(struct prestera_msg_span_req) != 16); in prestera_hw_build_tests() 755 BUILD_BUG_ON(sizeof(struct prestera_msg_stp_req) != 16); in prestera_hw_build_tests() 756 BUILD_BUG_ON(sizeof(struct prestera_msg_rxtx_req) != 8); in prestera_hw_build_tests() [all …]
|
/linux-6.12.1/arch/x86/include/asm/ |
D | spec-ctrl.h | 53 BUILD_BUG_ON(TIF_SSBD < SPEC_CTRL_SSBD_SHIFT); in ssbd_tif_to_spec_ctrl() 59 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT); in stibp_tif_to_spec_ctrl() 65 BUILD_BUG_ON(TIF_SSBD < SPEC_CTRL_SSBD_SHIFT); in ssbd_spec_ctrl_to_tif() 71 BUILD_BUG_ON(TIF_SPEC_IB < SPEC_CTRL_STIBP_SHIFT); in stibp_spec_ctrl_to_tif()
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_vma_types.h | 140 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()
|
/linux-6.12.1/arch/parisc/mm/ |
D | init.c | 538 BUILD_BUG_ON(sizeof(struct ipc64_perm) != 48); in mem_init() 540 BUILD_BUG_ON(sizeof(struct semid64_ds) != 80); in mem_init() 541 BUILD_BUG_ON(sizeof(struct msqid64_ds) != 104); in mem_init() 542 BUILD_BUG_ON(sizeof(struct shmid64_ds) != 104); in mem_init() 545 BUILD_BUG_ON(sizeof(struct compat_ipc64_perm) != sizeof(struct ipc64_perm)); in mem_init() 546 BUILD_BUG_ON(sizeof(struct compat_semid64_ds) != 80); in mem_init() 547 BUILD_BUG_ON(sizeof(struct compat_msqid64_ds) != 104); in mem_init() 548 BUILD_BUG_ON(sizeof(struct compat_shmid64_ds) != 104); in mem_init() 552 BUILD_BUG_ON(PTE_ENTRY_SIZE != sizeof(pte_t)); in mem_init() 553 BUILD_BUG_ON(PMD_ENTRY_SIZE != sizeof(pmd_t)); in mem_init() [all …]
|