/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_lmtt_ml.c | 82 BUILD_BUG_ON(LMTT_ML_HAW == 48 && LMTT_ML_PDE_L2_MAX_NUM != SZ_8K); 85 BUILD_BUG_ON(LMTT_ML_PTE_MAX_NUM != SZ_16K); 109 BUILD_BUG_ON(BIT_ULL(LMTT_ML_PDE_L2_SHIFT) != SZ_32G);
|
H A D | xe_lmtt_2l.c | 82 BUILD_BUG_ON(LMTT_2L_HAW == 37 && LMTT_2L_PTE_MAX_NUM != SZ_64K); 83 BUILD_BUG_ON(LMTT_2L_HAW == 35 && LMTT_2L_PTE_MAX_NUM != SZ_16K);
|
/linux-master/arch/x86/include/asm/ |
H A D | stackprotector.h | 55 BUILD_BUG_ON(offsetof(struct fixed_percpu_data, stack_canary) != 40);
|
H A D | cmpxchg_64.h | 7 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 13 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 19 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 25 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-master/arch/arc/mm/ |
H A D | init.c | 189 BUILD_BUG_ON((PTRS_PER_PGD * sizeof(pgd_t)) > PAGE_SIZE); 190 BUILD_BUG_ON((PTRS_PER_PUD * sizeof(pud_t)) > PAGE_SIZE); 191 BUILD_BUG_ON((PTRS_PER_PMD * sizeof(pmd_t)) > PAGE_SIZE); 192 BUILD_BUG_ON((PTRS_PER_PTE * sizeof(pte_t)) > PAGE_SIZE);
|
/linux-master/drivers/md/dm-vdo/ |
H A D | status-codes.c | 51 BUILD_BUG_ON((VDO_STATUS_CODE_LAST - VDO_STATUS_CODE_BASE) !=
|
/linux-master/fs/xfs/ |
H A D | xfs_hooks.c | 30 BUILD_BUG_ON(offsetof(struct xfs_hook, nb) != 0);
|
/linux-master/arch/loongarch/include/asm/ |
H A D | tlb.h | 103 BUILD_BUG_ON(!__builtin_constant_p(info) || info != 0); 114 BUILD_BUG_ON(!__builtin_constant_p(addr) || addr != 0); 125 BUILD_BUG_ON(!__builtin_constant_p(info) || info != 0); 126 BUILD_BUG_ON(!__builtin_constant_p(addr) || addr != 0);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | cpu_has_feature.h | 28 BUILD_BUG_ON(!__builtin_constant_p(feature));
|
H A D | fixmap.h | 96 BUILD_BUG_ON(IS_ENABLED(CONFIG_PPC64) && __FIXADDR_SIZE > FIXADDR_SIZE); 99 BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | bgmac-bcma-mdio.c | 43 BUILD_BUG_ON(BGMAC_PA_DATA_MASK != BCMA_GMAC_CMN_PA_DATA_MASK); 44 BUILD_BUG_ON(BGMAC_PA_ADDR_MASK != BCMA_GMAC_CMN_PA_ADDR_MASK); 45 BUILD_BUG_ON(BGMAC_PA_ADDR_SHIFT != BCMA_GMAC_CMN_PA_ADDR_SHIFT); 46 BUILD_BUG_ON(BGMAC_PA_REG_MASK != BCMA_GMAC_CMN_PA_REG_MASK); 47 BUILD_BUG_ON(BGMAC_PA_REG_SHIFT != BCMA_GMAC_CMN_PA_REG_SHIFT); 48 BUILD_BUG_ON(BGMAC_PA_WRITE != BCMA_GMAC_CMN_PA_WRITE); 49 BUILD_BUG_ON(BGMAC_PA_START != BCMA_GMAC_CMN_PA_START); 50 BUILD_BUG_ON(BGMAC_PC_EPA_MASK != BCMA_GMAC_CMN_PC_EPA_MASK); 51 BUILD_BUG_ON(BGMAC_PC_MCT_MASK != BCMA_GMAC_CMN_PC_MCT_MASK); 52 BUILD_BUG_ON(BGMAC_PC_MCT_SHIF [all...] |
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-altivec.c | 53 BUILD_BUG_ON(offsetof(struct thread_vr_state, vscr) != 87 BUILD_BUG_ON(offsetof(struct thread_vr_state, vscr) !=
|
H A D | ptrace-spe.c | 32 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != 51 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) !=
|
/linux-master/drivers/tee/optee/ |
H A D | optee_trace.h | 30 BUILD_BUG_ON(sizeof(*param) < sizeof(__entry->args)); 51 BUILD_BUG_ON(sizeof(*res) < sizeof(__entry->rets));
|
/linux-master/arch/x86/mm/ |
H A D | cpu_entry_area.c | 73 BUILD_BUG_ON(sizeof(struct cpu_entry_area) % PAGE_SIZE != 0); 116 BUILD_BUG_ON(sizeof(struct debug_store) % PAGE_SIZE != 0); 145 BUILD_BUG_ON(sizeof(exception_stacks) % PAGE_SIZE != 0); 222 BUILD_BUG_ON((offsetof(struct tss_struct, x86_tss) ^ 224 BUILD_BUG_ON(sizeof(struct tss_struct) % PAGE_SIZE != 0); 230 BUILD_BUG_ON(offsetof(struct tss_struct, x86_tss) != 0); 231 BUILD_BUG_ON(sizeof(struct x86_hw_tss) != 0x68); 251 BUILD_BUG_ON((CPU_ENTRY_AREA_PAGES+1)*PAGE_SIZE != CPU_ENTRY_AREA_MAP_SIZE);
|
/linux-master/fs/qnx4/ |
H A D | qnx4.h | 89 BUILD_BUG_ON(offsetof(struct qnx4_inode_entry, di_status) != 91 BUILD_BUG_ON(offsetof(struct qnx4_inode_entry, di_status) !=
|
/linux-master/include/linux/ |
H A D | cache.h | 100 BUILD_BUG_ON(!(offsetof(TYPE, MEMBER) >= \ 108 BUILD_BUG_ON(offsetof(TYPE, __cacheline_group_end__##GROUP) - \
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mcdi_port_common.c | 21 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_IN_LEN != 0); 22 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_OUT_NAME_LEN != sizeof(cfg->name)); 75 BUILD_BUG_ON(MC_CMD_SET_LINK_OUT_LEN != 0); 408 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); 441 BUILD_BUG_ON(MC_CMD_GET_LINK_IN_LEN != 0); 468 BUILD_BUG_ON(LOOPBACK_NONE != MC_CMD_LOOPBACK_NONE); 469 BUILD_BUG_ON(LOOPBACK_DATA != MC_CMD_LOOPBACK_DATA); 470 BUILD_BUG_ON(LOOPBACK_GMAC != MC_CMD_LOOPBACK_GMAC); 471 BUILD_BUG_ON(LOOPBACK_XGMII != MC_CMD_LOOPBACK_XGMII); 472 BUILD_BUG_ON(LOOPBACK_XGX [all...] |
/linux-master/security/landlock/ |
H A D | syscalls.c | 65 BUILD_BUG_ON(!dst); 70 BUILD_BUG_ON(ksize <= 0); 71 BUILD_BUG_ON(ksize < ksize_min); 83 * BUILD_BUG_ON(). The related code is evaluated and checked at build time, 100 BUILD_BUG_ON(sizeof(ruleset_attr) != ruleset_size); 101 BUILD_BUG_ON(sizeof(ruleset_attr) != 16); 105 BUILD_BUG_ON(sizeof(path_beneath_attr) != path_beneath_size); 106 BUILD_BUG_ON(sizeof(path_beneath_attr) != 12); 110 BUILD_BUG_ON(sizeof(net_port_attr) != net_port_size); 111 BUILD_BUG_ON(sizeo [all...] |
/linux-master/arch/m68k/kernel/ |
H A D | signal.c | 586 BUILD_BUG_ON(sizeof(siginfo_t) != 128); 589 BUILD_BUG_ON(offsetof(siginfo_t, si_signo) != 0); 590 BUILD_BUG_ON(offsetof(siginfo_t, si_errno) != 4); 591 BUILD_BUG_ON(offsetof(siginfo_t, si_code) != 8); 594 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); 595 BUILD_BUG_ON(offsetof(siginfo_t, si_uid) != 0x10); 598 BUILD_BUG_ON(offsetof(siginfo_t, si_tid) != 0x0c); 599 BUILD_BUG_ON(offsetof(siginfo_t, si_overrun) != 0x10); 600 BUILD_BUG_ON(offsetof(siginfo_t, si_value) != 0x14); 603 BUILD_BUG_ON(offseto [all...] |
/linux-master/fs/notify/inotify/ |
H A D | inotify_user.c | 700 BUILD_BUG_ON(IN_CLOEXEC != O_CLOEXEC); 701 BUILD_BUG_ON(IN_NONBLOCK != O_NONBLOCK); 845 BUILD_BUG_ON(IN_ACCESS != FS_ACCESS); 846 BUILD_BUG_ON(IN_MODIFY != FS_MODIFY); 847 BUILD_BUG_ON(IN_ATTRIB != FS_ATTRIB); 848 BUILD_BUG_ON(IN_CLOSE_WRITE != FS_CLOSE_WRITE); 849 BUILD_BUG_ON(IN_CLOSE_NOWRITE != FS_CLOSE_NOWRITE); 850 BUILD_BUG_ON(IN_OPEN != FS_OPEN); 851 BUILD_BUG_ON(IN_MOVED_FROM != FS_MOVED_FROM); 852 BUILD_BUG_ON(IN_MOVED_T [all...] |
/linux-master/net/ipv4/ |
H A D | raw_diag.c | 237 BUILD_BUG_ON(sizeof(struct inet_diag_req_v2) != 239 BUILD_BUG_ON(__offset_mismatch(sdiag_family, sdiag_family)); 240 BUILD_BUG_ON(__offset_mismatch(sdiag_protocol, sdiag_protocol)); 241 BUILD_BUG_ON(__offset_mismatch(idiag_ext, idiag_ext)); 242 BUILD_BUG_ON(__offset_mismatch(pad, sdiag_raw_protocol)); 243 BUILD_BUG_ON(__offset_mismatch(idiag_states, idiag_states)); 244 BUILD_BUG_ON(__offset_mismatch(id, id));
|
/linux-master/arch/riscv/include/asm/ |
H A D | cmpxchg.h | 91 BUILD_BUG_ON(sizeof(*(ptr)) != 4); \ 97 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 198 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 204 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 210 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 216 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ 222 BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
|
/linux-master/drivers/soc/tegra/fuse/ |
H A D | speedo-tegra210.c | 109 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != 111 BUILD_BUG_ON(ARRAY_SIZE(gpu_process_speedos) != 113 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) !=
|
H A D | speedo-tegra124.c | 106 BUILD_BUG_ON(ARRAY_SIZE(cpu_process_speedos) != 108 BUILD_BUG_ON(ARRAY_SIZE(gpu_process_speedos) != 110 BUILD_BUG_ON(ARRAY_SIZE(soc_process_speedos) !=
|