arch/arm/kernel/signal.c
684
static_assert(NSIGILL == 11);
arch/arm/kernel/signal.c
685
static_assert(NSIGFPE == 15);
arch/arm/kernel/signal.c
686
static_assert(NSIGSEGV == 10);
arch/arm/kernel/signal.c
687
static_assert(NSIGBUS == 5);
arch/arm/kernel/signal.c
688
static_assert(NSIGTRAP == 6);
arch/arm/kernel/signal.c
689
static_assert(NSIGCHLD == 6);
arch/arm/kernel/signal.c
690
static_assert(NSIGSYS == 2);
arch/arm/kernel/signal.c
691
static_assert(sizeof(siginfo_t) == 128);
arch/arm/kernel/signal.c
692
static_assert(__alignof__(siginfo_t) == 4);
arch/arm/kernel/signal.c
693
static_assert(offsetof(siginfo_t, si_signo) == 0x00);
arch/arm/kernel/signal.c
694
static_assert(offsetof(siginfo_t, si_errno) == 0x04);
arch/arm/kernel/signal.c
695
static_assert(offsetof(siginfo_t, si_code) == 0x08);
arch/arm/kernel/signal.c
696
static_assert(offsetof(siginfo_t, si_pid) == 0x0c);
arch/arm/kernel/signal.c
697
static_assert(offsetof(siginfo_t, si_uid) == 0x10);
arch/arm/kernel/signal.c
698
static_assert(offsetof(siginfo_t, si_tid) == 0x0c);
arch/arm/kernel/signal.c
699
static_assert(offsetof(siginfo_t, si_overrun) == 0x10);
arch/arm/kernel/signal.c
700
static_assert(offsetof(siginfo_t, si_status) == 0x14);
arch/arm/kernel/signal.c
701
static_assert(offsetof(siginfo_t, si_utime) == 0x18);
arch/arm/kernel/signal.c
702
static_assert(offsetof(siginfo_t, si_stime) == 0x1c);
arch/arm/kernel/signal.c
703
static_assert(offsetof(siginfo_t, si_value) == 0x14);
arch/arm/kernel/signal.c
704
static_assert(offsetof(siginfo_t, si_int) == 0x14);
arch/arm/kernel/signal.c
705
static_assert(offsetof(siginfo_t, si_ptr) == 0x14);
arch/arm/kernel/signal.c
706
static_assert(offsetof(siginfo_t, si_addr) == 0x0c);
arch/arm/kernel/signal.c
707
static_assert(offsetof(siginfo_t, si_addr_lsb) == 0x10);
arch/arm/kernel/signal.c
708
static_assert(offsetof(siginfo_t, si_lower) == 0x14);
arch/arm/kernel/signal.c
709
static_assert(offsetof(siginfo_t, si_upper) == 0x18);
arch/arm/kernel/signal.c
710
static_assert(offsetof(siginfo_t, si_pkey) == 0x14);
arch/arm/kernel/signal.c
711
static_assert(offsetof(siginfo_t, si_perf_data) == 0x10);
arch/arm/kernel/signal.c
712
static_assert(offsetof(siginfo_t, si_perf_type) == 0x14);
arch/arm/kernel/signal.c
713
static_assert(offsetof(siginfo_t, si_perf_flags) == 0x18);
arch/arm/kernel/signal.c
714
static_assert(offsetof(siginfo_t, si_band) == 0x0c);
arch/arm/kernel/signal.c
715
static_assert(offsetof(siginfo_t, si_fd) == 0x10);
arch/arm/kernel/signal.c
716
static_assert(offsetof(siginfo_t, si_call_addr) == 0x0c);
arch/arm/kernel/signal.c
717
static_assert(offsetof(siginfo_t, si_syscall) == 0x10);
arch/arm/kernel/signal.c
718
static_assert(offsetof(siginfo_t, si_arch) == 0x14);
arch/arm/kernel/vdso.c
205
static_assert(__VDSO_PAGES == VDSO_NR_PAGES);
arch/arm/mm/tlb.c
65
static_assert(offsetof(struct cpu_tlb_fns, tlb_flags) == 8);
arch/arm64/include/asm/ptrace.h
175
static_assert(IS_ALIGNED(sizeof(struct pt_regs), 16));
arch/arm64/kernel/efi.c
243
static_assert(THREAD_SIZE >= SZ_8K);
arch/arm64/kernel/signal.c
1694
static_assert(NSIGILL == 11);
arch/arm64/kernel/signal.c
1695
static_assert(NSIGFPE == 15);
arch/arm64/kernel/signal.c
1696
static_assert(NSIGSEGV == 10);
arch/arm64/kernel/signal.c
1697
static_assert(NSIGBUS == 5);
arch/arm64/kernel/signal.c
1698
static_assert(NSIGTRAP == 6);
arch/arm64/kernel/signal.c
1699
static_assert(NSIGCHLD == 6);
arch/arm64/kernel/signal.c
1700
static_assert(NSIGSYS == 2);
arch/arm64/kernel/signal.c
1701
static_assert(sizeof(siginfo_t) == 128);
arch/arm64/kernel/signal.c
1702
static_assert(__alignof__(siginfo_t) == 8);
arch/arm64/kernel/signal.c
1703
static_assert(offsetof(siginfo_t, si_signo) == 0x00);
arch/arm64/kernel/signal.c
1704
static_assert(offsetof(siginfo_t, si_errno) == 0x04);
arch/arm64/kernel/signal.c
1705
static_assert(offsetof(siginfo_t, si_code) == 0x08);
arch/arm64/kernel/signal.c
1706
static_assert(offsetof(siginfo_t, si_pid) == 0x10);
arch/arm64/kernel/signal.c
1707
static_assert(offsetof(siginfo_t, si_uid) == 0x14);
arch/arm64/kernel/signal.c
1708
static_assert(offsetof(siginfo_t, si_tid) == 0x10);
arch/arm64/kernel/signal.c
1709
static_assert(offsetof(siginfo_t, si_overrun) == 0x14);
arch/arm64/kernel/signal.c
1710
static_assert(offsetof(siginfo_t, si_status) == 0x18);
arch/arm64/kernel/signal.c
1711
static_assert(offsetof(siginfo_t, si_utime) == 0x20);
arch/arm64/kernel/signal.c
1712
static_assert(offsetof(siginfo_t, si_stime) == 0x28);
arch/arm64/kernel/signal.c
1713
static_assert(offsetof(siginfo_t, si_value) == 0x18);
arch/arm64/kernel/signal.c
1714
static_assert(offsetof(siginfo_t, si_int) == 0x18);
arch/arm64/kernel/signal.c
1715
static_assert(offsetof(siginfo_t, si_ptr) == 0x18);
arch/arm64/kernel/signal.c
1716
static_assert(offsetof(siginfo_t, si_addr) == 0x10);
arch/arm64/kernel/signal.c
1717
static_assert(offsetof(siginfo_t, si_addr_lsb) == 0x18);
arch/arm64/kernel/signal.c
1718
static_assert(offsetof(siginfo_t, si_lower) == 0x20);
arch/arm64/kernel/signal.c
1719
static_assert(offsetof(siginfo_t, si_upper) == 0x28);
arch/arm64/kernel/signal.c
1720
static_assert(offsetof(siginfo_t, si_pkey) == 0x20);
arch/arm64/kernel/signal.c
1721
static_assert(offsetof(siginfo_t, si_perf_data) == 0x18);
arch/arm64/kernel/signal.c
1722
static_assert(offsetof(siginfo_t, si_perf_type) == 0x20);
arch/arm64/kernel/signal.c
1723
static_assert(offsetof(siginfo_t, si_perf_flags) == 0x24);
arch/arm64/kernel/signal.c
1724
static_assert(offsetof(siginfo_t, si_band) == 0x10);
arch/arm64/kernel/signal.c
1725
static_assert(offsetof(siginfo_t, si_fd) == 0x18);
arch/arm64/kernel/signal.c
1726
static_assert(offsetof(siginfo_t, si_call_addr) == 0x10);
arch/arm64/kernel/signal.c
1727
static_assert(offsetof(siginfo_t, si_syscall) == 0x18);
arch/arm64/kernel/signal.c
1728
static_assert(offsetof(siginfo_t, si_arch) == 0x1c);
arch/arm64/kernel/signal32.c
464
static_assert(NSIGILL == 11);
arch/arm64/kernel/signal32.c
465
static_assert(NSIGFPE == 15);
arch/arm64/kernel/signal32.c
466
static_assert(NSIGSEGV == 10);
arch/arm64/kernel/signal32.c
467
static_assert(NSIGBUS == 5);
arch/arm64/kernel/signal32.c
468
static_assert(NSIGTRAP == 6);
arch/arm64/kernel/signal32.c
469
static_assert(NSIGCHLD == 6);
arch/arm64/kernel/signal32.c
470
static_assert(NSIGSYS == 2);
arch/arm64/kernel/signal32.c
471
static_assert(sizeof(compat_siginfo_t) == 128);
arch/arm64/kernel/signal32.c
472
static_assert(__alignof__(compat_siginfo_t) == 4);
arch/arm64/kernel/signal32.c
473
static_assert(offsetof(compat_siginfo_t, si_signo) == 0x00);
arch/arm64/kernel/signal32.c
474
static_assert(offsetof(compat_siginfo_t, si_errno) == 0x04);
arch/arm64/kernel/signal32.c
475
static_assert(offsetof(compat_siginfo_t, si_code) == 0x08);
arch/arm64/kernel/signal32.c
476
static_assert(offsetof(compat_siginfo_t, si_pid) == 0x0c);
arch/arm64/kernel/signal32.c
477
static_assert(offsetof(compat_siginfo_t, si_uid) == 0x10);
arch/arm64/kernel/signal32.c
478
static_assert(offsetof(compat_siginfo_t, si_tid) == 0x0c);
arch/arm64/kernel/signal32.c
479
static_assert(offsetof(compat_siginfo_t, si_overrun) == 0x10);
arch/arm64/kernel/signal32.c
480
static_assert(offsetof(compat_siginfo_t, si_status) == 0x14);
arch/arm64/kernel/signal32.c
481
static_assert(offsetof(compat_siginfo_t, si_utime) == 0x18);
arch/arm64/kernel/signal32.c
482
static_assert(offsetof(compat_siginfo_t, si_stime) == 0x1c);
arch/arm64/kernel/signal32.c
483
static_assert(offsetof(compat_siginfo_t, si_value) == 0x14);
arch/arm64/kernel/signal32.c
484
static_assert(offsetof(compat_siginfo_t, si_int) == 0x14);
arch/arm64/kernel/signal32.c
485
static_assert(offsetof(compat_siginfo_t, si_ptr) == 0x14);
arch/arm64/kernel/signal32.c
486
static_assert(offsetof(compat_siginfo_t, si_addr) == 0x0c);
arch/arm64/kernel/signal32.c
487
static_assert(offsetof(compat_siginfo_t, si_addr_lsb) == 0x10);
arch/arm64/kernel/signal32.c
488
static_assert(offsetof(compat_siginfo_t, si_lower) == 0x14);
arch/arm64/kernel/signal32.c
489
static_assert(offsetof(compat_siginfo_t, si_upper) == 0x18);
arch/arm64/kernel/signal32.c
490
static_assert(offsetof(compat_siginfo_t, si_pkey) == 0x14);
arch/arm64/kernel/signal32.c
491
static_assert(offsetof(compat_siginfo_t, si_perf_data) == 0x10);
arch/arm64/kernel/signal32.c
492
static_assert(offsetof(compat_siginfo_t, si_perf_type) == 0x14);
arch/arm64/kernel/signal32.c
493
static_assert(offsetof(compat_siginfo_t, si_perf_flags) == 0x18);
arch/arm64/kernel/signal32.c
494
static_assert(offsetof(compat_siginfo_t, si_band) == 0x0c);
arch/arm64/kernel/signal32.c
495
static_assert(offsetof(compat_siginfo_t, si_fd) == 0x10);
arch/arm64/kernel/signal32.c
496
static_assert(offsetof(compat_siginfo_t, si_call_addr) == 0x0c);
arch/arm64/kernel/signal32.c
497
static_assert(offsetof(compat_siginfo_t, si_syscall) == 0x10);
arch/arm64/kernel/signal32.c
498
static_assert(offsetof(compat_siginfo_t, si_arch) == 0x14);
arch/arm64/mm/fixmap.c
20
static_assert(FIXADDR_TOT_START > PCI_IO_END);
arch/arm64/mm/fixmap.c
27
static_assert(NR_BM_PMD_TABLES == 1);
arch/mips/kernel/vdso.c
27
static_assert(VDSO_NR_PAGES == __VDSO_PAGES);
arch/powerpc/include/asm/rtas-work-area.h
50
static_assert(__builtin_constant_p(size_)); \
arch/powerpc/include/asm/rtas-work-area.h
51
static_assert((size_) > 0); \
arch/powerpc/include/asm/rtas-work-area.h
52
static_assert((size_) <= RTAS_WORK_AREA_MAX_ALLOC_SZ); \
arch/powerpc/kernel/vdso.c
36
static_assert(__VDSO_PAGES == VDSO_NR_PAGES);
arch/powerpc/platforms/pseries/papr-sysparm.c
219
static_assert(sizeof(user_iob->data) >= PAPR_SYSPARM_MAX_INPUT);
arch/powerpc/platforms/pseries/papr-sysparm.c
220
static_assert(sizeof(kern_spbuf->val) >= PAPR_SYSPARM_MAX_INPUT);
arch/powerpc/platforms/pseries/papr-sysparm.c
251
static_assert(sizeof(user_iob->data) >= PAPR_SYSPARM_MAX_OUTPUT);
arch/powerpc/platforms/pseries/papr-sysparm.c
252
static_assert(sizeof(kern_spbuf->val) >= PAPR_SYSPARM_MAX_OUTPUT);
arch/powerpc/platforms/pseries/setup.c
946
static_assert(sizeof(buf.val) >= CMO_MAXLENGTH);
arch/riscv/include/asm/kgdb.h
16
static_assert(BUFMAX > NUMREGBYTES,
arch/riscv/include/asm/kvm_vcpu_pmu.h
20
static_assert(RISCV_KVM_MAX_COUNTERS <= 64);
arch/riscv/kvm/vm.c
19
static_assert(ARRAY_SIZE(kvm_vm_stats_desc) ==
arch/s390/include/asm/uv.h
167
static_assert(sizeof(struct uv_cb_query_keys) == 0x200);
arch/s390/include/asm/uv.h
432
static_assert(sizeof(struct uv_secret_list) == PAGE_SIZE);
arch/s390/kvm/dat.h
303
static_assert(sizeof(union pgste) == sizeof(unsigned long));
arch/s390/kvm/dat.h
304
static_assert(sizeof(union pte) == sizeof(unsigned long));
arch/s390/kvm/dat.h
305
static_assert(sizeof(union pmd) == sizeof(unsigned long));
arch/s390/kvm/dat.h
306
static_assert(sizeof(union pud) == sizeof(unsigned long));
arch/s390/kvm/dat.h
307
static_assert(sizeof(union p4d) == sizeof(unsigned long));
arch/s390/kvm/dat.h
308
static_assert(sizeof(union pgd) == sizeof(unsigned long));
arch/s390/kvm/dat.h
309
static_assert(sizeof(union crste) == sizeof(unsigned long));
arch/s390/kvm/dat.h
310
static_assert(sizeof(union skey) == sizeof(char));
arch/s390/kvm/dat.h
343
static_assert(sizeof(struct crst_table) == _CRST_TABLE_SIZE);
arch/s390/kvm/dat.h
344
static_assert(sizeof(struct page_table) == PAGE_SIZE);
arch/s390/kvm/dat.h
474
static_assert(sizeof(struct vsie_rmap) == 2 * sizeof(long));
arch/s390/kvm/vsie.c
70
static_assert(sizeof(struct vsie_page) == PAGE_SIZE);
arch/sparc/kernel/signal32.c
754
static_assert(NSIGILL == 11);
arch/sparc/kernel/signal32.c
755
static_assert(NSIGFPE == 15);
arch/sparc/kernel/signal32.c
756
static_assert(NSIGSEGV == 10);
arch/sparc/kernel/signal32.c
757
static_assert(NSIGBUS == 5);
arch/sparc/kernel/signal32.c
758
static_assert(NSIGTRAP == 6);
arch/sparc/kernel/signal32.c
759
static_assert(NSIGCHLD == 6);
arch/sparc/kernel/signal32.c
760
static_assert(NSIGSYS == 2);
arch/sparc/kernel/signal32.c
761
static_assert(sizeof(compat_siginfo_t) == 128);
arch/sparc/kernel/signal32.c
762
static_assert(__alignof__(compat_siginfo_t) == 4);
arch/sparc/kernel/signal32.c
763
static_assert(offsetof(compat_siginfo_t, si_signo) == 0x00);
arch/sparc/kernel/signal32.c
764
static_assert(offsetof(compat_siginfo_t, si_errno) == 0x04);
arch/sparc/kernel/signal32.c
765
static_assert(offsetof(compat_siginfo_t, si_code) == 0x08);
arch/sparc/kernel/signal32.c
766
static_assert(offsetof(compat_siginfo_t, si_pid) == 0x0c);
arch/sparc/kernel/signal32.c
767
static_assert(offsetof(compat_siginfo_t, si_uid) == 0x10);
arch/sparc/kernel/signal32.c
768
static_assert(offsetof(compat_siginfo_t, si_tid) == 0x0c);
arch/sparc/kernel/signal32.c
769
static_assert(offsetof(compat_siginfo_t, si_overrun) == 0x10);
arch/sparc/kernel/signal32.c
770
static_assert(offsetof(compat_siginfo_t, si_status) == 0x14);
arch/sparc/kernel/signal32.c
771
static_assert(offsetof(compat_siginfo_t, si_utime) == 0x18);
arch/sparc/kernel/signal32.c
772
static_assert(offsetof(compat_siginfo_t, si_stime) == 0x1c);
arch/sparc/kernel/signal32.c
773
static_assert(offsetof(compat_siginfo_t, si_value) == 0x14);
arch/sparc/kernel/signal32.c
774
static_assert(offsetof(compat_siginfo_t, si_int) == 0x14);
arch/sparc/kernel/signal32.c
775
static_assert(offsetof(compat_siginfo_t, si_ptr) == 0x14);
arch/sparc/kernel/signal32.c
776
static_assert(offsetof(compat_siginfo_t, si_addr) == 0x0c);
arch/sparc/kernel/signal32.c
777
static_assert(offsetof(compat_siginfo_t, si_trapno) == 0x10);
arch/sparc/kernel/signal32.c
778
static_assert(offsetof(compat_siginfo_t, si_addr_lsb) == 0x10);
arch/sparc/kernel/signal32.c
779
static_assert(offsetof(compat_siginfo_t, si_lower) == 0x14);
arch/sparc/kernel/signal32.c
780
static_assert(offsetof(compat_siginfo_t, si_upper) == 0x18);
arch/sparc/kernel/signal32.c
781
static_assert(offsetof(compat_siginfo_t, si_pkey) == 0x14);
arch/sparc/kernel/signal32.c
782
static_assert(offsetof(compat_siginfo_t, si_perf_data) == 0x10);
arch/sparc/kernel/signal32.c
783
static_assert(offsetof(compat_siginfo_t, si_perf_type) == 0x14);
arch/sparc/kernel/signal32.c
784
static_assert(offsetof(compat_siginfo_t, si_perf_flags) == 0x18);
arch/sparc/kernel/signal32.c
785
static_assert(offsetof(compat_siginfo_t, si_band) == 0x0c);
arch/sparc/kernel/signal32.c
786
static_assert(offsetof(compat_siginfo_t, si_fd) == 0x10);
arch/sparc/kernel/signal_64.c
563
static_assert(NSIGILL == 11);
arch/sparc/kernel/signal_64.c
564
static_assert(NSIGFPE == 15);
arch/sparc/kernel/signal_64.c
565
static_assert(NSIGSEGV == 10);
arch/sparc/kernel/signal_64.c
566
static_assert(NSIGBUS == 5);
arch/sparc/kernel/signal_64.c
567
static_assert(NSIGTRAP == 6);
arch/sparc/kernel/signal_64.c
568
static_assert(NSIGCHLD == 6);
arch/sparc/kernel/signal_64.c
569
static_assert(NSIGSYS == 2);
arch/sparc/kernel/signal_64.c
570
static_assert(sizeof(siginfo_t) == 128);
arch/sparc/kernel/signal_64.c
571
static_assert(__alignof__(siginfo_t) == 8);
arch/sparc/kernel/signal_64.c
572
static_assert(offsetof(siginfo_t, si_signo) == 0x00);
arch/sparc/kernel/signal_64.c
573
static_assert(offsetof(siginfo_t, si_errno) == 0x04);
arch/sparc/kernel/signal_64.c
574
static_assert(offsetof(siginfo_t, si_code) == 0x08);
arch/sparc/kernel/signal_64.c
575
static_assert(offsetof(siginfo_t, si_pid) == 0x10);
arch/sparc/kernel/signal_64.c
576
static_assert(offsetof(siginfo_t, si_uid) == 0x14);
arch/sparc/kernel/signal_64.c
577
static_assert(offsetof(siginfo_t, si_tid) == 0x10);
arch/sparc/kernel/signal_64.c
578
static_assert(offsetof(siginfo_t, si_overrun) == 0x14);
arch/sparc/kernel/signal_64.c
579
static_assert(offsetof(siginfo_t, si_status) == 0x18);
arch/sparc/kernel/signal_64.c
580
static_assert(offsetof(siginfo_t, si_utime) == 0x20);
arch/sparc/kernel/signal_64.c
581
static_assert(offsetof(siginfo_t, si_stime) == 0x28);
arch/sparc/kernel/signal_64.c
582
static_assert(offsetof(siginfo_t, si_value) == 0x18);
arch/sparc/kernel/signal_64.c
583
static_assert(offsetof(siginfo_t, si_int) == 0x18);
arch/sparc/kernel/signal_64.c
584
static_assert(offsetof(siginfo_t, si_ptr) == 0x18);
arch/sparc/kernel/signal_64.c
585
static_assert(offsetof(siginfo_t, si_addr) == 0x10);
arch/sparc/kernel/signal_64.c
586
static_assert(offsetof(siginfo_t, si_trapno) == 0x18);
arch/sparc/kernel/signal_64.c
587
static_assert(offsetof(siginfo_t, si_addr_lsb) == 0x18);
arch/sparc/kernel/signal_64.c
588
static_assert(offsetof(siginfo_t, si_lower) == 0x20);
arch/sparc/kernel/signal_64.c
589
static_assert(offsetof(siginfo_t, si_upper) == 0x28);
arch/sparc/kernel/signal_64.c
590
static_assert(offsetof(siginfo_t, si_pkey) == 0x20);
arch/sparc/kernel/signal_64.c
591
static_assert(offsetof(siginfo_t, si_perf_data) == 0x18);
arch/sparc/kernel/signal_64.c
592
static_assert(offsetof(siginfo_t, si_perf_type) == 0x20);
arch/sparc/kernel/signal_64.c
593
static_assert(offsetof(siginfo_t, si_perf_flags) == 0x24);
arch/sparc/kernel/signal_64.c
594
static_assert(offsetof(siginfo_t, si_band) == 0x10);
arch/sparc/kernel/signal_64.c
595
static_assert(offsetof(siginfo_t, si_fd) == 0x14);
arch/um/kernel/skas/mmu.c
21
static_assert(sizeof(struct stub_data) == STUB_DATA_PAGES * UM_KERN_PAGE_SIZE);
arch/x86/crypto/aesni-intel_glue.c
1182
static_assert(offsetof(struct aes_gcm_key_aesni, base.aes_key.len) == 0);
arch/x86/crypto/aesni-intel_glue.c
1183
static_assert(offsetof(struct aes_gcm_key_aesni, base.aes_key.k.rndkeys) == 16);
arch/x86/crypto/aesni-intel_glue.c
1184
static_assert(offsetof(struct aes_gcm_key_aesni, h_powers) == 272);
arch/x86/crypto/aesni-intel_glue.c
1185
static_assert(offsetof(struct aes_gcm_key_aesni, h_powers_xored) == 400);
arch/x86/crypto/aesni-intel_glue.c
1186
static_assert(offsetof(struct aes_gcm_key_aesni, h_times_x64) == 464);
arch/x86/crypto/aesni-intel_glue.c
1187
static_assert(offsetof(struct aes_gcm_key_vaes_avx2, base.aes_key.len) == 0);
arch/x86/crypto/aesni-intel_glue.c
1188
static_assert(offsetof(struct aes_gcm_key_vaes_avx2, base.aes_key.k.rndkeys) == 16);
arch/x86/crypto/aesni-intel_glue.c
1189
static_assert(offsetof(struct aes_gcm_key_vaes_avx2, h_powers) == 288);
arch/x86/crypto/aesni-intel_glue.c
1190
static_assert(offsetof(struct aes_gcm_key_vaes_avx2, h_powers_xored) == 416);
arch/x86/crypto/aesni-intel_glue.c
1191
static_assert(offsetof(struct aes_gcm_key_vaes_avx512, base.aes_key.len) == 0);
arch/x86/crypto/aesni-intel_glue.c
1192
static_assert(offsetof(struct aes_gcm_key_vaes_avx512, base.aes_key.k.rndkeys) == 16);
arch/x86/crypto/aesni-intel_glue.c
1193
static_assert(offsetof(struct aes_gcm_key_vaes_avx512, h_powers) == 320);
arch/x86/crypto/aesni-intel_glue.c
1194
static_assert(offsetof(struct aes_gcm_key_vaes_avx512, padding) == 576);
arch/x86/entry/vdso/vma.c
30
static_assert(VDSO_NR_PAGES + VDSO_NR_VCLOCK_PAGES == __VDSO_PAGES);
arch/x86/events/intel/lbr.c
899
static_assert((64 - PERF_BRANCH_ENTRY_INFO_BITS_MAX) > LBR_INFO_BR_CNTR_NUM * LBR_INFO_BR_CNTR_BITS);
arch/x86/events/perf_event.h
1852
static_assert(MAX_PEBS_EVENTS == 32);
arch/x86/events/perf_event.h
87
static_assert((PERF_X86_EVENT_##name & PERF_EVENT_FLAG_ARCH) == \
arch/x86/include/asm/cpuid/api.h
135
static_assert(sizeof(*(regs)) == 16); \
arch/x86/include/asm/cpuid/api.h
140
static_assert(sizeof(*(regs)) == 16); \
arch/x86/include/asm/cpuid/api.h
154
static_assert(sizeof(*(reg)) == 4); \
arch/x86/include/asm/cpuid/api.h
159
static_assert(sizeof(*(reg)) == 4); \
arch/x86/include/asm/cpuid/types.h
63
static_assert(sizeof(enum _cache_table_type) == 1);
arch/x86/include/asm/cpuid/types.h
97
static_assert(sizeof(enum _tlb_table_type) == 1);
arch/x86/include/asm/irq_stack.h
124
static_assert(__builtin_types_compatible_p(typeof(&func), proto))
arch/x86/include/asm/irq_stack.h
127
static_assert(__builtin_types_compatible_p(typeof(arg), proto))
arch/x86/include/asm/svm.h
300
static_assert((AVIC_MAX_PHYSICAL_ID & AVIC_PHYSICAL_MAX_INDEX_MASK) == AVIC_MAX_PHYSICAL_ID);
arch/x86/include/asm/svm.h
301
static_assert((X2AVIC_MAX_PHYSICAL_ID & AVIC_PHYSICAL_MAX_INDEX_MASK) == X2AVIC_MAX_PHYSICAL_ID);
arch/x86/include/asm/svm.h
302
static_assert((X2AVIC_4K_MAX_PHYSICAL_ID & AVIC_PHYSICAL_MAX_INDEX_MASK) == X2AVIC_4K_MAX_PHYSICAL_ID);
arch/x86/include/asm/vmx.h
609
static_assert(EPT_VIOLATION_RWX_TO_PROT(VMX_EPT_RWX_MASK) ==
arch/x86/kernel/cpu/mtrr/mtrr.c
45
static_assert(X86_MEMTYPE_UC == MTRR_TYPE_UNCACHABLE);
arch/x86/kernel/cpu/mtrr/mtrr.c
46
static_assert(X86_MEMTYPE_WC == MTRR_TYPE_WRCOMB);
arch/x86/kernel/cpu/mtrr/mtrr.c
47
static_assert(X86_MEMTYPE_WT == MTRR_TYPE_WRTHROUGH);
arch/x86/kernel/cpu/mtrr/mtrr.c
48
static_assert(X86_MEMTYPE_WP == MTRR_TYPE_WRPROT);
arch/x86/kernel/cpu/mtrr/mtrr.c
49
static_assert(X86_MEMTYPE_WB == MTRR_TYPE_WRBACK);
arch/x86/kernel/signal_32.c
431
static_assert(NSIGILL == 11);
arch/x86/kernel/signal_32.c
432
static_assert(NSIGFPE == 15);
arch/x86/kernel/signal_32.c
433
static_assert(NSIGSEGV == 10);
arch/x86/kernel/signal_32.c
434
static_assert(NSIGBUS == 5);
arch/x86/kernel/signal_32.c
435
static_assert(NSIGTRAP == 6);
arch/x86/kernel/signal_32.c
436
static_assert(NSIGCHLD == 6);
arch/x86/kernel/signal_32.c
437
static_assert(NSIGSYS == 2);
arch/x86/kernel/signal_32.c
440
static_assert(sizeof(siginfo32_t) == 128);
arch/x86/kernel/signal_32.c
443
static_assert(__alignof__(siginfo32_t) == 4);
arch/x86/kernel/signal_32.c
450
static_assert(offsetof(siginfo32_t, _sifields) == 3 * sizeof(int));
arch/x86/kernel/signal_32.c
452
static_assert(offsetof(siginfo32_t, si_signo) == 0);
arch/x86/kernel/signal_32.c
453
static_assert(offsetof(siginfo32_t, si_errno) == 4);
arch/x86/kernel/signal_32.c
454
static_assert(offsetof(siginfo32_t, si_code) == 8);
arch/x86/kernel/signal_32.c
471
static_assert(offsetof(siginfo32_t, _sifields) == \
arch/x86/kernel/signal_32.c
475
static_assert(sizeof_field(siginfo32_t, _sifields.name) == size)
arch/x86/kernel/signal_32.c
479
static_assert(offsetof(siginfo32_t, si_pid) == 0xC);
arch/x86/kernel/signal_32.c
480
static_assert(offsetof(siginfo32_t, si_uid) == 0x10);
arch/x86/kernel/signal_32.c
489
static_assert(offsetof(siginfo32_t, si_tid) == 0x0C);
arch/x86/kernel/signal_32.c
490
static_assert(offsetof(siginfo32_t, si_overrun) == 0x10);
arch/x86/kernel/signal_32.c
491
static_assert(offsetof(siginfo32_t, si_value) == 0x14);
arch/x86/kernel/signal_32.c
495
static_assert(offsetof(siginfo32_t, si_pid) == 0x0C);
arch/x86/kernel/signal_32.c
496
static_assert(offsetof(siginfo32_t, si_uid) == 0x10);
arch/x86/kernel/signal_32.c
497
static_assert(offsetof(siginfo32_t, si_value) == 0x14);
arch/x86/kernel/signal_32.c
501
static_assert(offsetof(siginfo32_t, si_pid) == 0x0C);
arch/x86/kernel/signal_32.c
502
static_assert(offsetof(siginfo32_t, si_uid) == 0x10);
arch/x86/kernel/signal_32.c
503
static_assert(offsetof(siginfo32_t, si_status) == 0x14);
arch/x86/kernel/signal_32.c
504
static_assert(offsetof(siginfo32_t, si_utime) == 0x18);
arch/x86/kernel/signal_32.c
505
static_assert(offsetof(siginfo32_t, si_stime) == 0x1C);
arch/x86/kernel/signal_32.c
509
static_assert(offsetof(siginfo32_t, si_addr) == 0x0C);
arch/x86/kernel/signal_32.c
511
static_assert(offsetof(siginfo32_t, si_trapno) == 0x10);
arch/x86/kernel/signal_32.c
513
static_assert(offsetof(siginfo32_t, si_addr_lsb) == 0x10);
arch/x86/kernel/signal_32.c
515
static_assert(offsetof(siginfo32_t, si_lower) == 0x14);
arch/x86/kernel/signal_32.c
516
static_assert(offsetof(siginfo32_t, si_upper) == 0x18);
arch/x86/kernel/signal_32.c
518
static_assert(offsetof(siginfo32_t, si_pkey) == 0x14);
arch/x86/kernel/signal_32.c
520
static_assert(offsetof(siginfo32_t, si_perf_data) == 0x10);
arch/x86/kernel/signal_32.c
521
static_assert(offsetof(siginfo32_t, si_perf_type) == 0x14);
arch/x86/kernel/signal_32.c
522
static_assert(offsetof(siginfo32_t, si_perf_flags) == 0x18);
arch/x86/kernel/signal_32.c
526
static_assert(offsetof(siginfo32_t, si_band) == 0x0C);
arch/x86/kernel/signal_32.c
527
static_assert(offsetof(siginfo32_t, si_fd) == 0x10);
arch/x86/kernel/signal_32.c
531
static_assert(offsetof(siginfo32_t, si_call_addr) == 0x0C);
arch/x86/kernel/signal_32.c
532
static_assert(offsetof(siginfo32_t, si_syscall) == 0x10);
arch/x86/kernel/signal_32.c
533
static_assert(offsetof(siginfo32_t, si_arch) == 0x14);
arch/x86/kernel/signal_64.c
420
static_assert(NSIGILL == 11);
arch/x86/kernel/signal_64.c
421
static_assert(NSIGFPE == 15);
arch/x86/kernel/signal_64.c
422
static_assert(NSIGSEGV == 10);
arch/x86/kernel/signal_64.c
423
static_assert(NSIGBUS == 5);
arch/x86/kernel/signal_64.c
424
static_assert(NSIGTRAP == 6);
arch/x86/kernel/signal_64.c
425
static_assert(NSIGCHLD == 6);
arch/x86/kernel/signal_64.c
426
static_assert(NSIGSYS == 2);
arch/x86/kernel/signal_64.c
429
static_assert(sizeof(siginfo_t) == 128);
arch/x86/kernel/signal_64.c
432
static_assert(__alignof__(siginfo_t) == 8);
arch/x86/kernel/signal_64.c
439
static_assert(offsetof(siginfo_t, si_signo) == 0);
arch/x86/kernel/signal_64.c
440
static_assert(offsetof(siginfo_t, si_errno) == 4);
arch/x86/kernel/signal_64.c
441
static_assert(offsetof(siginfo_t, si_code) == 8);
arch/x86/kernel/signal_64.c
458
static_assert(offsetof(siginfo_t, _sifields) == \
arch/x86/kernel/signal_64.c
461
static_assert(sizeof_field(siginfo_t, _sifields.name) == size)
arch/x86/kernel/signal_64.c
465
static_assert(offsetof(siginfo_t, si_pid) == 0x10);
arch/x86/kernel/signal_64.c
466
static_assert(offsetof(siginfo_t, si_uid) == 0x14);
arch/x86/kernel/signal_64.c
470
static_assert(offsetof(siginfo_t, si_tid) == 0x10);
arch/x86/kernel/signal_64.c
471
static_assert(offsetof(siginfo_t, si_overrun) == 0x14);
arch/x86/kernel/signal_64.c
472
static_assert(offsetof(siginfo_t, si_value) == 0x18);
arch/x86/kernel/signal_64.c
476
static_assert(offsetof(siginfo_t, si_pid) == 0x10);
arch/x86/kernel/signal_64.c
477
static_assert(offsetof(siginfo_t, si_uid) == 0x14);
arch/x86/kernel/signal_64.c
478
static_assert(offsetof(siginfo_t, si_value) == 0x18);
arch/x86/kernel/signal_64.c
482
static_assert(offsetof(siginfo_t, si_pid) == 0x10);
arch/x86/kernel/signal_64.c
483
static_assert(offsetof(siginfo_t, si_uid) == 0x14);
arch/x86/kernel/signal_64.c
484
static_assert(offsetof(siginfo_t, si_status) == 0x18);
arch/x86/kernel/signal_64.c
485
static_assert(offsetof(siginfo_t, si_utime) == 0x20);
arch/x86/kernel/signal_64.c
486
static_assert(offsetof(siginfo_t, si_stime) == 0x28);
arch/x86/kernel/signal_64.c
490
static_assert(sizeof_field(compat_siginfo_t, _sifields._sigchld_x32) ==
arch/x86/kernel/signal_64.c
492
static_assert(offsetof(compat_siginfo_t, _sifields) ==
arch/x86/kernel/signal_64.c
494
static_assert(offsetof(compat_siginfo_t, _sifields._sigchld_x32._utime) == 0x18);
arch/x86/kernel/signal_64.c
495
static_assert(offsetof(compat_siginfo_t, _sifields._sigchld_x32._stime) == 0x20);
arch/x86/kernel/signal_64.c
500
static_assert(offsetof(siginfo_t, si_addr) == 0x10);
arch/x86/kernel/signal_64.c
502
static_assert(offsetof(siginfo_t, si_trapno) == 0x18);
arch/x86/kernel/signal_64.c
504
static_assert(offsetof(siginfo_t, si_addr_lsb) == 0x18);
arch/x86/kernel/signal_64.c
506
static_assert(offsetof(siginfo_t, si_lower) == 0x20);
arch/x86/kernel/signal_64.c
507
static_assert(offsetof(siginfo_t, si_upper) == 0x28);
arch/x86/kernel/signal_64.c
509
static_assert(offsetof(siginfo_t, si_pkey) == 0x20);
arch/x86/kernel/signal_64.c
511
static_assert(offsetof(siginfo_t, si_perf_data) == 0x18);
arch/x86/kernel/signal_64.c
512
static_assert(offsetof(siginfo_t, si_perf_type) == 0x20);
arch/x86/kernel/signal_64.c
513
static_assert(offsetof(siginfo_t, si_perf_flags) == 0x24);
arch/x86/kernel/signal_64.c
517
static_assert(offsetof(siginfo_t, si_band) == 0x10);
arch/x86/kernel/signal_64.c
518
static_assert(offsetof(siginfo_t, si_fd) == 0x18);
arch/x86/kernel/signal_64.c
522
static_assert(offsetof(siginfo_t, si_call_addr) == 0x10);
arch/x86/kernel/signal_64.c
523
static_assert(offsetof(siginfo_t, si_syscall) == 0x18);
arch/x86/kernel/signal_64.c
524
static_assert(offsetof(siginfo_t, si_arch) == 0x1C);
arch/x86/kvm/kvm_cache_regs.h
17
static_assert(!(KVM_POSSIBLE_CR0_GUEST_BITS & X86_CR0_PDPTR_BITS));
arch/x86/kvm/mmu/mmu_internal.h
330
static_assert(RET_PF_CONTINUE == 0);
arch/x86/kvm/mmu/spte.h
126
static_assert(!(SPTE_MMU_PRESENT_MASK &
arch/x86/kvm/mmu/spte.h
140
static_assert(!(SPTE_MMIO_ALLOWED_MASK &
arch/x86/kvm/mmu/spte.h
147
static_assert(MMIO_SPTE_GEN_LOW_BITS == 8 && MMIO_SPTE_GEN_HIGH_BITS == 11);
arch/x86/kvm/mmu/spte.h
165
static_assert(!(SHADOW_NONPRESENT_VALUE & SPTE_MMU_PRESENT_MASK));
arch/x86/kvm/mmu/spte.h
226
static_assert(!(FROZEN_SPTE & SPTE_MMU_PRESENT_MASK));
arch/x86/kvm/mmu/spte.h
37
static_assert(SPTE_TDP_AD_ENABLED == 0);
arch/x86/kvm/mmu/spte.h
74
static_assert(!(SPTE_TDP_AD_MASK & SHADOW_ACC_TRACK_SAVED_MASK));
arch/x86/kvm/mmu/spte.h
93
static_assert(!(EPT_SPTE_HOST_WRITABLE & SPTE_TDP_AD_MASK));
arch/x86/kvm/mmu/spte.h
94
static_assert(!(EPT_SPTE_MMU_WRITABLE & SPTE_TDP_AD_MASK));
arch/x86/kvm/mmu/spte.h
95
static_assert(!(EPT_SPTE_HOST_WRITABLE & SHADOW_ACC_TRACK_SAVED_MASK));
arch/x86/kvm/mmu/spte.h
96
static_assert(!(EPT_SPTE_MMU_WRITABLE & SHADOW_ACC_TRACK_SAVED_MASK));
arch/x86/kvm/svm/avic.c
65
static_assert(__AVIC_GATAG(AVIC_VM_ID_MASK, AVIC_VCPU_IDX_MASK) == -1u);
arch/x86/kvm/svm/svm.h
658
static_assert(SVM_MSRS_PER_RANGE == 8192);
arch/x86/kvm/vmx/main.c
14
static_assert(offsetof(struct vcpu_vmx, vt) == offsetof(struct vcpu_tdx, vt));
arch/x86/kvm/x86.h
63
static_assert(SIZE_OF_MEMSLOTS_HASHTABLE ==
block/blk-crypto-fallback.c
197
static_assert(PAGE_PTRS_PER_BVEC > 1);
crypto/adiantum.c
236
static_assert(NH_HASH_BYTES % POLY1305_BLOCK_SIZE == 0);
crypto/aes.c
12
static_assert(__alignof__(struct aes_key) <= CRYPTO_MINALIGN);
crypto/asymmetric_keys/restrict.c
25
static_assert(offsetof(typeof(cakey), id.data) == offsetof(typeof(cakey), data));
crypto/hctr2.c
126
static_assert(sizeof(hbar) == POLYVAL_BLOCK_SIZE);
crypto/hctr2.c
148
static_assert(TWEAK_SIZE % POLYVAL_BLOCK_SIZE == 0);
crypto/hctr2.c
89
static_assert(sizeof(tweak_length_block) == POLYVAL_BLOCK_SIZE);
crypto/md5.c
20
static_assert(sizeof(struct md5_ctx) == sizeof(struct md5_state));
crypto/md5.c
21
static_assert(offsetof(struct md5_ctx, state) == offsetof(struct md5_state, hash));
crypto/md5.c
22
static_assert(offsetof(struct md5_ctx, bytecount) == offsetof(struct md5_state, byte_count));
crypto/md5.c
23
static_assert(offsetof(struct md5_ctx, buf) == offsetof(struct md5_state, block));
crypto/rsassa-pkcs1.c
143
static_assert(HASH_MAX_DIGESTSIZE <= 127);
crypto/sha1.c
23
static_assert(sizeof(struct sha1_ctx) == sizeof(struct sha1_state));
crypto/sha1.c
24
static_assert(offsetof(struct sha1_ctx, state) == offsetof(struct sha1_state, state));
crypto/sha1.c
25
static_assert(offsetof(struct sha1_ctx, bytecount) == offsetof(struct sha1_state, count));
crypto/sha1.c
26
static_assert(offsetof(struct sha1_ctx, buf) == offsetof(struct sha1_state, buffer));
crypto/sha256.c
24
static_assert(offsetof(struct __sha256_ctx, state) == 0);
crypto/sha256.c
25
static_assert(offsetof(struct __sha256_ctx, bytecount) == 32);
crypto/sha256.c
26
static_assert(offsetof(struct __sha256_ctx, buf) == 40);
crypto/sha256.c
27
static_assert(sizeof(struct __sha256_ctx) + 1 == SHA256_SHASH_STATE_SIZE);
crypto/sha512.c
23
static_assert(offsetof(struct __sha512_ctx, state) == 0);
crypto/sha512.c
24
static_assert(offsetof(struct __sha512_ctx, bytecount_lo) == 64);
crypto/sha512.c
25
static_assert(offsetof(struct __sha512_ctx, bytecount_hi) == 72);
crypto/sha512.c
26
static_assert(offsetof(struct __sha512_ctx, buf) == 80);
crypto/sha512.c
27
static_assert(sizeof(struct __sha512_ctx) + 1 == SHA512_SHASH_STATE_SIZE);
drivers/accel/amdxdna/aie2_error.c
162
static_assert(ARRAY_SIZE(aie_cat_err_num_map) == AIE_ERROR_UNKNOWN + 1);
drivers/accel/amdxdna/aie2_error.c
171
static_assert(ARRAY_SIZE(aie_err_mod_map) == AIE_UNKNOWN_MOD + 1);
drivers/accel/amdxdna/amdxdna_mailbox.c
80
static_assert(sizeof(struct xdna_msg_header) == 16);
drivers/accel/habanalabs/common/habanalabs_ioctl.c
21
static_assert(sizeof(struct cpucp_info) <= SEC_DEV_INFO_BUF_SZ);
drivers/accel/habanalabs/gaudi2/gaudi2P.h
436
static_assert(GAUDI2_IRQ_NUM_USER_FIRST > GAUDI2_IRQ_NUM_SHARED_DEC1_ABNRM);
drivers/acpi/platform_profile.c
43
static_assert(ARRAY_SIZE(profile_names) == PLATFORM_PROFILE_LAST);
drivers/base/regmap/regmap-kunit.c
1356
static_assert(ARRAY_SIZE(val) == 4);
drivers/bluetooth/hci_bcm4377.c
165
static_assert(sizeof(struct bcm4377_xfer_ring_entry) == 0x10);
drivers/bluetooth/hci_bcm4377.c
185
static_assert(sizeof(struct bcm4377_completion_ring_entry) == 0x10);
drivers/bluetooth/hci_bcm4377.c
225
static_assert(sizeof(struct bcm4377_create_completion_ring_msg) ==
drivers/bluetooth/hci_bcm4377.c
240
static_assert(sizeof(struct bcm4377_destroy_completion_ring_msg) ==
drivers/bluetooth/hci_bcm4377.c
277
static_assert(sizeof(struct bcm4377_create_transfer_ring_msg) ==
drivers/bluetooth/hci_bcm4377.c
292
static_assert(sizeof(struct bcm4377_destroy_transfer_ring_msg) ==
drivers/bluetooth/hci_bcm4377.c
367
static_assert(sizeof(struct bcm4377_context) == 0x68);
drivers/char/hw_random/rockchip-rng.c
121
static_assert(RK_RNG_MAX_BYTE <= (TRNG_V1_RAND7 + 4 - TRNG_V1_RAND0),
drivers/clk/clk-eyeq.c
144
static_assert(sizeof_field(struct clk_fixed_factor, mult) == sizeof(unsigned int));
drivers/clk/clk-eyeq.c
145
static_assert(sizeof_field(struct clk_fixed_factor, div) == sizeof(unsigned int));
drivers/cpufreq/amd-pstate.c
123
static_assert(ARRAY_SIZE(energy_perf_strings) == EPP_INDEX_MAX);
drivers/cpufreq/amd-pstate.c
132
static_assert(ARRAY_SIZE(epp_values) == EPP_INDEX_MAX);
drivers/cpufreq/amd-pstate.c
69
static_assert(ARRAY_SIZE(amd_pstate_mode_string) == AMD_PSTATE_MAX);
drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c
89
static_assert(ARRAY_SIZE(adf_fw_cy_config) == ARRAY_SIZE(adf_fw_dc_config));
drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c
90
static_assert(ARRAY_SIZE(adf_fw_cy_config) == ARRAY_SIZE(adf_fw_sym_config));
drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c
91
static_assert(ARRAY_SIZE(adf_fw_cy_config) == ARRAY_SIZE(adf_fw_asym_config));
drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c
92
static_assert(ARRAY_SIZE(adf_fw_cy_config) == ARRAY_SIZE(adf_fw_asym_dc_config));
drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c
93
static_assert(ARRAY_SIZE(adf_fw_cy_config) == ARRAY_SIZE(adf_fw_sym_dc_config));
drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c
94
static_assert(ARRAY_SIZE(adf_fw_cy_config) == ARRAY_SIZE(adf_fw_dcc_config));
drivers/crypto/intel/qat/qat_common/adf_cfg_services.c
26
static_assert(ARRAY_SIZE(adf_cfg_services) == SVC_COUNT);
drivers/crypto/intel/qat/qat_common/adf_cfg_services.c
33
static_assert(ARRAY_SIZE(adf_cfg_services) >= MAX_NUM_CONCURR_SVC);
drivers/crypto/intel/qat/qat_common/adf_cfg_services.c
39
static_assert(BITS_PER_LONG >= SVC_COUNT);
drivers/crypto/intel/qat/qat_common/adf_cfg_services.c
45
static_assert(sizeof(ADF_CFG_SYM ADF_SERVICES_DELIMITER
drivers/crypto/intel/qat/qat_common/adf_fw_counters.c
29
static_assert(ARRAY_SIZE(adf_fw_counter_names) == ADF_FW_COUNTERS_COUNT);
drivers/crypto/intel/qat/qat_common/adf_gen4_pm_debugfs.c
83
static_assert(sizeof(struct icp_qat_fw_init_admin_pm_info) < PAGE_SIZE);
drivers/crypto/intel/qat/qat_common/adf_gen6_pm_dbgfs.c
38
static_assert(sizeof(struct icp_qat_fw_init_admin_pm_info) < PAGE_SIZE);
drivers/crypto/intel/qat/qat_common/adf_gen6_tl.c
135
static_assert(ARRAY_SIZE(dcprz_cmdq_counters) == NUM_CMDQ_COUNTERS);
drivers/crypto/intel/qat/qat_common/adf_gen6_tl.c
143
static_assert(ARRAY_SIZE(pke_cmdq_counters) == NUM_CMDQ_COUNTERS);
drivers/crypto/intel/qat/qat_common/adf_gen6_tl.c
151
static_assert(ARRAY_SIZE(wat_cmdq_counters) == NUM_CMDQ_COUNTERS);
drivers/crypto/intel/qat/qat_common/adf_gen6_tl.c
159
static_assert(ARRAY_SIZE(wcp_cmdq_counters) == NUM_CMDQ_COUNTERS);
drivers/crypto/intel/qat/qat_common/adf_gen6_tl.c
167
static_assert(ARRAY_SIZE(ucs_cmdq_counters) == NUM_CMDQ_COUNTERS);
drivers/crypto/intel/qat/qat_common/adf_gen6_tl.c
175
static_assert(ARRAY_SIZE(ath_cmdq_counters) == NUM_CMDQ_COUNTERS);
drivers/crypto/intel/qat/qat_common/qat_bl.h
26
static_assert(offsetof(struct qat_alg_buf_list, buffers) == sizeof(struct qat_alg_buf_list_hdr),
drivers/crypto/nx/nx-842.h
169
static_assert(offsetof(struct nx842_crypto_header, group) == sizeof(struct nx842_crypto_header_hdr),
drivers/dpll/zl3073x/fw.c
119
static_assert(ARRAY_SIZE(component_info) == ZL_FW_NUM_COMPONENTS);
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1028
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1029
static_assert(sizeof(readback) >= sizeof(unpacked_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1110
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1111
static_assert(sizeof(readback) >= sizeof(unpacked_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1190
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1191
static_assert(sizeof(readback) >= sizeof(unpacked_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1277
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1278
static_assert(sizeof(readback) >= sizeof(unpacked_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1358
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1359
static_assert(sizeof(readback) >= sizeof(unpacked_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1451
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1452
static_assert(sizeof(readback) >= sizeof(unpacked_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1530
static_assert(sizeof(readback) == sizeof(packed_payloads));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1593
static_assert(ARRAY_SIZE(payload_order) == ARRAY_SIZE(packed_payloads));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1594
static_assert(sizeof(readback) == sizeof(packed_payloads));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1658
static_assert(ARRAY_SIZE(word_offsets) == ARRAY_SIZE(packed_payloads));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1659
static_assert(sizeof(readback) == sizeof(packed_payloads[0]));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1726
static_assert(sizeof(readback) == sizeof(packed_xm_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1727
static_assert(sizeof(readback) == sizeof(packed_ym_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
177
static_assert(ARRAY_SIZE(readback) == ARRAY_SIZE(payload_data));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1814
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1895
static_assert(ARRAY_SIZE(alg_order) == ARRAY_SIZE(bin_test_mock_algs));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
1896
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
226
static_assert(ARRAY_SIZE(readback) == ARRAY_SIZE(payload_data));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
282
static_assert(ARRAY_SIZE(readback) == ARRAY_SIZE(payload_data));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
283
static_assert(ARRAY_SIZE(word_order) == ARRAY_SIZE(payload_data));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
345
static_assert(ARRAY_SIZE(word_offsets) == ARRAY_SIZE(payload_data));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
565
static_assert(ARRAY_SIZE(alg_order) == ARRAY_SIZE(bin_test_mock_algs));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
624
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
681
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
682
static_assert(sizeof(readback) >= sizeof(unpacked_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
761
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
762
static_assert(sizeof(readback) >= sizeof(unpacked_payloads));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
850
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
851
static_assert(sizeof(readback) >= sizeof(unpacked_payloads));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
946
static_assert(sizeof(readback) == sizeof(packed_payload));
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
947
static_assert(sizeof(readback) >= sizeof(unpacked_payload));
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
323
static_assert(ARRAY_SIZE(ctl) == ARRAY_SIZE(builder));
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
324
static_assert(ARRAY_SIZE(reg_vals) == ARRAY_SIZE(builder));
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
325
static_assert(ARRAY_SIZE(cs_dsp_ctl_cache_test_fw_names) >= ARRAY_SIZE(builder));
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
432
static_assert(ARRAY_SIZE(ctl) == ARRAY_SIZE(builder));
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
433
static_assert(ARRAY_SIZE(reg_vals) == ARRAY_SIZE(builder));
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
434
static_assert(ARRAY_SIZE(cs_dsp_ctl_cache_test_fw_names) >= ARRAY_SIZE(builder));
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
540
static_assert(ARRAY_SIZE(ctl) == ARRAY_SIZE(reg_vals));
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
661
static_assert(ARRAY_SIZE(ctl) == ARRAY_SIZE(reg_vals));
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
662
static_assert(ARRAY_SIZE(reg_vals) <= ARRAY_SIZE(cs_dsp_ctl_cache_test_algs));
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
762
static_assert(ARRAY_SIZE(ctl) == ARRAY_SIZE(reg_vals));
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
763
static_assert(ARRAY_SIZE(reg_vals) <= ARRAY_SIZE(cs_dsp_ctl_cache_test_algs));
drivers/firmware/efi/libstub/efi-stub-helper.c
231
static_assert(sizeof(efi_tcg2_event_t) == sizeof(efi_cc_event_t));
drivers/fwctl/main.c
20
static_assert(FWCTL_MAX_DEVICES < (1U << MINORBITS));
drivers/gpio/gpiolib-cdev.c
41
static_assert(IS_ALIGNED(GPIO_V2_LINES_MAX, 2));
drivers/gpio/gpiolib-cdev.c
42
static_assert(IS_ALIGNED(GPIO_MAX_NAME_SIZE, 8));
drivers/gpio/gpiolib-cdev.c
47
static_assert(IS_ALIGNED(sizeof(struct gpio_v2_line_attribute), 8));
drivers/gpio/gpiolib-cdev.c
48
static_assert(IS_ALIGNED(sizeof(struct gpio_v2_line_config_attribute), 8));
drivers/gpio/gpiolib-cdev.c
49
static_assert(IS_ALIGNED(sizeof(struct gpio_v2_line_config), 8));
drivers/gpio/gpiolib-cdev.c
50
static_assert(IS_ALIGNED(sizeof(struct gpio_v2_line_request), 8));
drivers/gpio/gpiolib-cdev.c
51
static_assert(IS_ALIGNED(sizeof(struct gpio_v2_line_info), 8));
drivers/gpio/gpiolib-cdev.c
52
static_assert(IS_ALIGNED(sizeof(struct gpio_v2_line_info_changed), 8));
drivers/gpio/gpiolib-cdev.c
53
static_assert(IS_ALIGNED(sizeof(struct gpio_v2_line_event), 8));
drivers/gpio/gpiolib-cdev.c
54
static_assert(IS_ALIGNED(sizeof(struct gpio_v2_line_values), 8));
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
107
static_assert(AMDGPU_DMUB_NOTIFICATION_MAX == DMUB_NOTIFICATION_MAX, "AMDGPU_DMUB_NOTIFICATION_MAX mismatch");
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
13537
static_assert(sizeof(*reply) <= sizeof(sync->reply_data), "Size mismatch");
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
813
static_assert(sizeof(*req) <= sizeof(sync->reply_data), "Size mismatch");
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c
646
static_assert(PP_SMU_NUM_FCLK_DPM_LEVELS <= MAX_NUM_DPM_LVL,
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c
570
static_assert(VG_NUM_FCLK_DPM_LEVELS <= MAX_NUM_DPM_LVL,
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
566
static_assert(NUM_DF_PSTATE_LEVELS <= MAX_NUM_DPM_LVL,
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c
493
static_assert(NUM_DF_PSTATE_LEVELS <= MAX_NUM_DPM_LVL,
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn401.c
532
static_assert(sizeof(*cmd) == 64, "DMUB command size mismatch");
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn401.c
608
static_assert(sizeof(*cmd) == 64, "DMUB command size mismatch");
drivers/gpu/drm/amd/include/amd_acpi.h
80
static_assert(ATIF_QBTC_MAX_DATA_POINTS == MAX_LUMINANCE_DATA_POINTS);
drivers/gpu/drm/amd/include/amd_acpi.h
81
static_assert(sizeof(struct atif_qbtc_data_point) == sizeof(struct amdgpu_dm_luminance_data));
drivers/gpu/drm/amd/include/umsch_mm_4_0_api_def.h
246
static_assert(sizeof(union UMSCHAPI__SET_HW_RESOURCES) <= API_FRAME_SIZE_IN_DWORDS * sizeof(uint32_t),
drivers/gpu/drm/i915/display/intel_ddi.c
214
static_assert(DDI_BUF_IS_IDLE == XELPDP_PORT_BUF_PHY_IDLE);
drivers/gpu/drm/i915/display/intel_ddi.c
239
static_assert(DDI_BUF_IS_IDLE == XELPDP_PORT_BUF_PHY_IDLE);
drivers/gpu/drm/i915/display/intel_display_trace.h
49
static_assert(I915_MAX_PIPES - 1 == _TRACE_PIPE_D);
drivers/gpu/drm/i915/display/intel_display_trace.h
67
static_assert(PIPE_A == _TRACE_PIPE_A);
drivers/gpu/drm/i915/display/skl_universal_plane.c
3058
static_assert(PLANE_CTL_TILED_YF == PLANE_CTL_TILED_4);
drivers/gpu/drm/i915/gem/i915_gem_object.h
401
static_assert(castable_to_type(n, pgoff_t)); \
drivers/gpu/drm/i915/gem/i915_gem_object.h
446
static_assert(castable_to_type(n, pgoff_t)); \
drivers/gpu/drm/i915/gem/i915_gem_object.h
491
static_assert(castable_to_type(n, pgoff_t)); \
drivers/gpu/drm/i915/gem/i915_gem_object.h
527
static_assert(castable_to_type(n, pgoff_t)); \
drivers/gpu/drm/i915/gem/i915_gem_object.h
562
static_assert(castable_to_type(n, pgoff_t)); \
drivers/gpu/drm/i915/gem/i915_gem_object.h
600
static_assert(castable_to_type(n, pgoff_t)); \
drivers/gpu/drm/i915/gem/i915_gem_object.h
635
static_assert(castable_to_type(n, pgoff_t)); \
drivers/gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h
59
static_assert(sizeof(struct guc_ct_buffer_desc) == 64);
drivers/gpu/drm/i915/gt/uc/intel_uc_fw_abi.h
85
static_assert(sizeof(struct uc_css_header) == 128);
drivers/gpu/drm/i915/gvt/opregion.c
240
static_assert(sizeof(header->signature) == sizeof(OPREGION_SIGNATURE) - 1);
drivers/gpu/drm/imagination/pvr_device.h
739
static_assert(((static_expr_) & (sizeof(u64) - 1)) == 0); \
drivers/gpu/drm/imagination/pvr_fw_riscv.c
35
static_assert(ROGUE_CR_FWCORE_ADDR_REMAP_CONFIG1_DEVVADDR_SHIFT ==
drivers/gpu/drm/imagination/pvr_fw_trace.c
549
static_assert(ARRAY_SIZE(fw_trace->buffers) <= 10,
drivers/gpu/drm/imagination/pvr_gem.h
111
static_assert(offsetof(struct pvr_gem_object, base) == 0,
drivers/gpu/drm/imagination/pvr_hwrt.c
17
static_assert(ROGUE_FWIF_NUM_RTDATAS == 2);
drivers/gpu/drm/imagination/pvr_hwrt.c
18
static_assert(ROGUE_FWIF_NUM_GEOMDATAS == 1);
drivers/gpu/drm/imagination/pvr_hwrt.c
19
static_assert(ROGUE_FWIF_NUM_RTDATA_FREELISTS == 2);
drivers/gpu/drm/imagination/pvr_mmu.c
219
static_assert(PAGE_SIZE >= PVR_MMU_BACKING_PAGE_SIZE);
drivers/gpu/drm/imagination/pvr_mmu.c
428
static_assert(sizeof(struct pvr_page_table_l2_entry_raw) * 8 ==
drivers/gpu/drm/imagination/pvr_mmu.c
551
static_assert(sizeof(struct pvr_page_table_l1_entry_raw) * 8 ==
drivers/gpu/drm/imagination/pvr_mmu.c
693
static_assert(sizeof(struct pvr_page_table_l0_entry_raw) * 8 ==
drivers/gpu/drm/imagination/pvr_mmu.c
711
static_assert(sizeof(struct pvr_page_flags_raw) ==
drivers/gpu/drm/imagination/pvr_mmu.c
794
static_assert(sizeof(struct pvr_page_table_l2_raw) == PVR_MMU_BACKING_PAGE_SIZE);
drivers/gpu/drm/imagination/pvr_mmu.c
807
static_assert(sizeof(struct pvr_page_table_l1_raw) == PVR_MMU_BACKING_PAGE_SIZE);
drivers/gpu/drm/imagination/pvr_mmu.c
829
static_assert(sizeof(struct pvr_page_table_l0_raw) <= PVR_MMU_BACKING_PAGE_SIZE);
drivers/gpu/drm/imagination/pvr_rogue_fwif.h
2020
static_assert((ROGUE_FWIF_TIME_CORR_ARRAY_SIZE &
drivers/gpu/drm/imagination/pvr_rogue_fwif_check.h
10
static_assert(offsetof(type, member) == (offset), \
drivers/gpu/drm/imagination/pvr_rogue_fwif_check.h
14
static_assert(sizeof(type) == (size), #type " is incorrect size")
drivers/gpu/drm/imagination/pvr_rogue_fwif_client_check.h
10
static_assert(offsetof(type, member) == (offset), \
drivers/gpu/drm/imagination/pvr_rogue_fwif_client_check.h
14
static_assert(sizeof(type) == (size), #type " is incorrect size")
drivers/gpu/drm/imagination/pvr_rogue_fwif_common.h
18
static_assert((sizeof(_a) & PVR_FW_ALIGNMENT_LSB) == 0U, \
drivers/gpu/drm/imagination/pvr_rogue_fwif_shared_check.h
10
static_assert(offsetof(type, member) == (offset), \
drivers/gpu/drm/imagination/pvr_rogue_fwif_shared_check.h
14
static_assert(sizeof(type) == (size), #type " is incorrect size")
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
11
static_assert(offsetof(struct rogue_mips_tlb_entry, tlb_hi) == 4,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
13
static_assert(offsetof(struct rogue_mips_tlb_entry, tlb_lo0) == 8,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
15
static_assert(offsetof(struct rogue_mips_tlb_entry, tlb_lo1) == 12,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
17
static_assert(sizeof(struct rogue_mips_tlb_entry) == 16,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
20
static_assert(offsetof(struct rogue_mips_remap_entry, remap_addr_in) == 0,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
22
static_assert(offsetof(struct rogue_mips_remap_entry, remap_addr_out) == 4,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
24
static_assert(offsetof(struct rogue_mips_remap_entry, remap_region_size) == 8,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
26
static_assert(sizeof(struct rogue_mips_remap_entry) == 12,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
29
static_assert(offsetof(struct rogue_mips_state, error_state) == 0,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
31
static_assert(offsetof(struct rogue_mips_state, error_epc) == 4,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
33
static_assert(offsetof(struct rogue_mips_state, status_register) == 8,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
35
static_assert(offsetof(struct rogue_mips_state, cause_register) == 12,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
37
static_assert(offsetof(struct rogue_mips_state, bad_register) == 16,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
39
static_assert(offsetof(struct rogue_mips_state, epc) == 20,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
41
static_assert(offsetof(struct rogue_mips_state, sp) == 24,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
43
static_assert(offsetof(struct rogue_mips_state, debug) == 28,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
45
static_assert(offsetof(struct rogue_mips_state, depc) == 32,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
47
static_assert(offsetof(struct rogue_mips_state, bad_instr) == 36,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
49
static_assert(offsetof(struct rogue_mips_state, unmapped_address) == 40,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
51
static_assert(offsetof(struct rogue_mips_state, tlb) == 44,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
53
static_assert(offsetof(struct rogue_mips_state, remap) == 300,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
55
static_assert(sizeof(struct rogue_mips_state) == 684,
drivers/gpu/drm/imagination/pvr_rogue_mips_check.h
9
static_assert(offsetof(struct rogue_mips_tlb_entry, tlb_page_mask) == 0,
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
171
static_assert(IS_ALIGNED(sizeof(gen7_0_0_pre_crashdumper_gpu_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
177
static_assert(IS_ALIGNED(sizeof(gen7_0_0_post_crashdumper_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
208
static_assert(IS_ALIGNED(sizeof(gen7_0_0_gpu_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
241
static_assert(IS_ALIGNED(sizeof(gen7_0_0_gmu_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
257
static_assert(IS_ALIGNED(sizeof(gen7_0_0_gmugx_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
270
static_assert(IS_ALIGNED(sizeof(gen7_0_0_noncontext_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
283
static_assert(IS_ALIGNED(sizeof(gen7_0_0_noncontext_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
289
static_assert(IS_ALIGNED(sizeof(gen7_0_0_noncontext_pipe_lpac_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
295
static_assert(IS_ALIGNED(sizeof(gen7_0_0_noncontext_rb_rac_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
304
static_assert(IS_ALIGNED(sizeof(gen7_0_0_noncontext_rb_rbp_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
314
static_assert(IS_ALIGNED(sizeof(gen7_0_0_gras_cluster_gras_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
324
static_assert(IS_ALIGNED(sizeof(gen7_0_0_gras_cluster_gras_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
332
static_assert(IS_ALIGNED(sizeof(gen7_0_0_pc_cluster_fe_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
340
static_assert(IS_ALIGNED(sizeof(gen7_0_0_pc_cluster_fe_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
356
static_assert(IS_ALIGNED(sizeof(gen7_0_0_rb_rac_cluster_ps_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
371
static_assert(IS_ALIGNED(sizeof(gen7_0_0_rb_rbp_cluster_ps_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
382
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_ps_pipe_br_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
391
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_ps_pipe_lpac_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
398
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_ps_pipe_br_hlsq_dp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
405
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_ps_pipe_lpac_hlsq_dp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
415
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_ps_pipe_br_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
423
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_ps_pipe_lpac_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
433
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_ps_pipe_br_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
441
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_ps_pipe_lpac_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
454
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_vs_pipe_br_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
467
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_vs_pipe_bv_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
478
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_vs_pipe_br_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
489
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_vs_pipe_bv_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
499
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_vs_pipe_br_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
509
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_vs_pipe_bv_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
517
static_assert(IS_ALIGNED(sizeof(gen7_0_0_tpl1_cluster_sp_ps_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
524
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_ps_pipe_bv_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
531
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_ps_pipe_bv_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
538
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_cluster_sp_ps_pipe_bv_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
545
static_assert(IS_ALIGNED(sizeof(gen7_0_0_tpl1_cluster_sp_ps_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
553
static_assert(IS_ALIGNED(sizeof(gen7_0_0_tpl1_cluster_sp_ps_pipe_lpac_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
560
static_assert(IS_ALIGNED(sizeof(gen7_0_0_tpl1_cluster_sp_vs_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
567
static_assert(IS_ALIGNED(sizeof(gen7_0_0_tpl1_cluster_sp_vs_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
574
static_assert(IS_ALIGNED(sizeof(gen7_0_0_vfd_cluster_fe_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
581
static_assert(IS_ALIGNED(sizeof(gen7_0_0_vfd_cluster_fe_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
588
static_assert(IS_ALIGNED(sizeof(gen7_0_0_vpc_cluster_fe_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
595
static_assert(IS_ALIGNED(sizeof(gen7_0_0_vpc_cluster_fe_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
602
static_assert(IS_ALIGNED(sizeof(gen7_0_0_vpc_cluster_pc_vs_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
609
static_assert(IS_ALIGNED(sizeof(gen7_0_0_vpc_cluster_pc_vs_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
616
static_assert(IS_ALIGNED(sizeof(gen7_0_0_vpc_cluster_vpc_ps_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
623
static_assert(IS_ALIGNED(sizeof(gen7_0_0_vpc_cluster_vpc_ps_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
630
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_noncontext_pipe_br_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
639
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_noncontext_pipe_br_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
648
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_noncontext_pipe_br_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
655
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_noncontext_pipe_lpac_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
662
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_noncontext_pipe_lpac_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
669
static_assert(IS_ALIGNED(sizeof(gen7_0_0_sp_noncontext_pipe_lpac_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
677
static_assert(IS_ALIGNED(sizeof(gen7_0_0_tpl1_noncontext_pipe_none_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
684
static_assert(IS_ALIGNED(sizeof(gen7_0_0_tpl1_noncontext_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
691
static_assert(IS_ALIGNED(sizeof(gen7_0_0_tpl1_noncontext_pipe_lpac_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
887
static_assert(IS_ALIGNED(sizeof(gen7_0_0_rscc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
897
static_assert(IS_ALIGNED(sizeof(gen7_0_0_cpr_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
909
static_assert(IS_ALIGNED(sizeof(gen7_0_0_gpucc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
915
static_assert(IS_ALIGNED(sizeof(gen7_0_0_cx_misc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h
922
static_assert(IS_ALIGNED(sizeof(gen7_0_0_dpm_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
225
static_assert(IS_ALIGNED(sizeof(gen7_2_0_gpu_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
265
static_assert(IS_ALIGNED(sizeof(gen7_2_0_gmu_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
282
static_assert(IS_ALIGNED(sizeof(gen7_2_0_gmugx_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
295
static_assert(IS_ALIGNED(sizeof(gen7_2_0_noncontext_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
308
static_assert(IS_ALIGNED(sizeof(gen7_2_0_noncontext_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
314
static_assert(IS_ALIGNED(sizeof(gen7_2_0_noncontext_rb_rac_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
323
static_assert(IS_ALIGNED(sizeof(gen7_2_0_noncontext_rb_rbp_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
332
static_assert(IS_ALIGNED(sizeof(gen7_2_0_gras_cluster_gras_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
341
static_assert(IS_ALIGNED(sizeof(gen7_2_0_gras_cluster_gras_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
356
static_assert(IS_ALIGNED(sizeof(gen7_2_0_rb_rac_cluster_ps_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
366
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_ps_pipe_br_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
376
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_ps_pipe_br_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
386
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_ps_pipe_br_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
394
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_ps_pipe_lpac_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
401
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_ps_pipe_lpac_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
409
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_ps_pipe_lpac_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
421
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_vs_pipe_br_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
432
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_vs_pipe_br_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
441
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_vs_pipe_br_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
453
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_vs_pipe_bv_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
463
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_vs_pipe_bv_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
472
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_cluster_sp_vs_pipe_bv_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
478
static_assert(IS_ALIGNED(sizeof(gen7_2_0_sp_noncontext_pipe_lpac_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
667
static_assert(IS_ALIGNED(sizeof(gen7_2_0_dbgc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
696
static_assert(IS_ALIGNED(sizeof(gen7_2_0_rscc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
706
static_assert(IS_ALIGNED(sizeof(gen7_2_0_cpr_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
713
static_assert(IS_ALIGNED(sizeof(gen7_2_0_dpm_lkg_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
727
static_assert(IS_ALIGNED(sizeof(gen7_2_0_gpucc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
733
static_assert(IS_ALIGNED(sizeof(gen7_2_0_cx_misc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h
740
static_assert(IS_ALIGNED(sizeof(gen7_2_0_dpm_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1008
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_lpac_cluster_sp_ps_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1021
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_lpac_cluster_sp_ps_hlsq_dp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1036
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_lpac_cluster_sp_ps_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1051
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_lpac_cluster_sp_ps_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1064
static_assert(IS_ALIGNED(sizeof(gen7_9_0_tpl1_pipe_br_cluster_sp_vs_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1078
static_assert(IS_ALIGNED(sizeof(gen7_9_0_tpl1_pipe_br_cluster_sp_ps_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1091
static_assert(IS_ALIGNED(sizeof(gen7_9_0_tpl1_pipe_bv_cluster_sp_vs_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1105
static_assert(IS_ALIGNED(sizeof(gen7_9_0_tpl1_pipe_lpac_cluster_sp_ps_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1356
static_assert(IS_ALIGNED(sizeof(gen7_9_0_cpr_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1363
static_assert(IS_ALIGNED(sizeof(gen7_9_0_dpm_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1370
static_assert(IS_ALIGNED(sizeof(gen7_9_0_dpm_leakage_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1378
static_assert(IS_ALIGNED(sizeof(gen7_9_0_gfx_gpu_acd_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1391
static_assert(IS_ALIGNED(sizeof(gen7_9_0_gpucc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1407
static_assert(IS_ALIGNED(sizeof(gen7_9_0_isense_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
1436
static_assert(IS_ALIGNED(sizeof(gen7_9_0_rscc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
223
static_assert(IS_ALIGNED(sizeof(gen7_9_0_pre_crashdumper_gpu_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
282
static_assert(IS_ALIGNED(sizeof(gen7_9_0_gpu_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
289
static_assert(IS_ALIGNED(sizeof(gen7_9_0_gxclkctl_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
333
static_assert(IS_ALIGNED(sizeof(gen7_9_0_gmu_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
354
static_assert(IS_ALIGNED(sizeof(gen7_9_0_gmugx_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
366
static_assert(IS_ALIGNED(sizeof(gen7_9_0_cx_misc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
381
static_assert(IS_ALIGNED(sizeof(gen7_9_0_dbgc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
393
static_assert(IS_ALIGNED(sizeof(gen7_9_0_cx_dbgc_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
414
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_pipe_br_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
435
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_pipe_bv_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
449
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_pipe_lpac_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
462
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_rb_pipe_br_rac_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
477
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_rb_pipe_br_rbp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
490
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_sp_pipe_br_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
505
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_sp_pipe_br_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
520
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_sp_pipe_br_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
533
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_sp_pipe_br_hlsq_dp_str_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
546
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_sp_pipe_lpac_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
559
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_sp_pipe_lpac_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
572
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_sp_pipe_lpac_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
586
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_tpl1_pipe_none_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
599
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_tpl1_pipe_br_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
612
static_assert(IS_ALIGNED(sizeof(gen7_9_0_non_context_tpl1_pipe_lpac_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
627
static_assert(IS_ALIGNED(sizeof(gen7_9_0_gras_pipe_br_cluster_gras_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
642
static_assert(IS_ALIGNED(sizeof(gen7_9_0_gras_pipe_bv_cluster_gras_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
655
static_assert(IS_ALIGNED(sizeof(gen7_9_0_pc_pipe_br_cluster_fe_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
668
static_assert(IS_ALIGNED(sizeof(gen7_9_0_pc_pipe_bv_cluster_fe_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
680
static_assert(IS_ALIGNED(sizeof(gen7_9_0_vfd_pipe_br_cluster_fe_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
692
static_assert(IS_ALIGNED(sizeof(gen7_9_0_vfd_pipe_bv_cluster_fe_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
704
static_assert(IS_ALIGNED(sizeof(gen7_9_0_vpc_pipe_br_cluster_fe_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
716
static_assert(IS_ALIGNED(sizeof(gen7_9_0_vpc_pipe_br_cluster_pc_vs_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
729
static_assert(IS_ALIGNED(sizeof(gen7_9_0_vpc_pipe_br_cluster_vpc_ps_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
741
static_assert(IS_ALIGNED(sizeof(gen7_9_0_vpc_pipe_bv_cluster_fe_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
753
static_assert(IS_ALIGNED(sizeof(gen7_9_0_vpc_pipe_bv_cluster_pc_vs_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
766
static_assert(IS_ALIGNED(sizeof(gen7_9_0_vpc_pipe_bv_cluster_vpc_ps_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
787
static_assert(IS_ALIGNED(sizeof(gen7_9_0_rb_pipe_br_cluster_ps_rac_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
807
static_assert(IS_ALIGNED(sizeof(gen7_9_0_rb_pipe_br_cluster_ps_rbp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
827
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_br_cluster_sp_vs_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
845
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_br_cluster_sp_vs_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
861
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_br_cluster_sp_vs_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
879
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_br_cluster_sp_ps_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
892
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_br_cluster_sp_ps_hlsq_dp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
909
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_br_cluster_sp_ps_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
926
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_br_cluster_sp_ps_usptp_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
939
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_br_cluster_sp_ps_hlsq_dp_str_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
958
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_bv_cluster_sp_vs_hlsq_state_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
976
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_bv_cluster_sp_vs_sp_top_registers), 8));
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h
992
static_assert(IS_ALIGNED(sizeof(gen7_9_0_sp_pipe_bv_cluster_sp_vs_usptp_registers), 8));
drivers/gpu/drm/nouveau/include/nvif/ioctl.h
28
static_assert(offsetof(struct nvif_ioctl_v0, data) == sizeof(struct nvif_ioctl_v0_hdr),
drivers/gpu/drm/nouveau/include/nvif/ioctl.h
68
static_assert(offsetof(struct nvif_ioctl_mthd_v0, data) == sizeof(struct nvif_ioctl_mthd_v0_hdr),
drivers/gpu/drm/nouveau/include/nvif/push.h
86
static_assert( \
drivers/gpu/drm/panthor/panthor_sched.c
3261
static_assert(sizeof(instrs->buffer) % 64 == 0,
drivers/gpu/drm/panthor/panthor_sched.c
3265
static_assert(ALIGN(ARRAY_SIZE(instr_seq), NUM_INSTRS_PER_CACHE_LINE) ==
drivers/gpu/drm/vkms/vkms_composer.c
550
static_assert(sizeof(struct pixel_argb_u16) == 8);
drivers/gpu/drm/vkms/vkms_composer.c
97
static_assert(sizeof(struct drm_color_lut) == sizeof(__u16) * 4);
drivers/gpu/drm/xe/abi/guc_communication_ctb_abi.h
58
static_assert(sizeof(struct guc_ct_buffer_desc) == 64);
drivers/gpu/drm/xe/abi/guc_relay_communication_abi.h
98
static_assert(PF2GUC_RELAY_TO_VF_REQUEST_MSG_MIN_LEN >
drivers/gpu/drm/xe/regs/xe_reg_defs.h
61
static_assert(sizeof(struct xe_reg) == sizeof(u32));
drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
61
static_assert(IS_ALIGNED(sizeof(*payload), sizeof(u32)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
286
static_assert(hxg_sizeof(struct reg_data) == 2);
drivers/gpu/drm/xe/xe_sriov_pf_provision_types.h
26
static_assert(XE_SRIOV_PROVISIONING_MODE_AUTO == 0);
drivers/gpu/drm/xe/xe_sriov_types.h
38
static_assert(XE_SRIOV_MODE_NONE);
drivers/gpu/drm/xe/xe_uc_fw_abi.h
104
static_assert(sizeof(struct uc_css_header) == 128);
drivers/gpu/drm/xe/xe_wa.c
889
static_assert(ARRAY_SIZE(oob_was) - 1 == _XE_WA_OOB_COUNT);
drivers/gpu/drm/xe/xe_wa.c
896
static_assert(ARRAY_SIZE(device_oob_was) - 1 == _XE_DEVICE_WA_OOB_COUNT);
drivers/hid/hid-nvidia-shield.c
104
static_assert(sizeof(enum thunderstrike_led_state) == 1);
drivers/hid/hid-nvidia-shield.c
121
static_assert(sizeof(enum thunderstrike_charger_type) == 1);
drivers/hid/hid-nvidia-shield.c
130
static_assert(sizeof(enum thunderstrike_charger_state) == 1);
drivers/hid/hid-nvidia-shield.c
163
static_assert(sizeof(struct thunderstrike_hostcmd_resp_report) ==
drivers/hid/hid-nvidia-shield.c
183
static_assert(sizeof(struct thunderstrike_hostcmd_req_report) ==
drivers/hid/hid-playstation.c
233
static_assert(sizeof(struct dualsense_touch_point) == 4);
drivers/hid/hid-playstation.c
258
static_assert(sizeof(struct dualsense_input_report) == DS_INPUT_REPORT_USB_SIZE - 1);
drivers/hid/hid-playstation.c
290
static_assert(sizeof(struct dualsense_output_report_common) == 47);
drivers/hid/hid-playstation.c
300
static_assert(sizeof(struct dualsense_output_report_bt) == DS_OUTPUT_REPORT_BT_SIZE);
drivers/hid/hid-playstation.c
307
static_assert(sizeof(struct dualsense_output_report_usb) == DS_OUTPUT_REPORT_USB_SIZE);
drivers/hid/hid-playstation.c
451
static_assert(sizeof(struct dualshock4_touch_point) == 4);
drivers/hid/hid-playstation.c
457
static_assert(sizeof(struct dualshock4_touch_report) == 9);
drivers/hid/hid-playstation.c
476
static_assert(sizeof(struct dualshock4_input_report_common) == 32);
drivers/hid/hid-playstation.c
485
static_assert(sizeof(struct dualshock4_input_report_usb) == DS4_INPUT_REPORT_USB_SIZE);
drivers/hid/hid-playstation.c
496
static_assert(sizeof(struct dualshock4_input_report_bt) == DS4_INPUT_REPORT_BT_SIZE);
drivers/hid/hid-playstation.c
520
static_assert(sizeof(struct dualshock4_output_report_usb) == DS4_OUTPUT_REPORT_USB_SIZE);
drivers/hid/hid-playstation.c
530
static_assert(sizeof(struct dualshock4_output_report_bt) == DS4_OUTPUT_REPORT_BT_SIZE);
drivers/hid/surface-hid/surface_hid.c
33
static_assert(sizeof(struct surface_hid_buffer_slice) == 10);
drivers/hid/surface-hid/surface_hid_core.h
37
static_assert(sizeof(struct surface_hid_descriptor) == 9);
drivers/hid/surface-hid/surface_hid_core.h
47
static_assert(sizeof(struct surface_hid_attributes) == 32);
drivers/hv/mshv_debugfs.c
27
static_assert(HV_STATS_AREA_SELF == 0 && HV_STATS_AREA_PARENT == 1,
drivers/hv/mshv_root.h
28
static_assert(HV_HYP_PAGE_SIZE == MSHV_HV_PAGE_SIZE);
drivers/hv/mshv_root_main.c
1873
static_assert(MSHV_NUM_CPU_FEATURES_BANKS ==
drivers/hv/mshv_root_main.c
585
static_assert(sizeof(struct hv_message) <= MSHV_RUN_VP_BUF_SZ,
drivers/hwmon/surface_temp.c
38
static_assert(sizeof(struct ssam_tmp_get_name_rsp) == 21);
drivers/hwtracing/coresight/coresight-sysfs.c
474
static_assert(ARRAY_SIZE(coresight_dev_type) == CORESIGHT_DEV_TYPE_MAX);
drivers/i2c/busses/i2c-mpc.c
79
static_assert(ARRAY_SIZE(action_str) == __MPC_I2C_ACTION_CNT);
drivers/iio/adc/ad4130.c
606
static_assert(sizeof(*a) ==
drivers/iio/adc/ad7173.c
667
static_assert(sizeof_field(struct ad7173_channel_config, config_props) ==
drivers/iio/adc/ad7476.c
378
static_assert(ARRAY_SIZE(st->channel) == ARRAY_SIZE(st->chip_info->channel));
drivers/iio/adc/stm32-adc.c
2717
static_assert(ARRAY_SIZE(stm32_adc_min_ts_h7) == STM32_ADC_INT_CH_NB);
drivers/iio/adc/stm32-adc.c
2738
static_assert(ARRAY_SIZE(stm32_adc_min_ts_mp1) == STM32_ADC_INT_CH_NB);
drivers/iio/adc/stm32-adc.c
2760
static_assert(ARRAY_SIZE(stm32_adc_min_ts_mp13) == STM32_ADC_INT_CH_NB);
drivers/iio/adc/ti-ads1015.c
178
static_assert((_testbits) <= (_fitbits)); \
drivers/iio/pressure/abp2030pa.c
247
static_assert(ARRAY_SIZE(abp2_triplet_variants) == ARRAY_SIZE(abp2_range_config));
drivers/iio/proximity/sx9310.c
134
static_assert(SX9310_NUM_CHANNELS <= SX_COMMON_MAX_NUM_CHANNELS);
drivers/iio/proximity/sx_common.h
24
static_assert(SX_COMMON_MAX_NUM_CHANNELS < BITS_PER_LONG);
drivers/infiniband/hw/ionic/ionic_fw.h
670
static_assert(sizeof(struct ionic_admin_stats_hdr) ==
drivers/infiniband/hw/ionic/ionic_fw.h
684
static_assert(sizeof(struct ionic_admin_create_ah) ==
drivers/infiniband/hw/ionic/ionic_fw.h
692
static_assert(sizeof(struct ionic_admin_destroy_ah) ==
drivers/infiniband/hw/ionic/ionic_fw.h
700
static_assert(sizeof(struct ionic_admin_query_ah) ==
drivers/infiniband/hw/ionic/ionic_fw.h
718
static_assert(sizeof(struct ionic_admin_create_mr) ==
drivers/infiniband/hw/ionic/ionic_fw.h
726
static_assert(sizeof(struct ionic_admin_destroy_mr) ==
drivers/infiniband/hw/ionic/ionic_fw.h
744
static_assert(sizeof(struct ionic_admin_create_cq) ==
drivers/infiniband/hw/ionic/ionic_fw.h
752
static_assert(sizeof(struct ionic_admin_destroy_cq) ==
drivers/infiniband/hw/ionic/ionic_fw.h
781
static_assert(sizeof(struct ionic_admin_create_qp) ==
drivers/infiniband/hw/ionic/ionic_fw.h
789
static_assert(sizeof(struct ionic_admin_destroy_qp) ==
drivers/infiniband/hw/ionic/ionic_fw.h
825
static_assert(sizeof(struct ionic_admin_mod_qp) ==
drivers/infiniband/hw/ionic/ionic_fw.h
838
static_assert(sizeof(struct ionic_admin_query_qp) ==
drivers/infiniband/hw/mlx5/mlx5_ib.h
794
static_assert(sizeof(struct mlx5_mkeys_page) == PAGE_SIZE);
drivers/infiniband/hw/mlx5/umr.c
501
static_assert(PAGE_SIZE % MLX5_UMR_FLEX_ALIGNMENT == 0);
drivers/input/touchscreen/himax_hx83112b.c
59
static_assert(sizeof(struct himax_event) == 56);
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c
370
static_assert(sizeof(*cmds) == 2 * sizeof(u64));
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c
41
static_assert(PAGE_SIZE == SZ_4K || PAGE_SIZE == SZ_16K ||
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
52
static_assert(sizeof(struct arm_smmu_ste) == NUM_ENTRY_QWORDS * sizeof(u64));
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
53
static_assert(sizeof(struct arm_smmu_cd) == NUM_ENTRY_QWORDS * sizeof(u64));
drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c
906
static_assert(offsetof(struct tegra241_cmdqv, smmu) == 0);
drivers/iommu/generic_pt/iommu_pt.h
1209
static_assert(offsetof(struct pt_iommu_table, iommu.domain) == 0);
drivers/iommu/generic_pt/pt_iter.h
577
static_assert(PT_MAX_TOP_LEVEL <= 5); \
drivers/iommu/generic_pt/pt_iter.h
595
static_assert(PT_MAX_TOP_LEVEL <= 5);
drivers/iommu/generic_pt/pt_log2.h
15
static_assert(log2_to_int_t(unsigned int, 0) == 1);
drivers/iommu/generic_pt/pt_log2.h
22
static_assert(log2_div_t(unsigned int, 4, 2) == 1);
drivers/iommu/generic_pt/pt_log2.h
31
static_assert(log2_div_eq_t(unsigned int, 1, 1, 2));
drivers/iommu/generic_pt/pt_log2.h
36
static_assert(log2_mod_t(unsigned int, 1, 2) == 1);
drivers/iommu/generic_pt/pt_log2.h
45
static_assert(log2_mod_eq_max_t(unsigned int, 3, 2));
drivers/iommu/generic_pt/pt_log2.h
55
static_assert(log2_set_mod_t(unsigned int, 3, 1, 2) == 1);
drivers/iommu/generic_pt/pt_log2.h
64
static_assert(log2_set_mod_max_t(unsigned int, 2, 2) == 3);
drivers/iommu/generic_pt/pt_log2.h
68
static_assert(log2_mul_t(unsigned int, 2, 2) == 8);
drivers/iommu/iommu-pages.c
12
static_assert(offsetof(struct page, pg_elm) == \
drivers/iommu/iommu-pages.c
24
static_assert(sizeof(struct ioptdesc) <= sizeof(struct page));
drivers/iommu/iommu.c
1874
static_assert(!(IS_ENABLED(CONFIG_ARM_DMA_USE_IOMMU) &&
drivers/iommu/iommufd/eventq.c
194
static_assert((int)IOMMUFD_PAGE_RESP_SUCCESS ==
drivers/iommu/iommufd/eventq.c
196
static_assert((int)IOMMUFD_PAGE_RESP_INVALID ==
drivers/iommu/iommufd/selftest.c
1710
static_assert((unsigned int)MOCK_ACCESS_RW_WRITE == IOMMUFD_ACCESS_RW_WRITE);
drivers/iommu/iommufd/selftest.c
1711
static_assert((unsigned int)MOCK_ACCESS_RW_SLOW_PATH ==
drivers/iommu/iommufd/selftest.c
683
static_assert(sizeof(*cmds) == 3 * sizeof(u32));
drivers/iommu/iova.c
577
static_assert(!(sizeof(struct iova_magazine) & (sizeof(struct iova_magazine) - 1)));
drivers/leds/leds-cros_ec.c
27
static_assert(ARRAY_SIZE(cros_ec_led_functions) == EC_LED_ID_COUNT);
drivers/leds/leds-cros_ec.c
38
static_assert(ARRAY_SIZE(cros_ec_led_to_linux_id) == EC_LED_COLOR_COUNT);
drivers/md/bcache/bset.h
335
static_assert(offsetof(struct btree_iter_stack, iter.data) ==
drivers/md/dm-ioctl.c
1419
static_assert(__alignof__(struct dm_target_spec) <= 8,
drivers/media/platform/amlogic/c3/isp/c3-isp-params.c
551
static_assert(ARRAY_SIZE(c3_isp_params_handlers) ==
drivers/media/platform/arm/mali-c55/mali-c55-params.c
468
static_assert(ARRAY_SIZE(mali_c55_params_handlers) ==
drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c
587
static_assert(ARRAY_SIZE(rkisp1_clk_names) == ARRAY_SIZE(rkisp1->clks));
drivers/media/platform/rockchip/rkisp1/rkisp1-params.c
2220
static_assert(ARRAY_SIZE(rkisp1_ext_params_handlers) ==
drivers/media/platform/verisilicon/hantro_jpeg.c
162
static_assert(sizeof(hantro_jpeg_header) == JPEG_HEADER_SIZE);
drivers/media/platform/verisilicon/hantro_jpeg.c
170
static_assert(IS_ALIGNED(sizeof(hantro_jpeg_header), 8),
drivers/mmc/core/block.c
2820
static_assert(!CHECK_SIZE_NEQ(512), "RPMB frame size must be 512 bytes");
drivers/net/can/dev/netlink.c
64
static_assert(__alignof__(*bt) <= NLA_ALIGNTO);
drivers/net/can/esd/esdacc.h
229
static_assert(sizeof(union acc_bmmsg) == ACC_CORE_DMAMSG_SIZE);
drivers/net/can/flexcan/flexcan-core.c
294
static_assert(sizeof(struct flexcan_regs) == 0x4 * 18 + 0xfb8);
drivers/net/can/spi/mcp251xfd/mcp251xfd.h
390
static_assert(MCP251XFD_TIMESTAMP_WORK_DELAY_SEC <
drivers/net/can/spi/mcp251xfd/mcp251xfd.h
426
static_assert(MCP251XFD_FIFO_TEF_NUM == 1U);
drivers/net/can/spi/mcp251xfd/mcp251xfd.h
427
static_assert(MCP251XFD_FIFO_TEF_NUM == MCP251XFD_FIFO_TX_NUM);
drivers/net/can/spi/mcp251xfd/mcp251xfd.h
428
static_assert(MCP251XFD_FIFO_RX_NUM <= 4U);
drivers/net/can/usb/gs_usb.c
54
static_assert(GS_USB_TIMESTAMP_WORK_DELAY_SEC <
drivers/net/dsa/realtek/rtl8365mb.c
449
static_assert(ARRAY_SIZE(rtl8365mb_mib_counters) == RTL8365MB_MIB_END);
drivers/net/ethernet/google/gve/gve_adminq.h
106
static_assert(sizeof(struct gve_device_option) == 8);
drivers/net/ethernet/google/gve/gve_adminq.h
112
static_assert(sizeof(struct gve_device_option_gqi_rda) == 4);
drivers/net/ethernet/google/gve/gve_adminq.h
118
static_assert(sizeof(struct gve_device_option_gqi_qpl) == 4);
drivers/net/ethernet/google/gve/gve_adminq.h
125
static_assert(sizeof(struct gve_device_option_dqo_rda) == 8);
drivers/net/ethernet/google/gve/gve_adminq.h
133
static_assert(sizeof(struct gve_device_option_dqo_qpl) == 8);
drivers/net/ethernet/google/gve/gve_adminq.h
141
static_assert(sizeof(struct gve_device_option_jumbo_frames) == 8);
drivers/net/ethernet/google/gve/gve_adminq.h
150
static_assert(sizeof(struct gve_device_option_buffer_sizes) == 8);
drivers/net/ethernet/google/gve/gve_adminq.h
160
static_assert(sizeof(struct gve_device_option_modify_ring) == 12);
drivers/net/ethernet/google/gve/gve_adminq.h
168
static_assert(sizeof(struct gve_device_option_flow_steering) == 12);
drivers/net/ethernet/google/gve/gve_adminq.h
176
static_assert(sizeof(struct gve_device_option_rss_config) == 8);
drivers/net/ethernet/google/gve/gve_adminq.h
182
static_assert(sizeof(struct gve_device_option_nic_timestamp) == 4);
drivers/net/ethernet/google/gve/gve_adminq.h
266
static_assert(sizeof(struct gve_adminq_extended_command) == 16);
drivers/net/ethernet/google/gve/gve_adminq.h
286
static_assert(sizeof(struct gve_adminq_verify_driver_compatibility) == 16);
drivers/net/ethernet/google/gve/gve_adminq.h
299
static_assert(sizeof(struct gve_adminq_configure_device_resources) == 40);
drivers/net/ethernet/google/gve/gve_adminq.h
308
static_assert(sizeof(struct gve_adminq_register_page_list) == 24);
drivers/net/ethernet/google/gve/gve_adminq.h
314
static_assert(sizeof(struct gve_adminq_unregister_page_list) == 4);
drivers/net/ethernet/google/gve/gve_adminq.h
331
static_assert(sizeof(struct gve_adminq_create_tx_queue) == 48);
drivers/net/ethernet/google/gve/gve_adminq.h
351
static_assert(sizeof(struct gve_adminq_create_rx_queue) == 56);
drivers/net/ethernet/google/gve/gve_adminq.h
364
static_assert(sizeof(struct gve_queue_resources) == 64);
drivers/net/ethernet/google/gve/gve_adminq.h
370
static_assert(sizeof(struct gve_adminq_destroy_tx_queue) == 4);
drivers/net/ethernet/google/gve/gve_adminq.h
376
static_assert(sizeof(struct gve_adminq_destroy_rx_queue) == 4);
drivers/net/ethernet/google/gve/gve_adminq.h
389
static_assert(sizeof(struct gve_adminq_set_driver_parameter) == 16);
drivers/net/ethernet/google/gve/gve_adminq.h
397
static_assert(sizeof(struct gve_adminq_report_stats) == 24);
drivers/net/ethernet/google/gve/gve_adminq.h
403
static_assert(sizeof(struct gve_adminq_report_link_speed) == 8);
drivers/net/ethernet/google/gve/gve_adminq.h
410
static_assert(sizeof(struct gve_adminq_report_nic_ts) == 16);
drivers/net/ethernet/google/gve/gve_adminq.h
426
static_assert(sizeof(struct stats) == 16);
drivers/net/ethernet/google/gve/gve_adminq.h
433
static_assert(sizeof(struct gve_stats_report) == 8);
drivers/net/ethernet/google/gve/gve_adminq.h
528
static_assert(sizeof(struct gve_adminq_configure_flow_rule) == 92);
drivers/net/ethernet/google/gve/gve_adminq.h
550
static_assert(sizeof(struct gve_adminq_query_flow_rules) == 24);
drivers/net/ethernet/google/gve/gve_adminq.h
574
static_assert(sizeof(struct gve_adminq_configure_rss) == 24);
drivers/net/ethernet/google/gve/gve_adminq.h
588
static_assert(sizeof(struct gve_adminq_query_rss) == 16);
drivers/net/ethernet/google/gve/gve_adminq.h
620
static_assert(sizeof(union gve_adminq_command) == 64);
drivers/net/ethernet/google/gve/gve_adminq.h
80
static_assert(sizeof(struct gve_adminq_describe_device) == 16);
drivers/net/ethernet/google/gve/gve_adminq.h
98
static_assert(sizeof(struct gve_device_descriptor) == 40);
drivers/net/ethernet/google/gve/gve_desc.h
95
static_assert(sizeof(struct gve_rx_desc) == 64);
drivers/net/ethernet/google/gve/gve_desc_dqo.h
114
static_assert(sizeof(struct gve_tx_general_context_desc_dqo) == 16);
drivers/net/ethernet/google/gve/gve_desc_dqo.h
142
static_assert(sizeof(struct gve_tx_metadata_dqo) == 12);
drivers/net/ethernet/google/gve/gve_desc_dqo.h
172
static_assert(sizeof(struct gve_tx_compl_desc) == 8);
drivers/net/ethernet/google/gve/gve_desc_dqo.h
193
static_assert(sizeof(struct gve_rx_desc_dqo) == 32);
drivers/net/ethernet/google/gve/gve_desc_dqo.h
255
static_assert(sizeof(struct gve_rx_compl_desc_dqo) == 32);
drivers/net/ethernet/google/gve/gve_desc_dqo.h
43
static_assert(sizeof(struct gve_tx_pkt_desc_dqo) == 16);
drivers/net/ethernet/google/gve/gve_desc_dqo.h
68
static_assert(sizeof(struct gve_tx_context_cmd_dtype) == 2);
drivers/net/ethernet/google/gve/gve_desc_dqo.h
93
static_assert(sizeof(struct gve_tx_tso_context_desc_dqo) == 16);
drivers/net/ethernet/google/gve/gve_tx.c
455
static_assert(NAPI_POLL_WEIGHT >= MAX_TX_DESC_NEEDED);
drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.h
75
static_assert(sizeof(struct cmdq_wqe) == 64);
drivers/net/ethernet/huawei/hinic3/hinic3_hwif.h
38
static_assert(sizeof(struct hinic3_func_attr) == 20);
drivers/net/ethernet/intel/iavf/iavf_type.h
290
static_assert(sizeof(struct iavf_rx_desc) == 32);
drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
516
static_assert(sizeof(struct ice_aqc_recipe_to_profile) == 16);
drivers/net/ethernet/intel/ice/ice_ddp.c
2494
static_assert(ICE_PKG_BUF_SIZE == ICE_AQ_MAX_BUF_LEN);
drivers/net/ethernet/intel/ice/ice_flow.h
321
static_assert(ICE_FLOW_FIELD_IDX_MAX <= 64, "The total number of enums must not exceed 64");
drivers/net/ethernet/intel/ice/ice_switch.c
5057
static_assert(sizeof_field(struct ice_aqc_recipe_data_elem, recipe_bitmap) ==
drivers/net/ethernet/intel/idpf/virtchnl2.h
26
static_assert((n) == sizeof(struct X))
drivers/net/ethernet/intel/idpf/xdp.h
123
static_assert(sizeof(struct idpf_xdp_rx_desc) ==
drivers/net/ethernet/marvell/octeon_ep/octep_rx.h
24
static_assert(sizeof(struct octep_oq_desc_hw) == 16);
drivers/net/ethernet/marvell/octeon_ep/octep_rx.h
64
static_assert(sizeof(struct octep_oq_resp_hw_ext) == 8);
drivers/net/ethernet/marvell/octeon_ep/octep_rx.h
77
static_assert(sizeof(struct octep_oq_resp_hw) == 8);
drivers/net/ethernet/marvell/octeon_ep/octep_tx.h
242
static_assert(sizeof(struct octep_instr_hdr) == 8);
drivers/net/ethernet/marvell/octeon_ep/octep_tx.h
287
static_assert(sizeof(struct tx_mdata) == 16);
drivers/net/ethernet/marvell/octeon_ep/octep_tx.h
314
static_assert(sizeof(struct octep_tx_desc_hw) == 64);
drivers/net/ethernet/marvell/octeon_ep/octep_tx.h
40
static_assert(sizeof(struct octep_tx_sglist_desc) == 40);
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.h
24
static_assert(sizeof(struct octep_vf_oq_desc_hw) == 16);
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.h
64
static_assert(sizeof(struct octep_vf_oq_resp_hw_ext) == 8);
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.h
77
static_assert(sizeof(struct octep_vf_oq_resp_hw) == 8);
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_tx.h
200
static_assert(sizeof(struct octep_vf_instr_hdr) == 8);
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_tx.h
244
static_assert(sizeof(struct tx_mdata) == 16);
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_tx.h
273
static_assert(sizeof(struct octep_vf_tx_desc_hw) == 64);
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_tx.h
40
static_assert(sizeof(struct octep_vf_tx_sglist_desc) == 40);
drivers/net/ethernet/marvell/octeontx2/af/cn20k/struct.h
106
static_assert(sizeof(struct nix_cn20k_sq_ctx_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/cn20k/struct.h
151
static_assert(sizeof(struct nix_cn20k_sq_ctx_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/cn20k/struct.h
243
static_assert(sizeof(struct nix_cn20k_rq_ctx_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/cn20k/struct.h
300
static_assert(sizeof(struct npa_cn20k_aura_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/cn20k/struct.h
378
static_assert(sizeof(struct npa_cn20k_pool_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h
379
static_assert(sizeof(struct nix_cq_ctx_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h
470
static_assert(sizeof(struct nix_cn10k_rq_ctx_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h
535
static_assert(sizeof(struct nix_cn10k_sq_ctx_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h
608
static_assert(sizeof(struct nix_rq_ctx_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h
684
static_assert(sizeof(struct nix_sq_ctx_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h
694
static_assert(sizeof(struct nix_rsse_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h
709
static_assert(sizeof(struct nix_rx_mce_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h
795
static_assert(sizeof(struct nix_bandprof_s) == NIX_MAX_CTX_SIZE);
drivers/net/ethernet/mellanox/mlx5/core/en.h
251
static_assert(offsetof(struct mlx5e_umr_wqe, inline_mtts) == sizeof(struct mlx5e_umr_wqe_hdr),
drivers/net/ethernet/mellanox/mlx5/core/eq.c
45
static_assert(MLX5_EQ_POLLING_BUDGET <= MLX5_NUM_SPARE_EQE);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h
109
static_assert(MLX5_ESW_BRIDGE_MCAST_TABLE_SIZE == 8192);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h
57
static_assert(MLX5_ESW_BRIDGE_INGRESS_TABLE_SIZE == 1048576);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h
80
static_assert(MLX5_ESW_BRIDGE_EGRESS_TABLE_SIZE == 524288);
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.c
62
static_assert(ARRAY_SIZE(mlx5hws_action_type_str) == MLX5HWS_ACTION_TYP_MAX,
drivers/net/ethernet/netronome/nfp/crypto/fw.h
48
static_assert(offsetof(struct nfp_crypto_req_add_front, l3_addrs) ==
drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c
44
static_assert(offsetof(struct nfp_dump_tl, data) == sizeof(struct nfp_dump_tl_hdr),
drivers/net/ethernet/pensando/ionic/ionic_dev.h
101
static_assert(sizeof(struct ionic_q_init_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
102
static_assert(sizeof(struct ionic_q_init_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
103
static_assert(sizeof(struct ionic_q_control_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
104
static_assert(sizeof(ionic_q_control_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
105
static_assert(sizeof(struct ionic_q_identify_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
106
static_assert(sizeof(struct ionic_q_identify_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
108
static_assert(sizeof(struct ionic_rx_mode_set_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
109
static_assert(sizeof(ionic_rx_mode_set_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
110
static_assert(sizeof(struct ionic_rx_filter_add_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
111
static_assert(sizeof(struct ionic_rx_filter_add_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
112
static_assert(sizeof(struct ionic_rx_filter_del_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
113
static_assert(sizeof(ionic_rx_filter_del_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
116
static_assert(sizeof(struct ionic_rdma_reset_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
117
static_assert(sizeof(struct ionic_rdma_queue_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
120
static_assert(sizeof(struct ionic_notifyq_cmd) == 4);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
121
static_assert(sizeof(union ionic_notifyq_comp) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
122
static_assert(sizeof(struct ionic_notifyq_event) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
123
static_assert(sizeof(struct ionic_link_change_event) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
124
static_assert(sizeof(struct ionic_reset_event) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
125
static_assert(sizeof(struct ionic_heartbeat_event) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
126
static_assert(sizeof(struct ionic_log_event) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
129
static_assert(sizeof(struct ionic_txq_desc) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
130
static_assert(sizeof(struct ionic_txq_sg_desc) == 128);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
131
static_assert(sizeof(struct ionic_txq_sg_desc_v1) == 256);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
132
static_assert(sizeof(struct ionic_txq_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
134
static_assert(sizeof(struct ionic_rxq_desc) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
135
static_assert(sizeof(struct ionic_rxq_sg_desc) == 128);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
136
static_assert(sizeof(struct ionic_rxq_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
137
static_assert(sizeof(struct ionic_rxq_comp) == sizeof(struct ionic_txq_comp));
drivers/net/ethernet/pensando/ionic/ionic_dev.h
140
static_assert(sizeof(struct ionic_vf_setattr_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
141
static_assert(sizeof(struct ionic_vf_setattr_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
142
static_assert(sizeof(struct ionic_vf_getattr_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
143
static_assert(sizeof(struct ionic_vf_getattr_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
144
static_assert(sizeof(struct ionic_vf_ctrl_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
145
static_assert(sizeof(struct ionic_vf_ctrl_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
52
static_assert(sizeof(struct ionic_intr) == 32);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
54
static_assert(sizeof(struct ionic_doorbell) == 8);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
55
static_assert(sizeof(struct ionic_intr_status) == 8);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
56
static_assert(sizeof(union ionic_dev_regs) == 4096);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
57
static_assert(sizeof(union ionic_dev_info_regs) == 2048);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
58
static_assert(sizeof(union ionic_dev_cmd_regs) == 2048);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
59
static_assert(sizeof(struct ionic_lif_stats) == 1024);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
61
static_assert(sizeof(struct ionic_admin_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
62
static_assert(sizeof(struct ionic_admin_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
63
static_assert(sizeof(struct ionic_nop_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
64
static_assert(sizeof(struct ionic_nop_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
67
static_assert(sizeof(struct ionic_dev_identify_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
68
static_assert(sizeof(struct ionic_dev_identify_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
69
static_assert(sizeof(struct ionic_dev_init_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
70
static_assert(sizeof(struct ionic_dev_init_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
71
static_assert(sizeof(struct ionic_dev_reset_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
72
static_assert(sizeof(struct ionic_dev_reset_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
73
static_assert(sizeof(struct ionic_dev_getattr_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
74
static_assert(sizeof(struct ionic_dev_getattr_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
75
static_assert(sizeof(struct ionic_dev_setattr_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
76
static_assert(sizeof(struct ionic_dev_setattr_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
77
static_assert(sizeof(struct ionic_lif_setphc_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
80
static_assert(sizeof(struct ionic_port_identify_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
81
static_assert(sizeof(struct ionic_port_identify_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
82
static_assert(sizeof(struct ionic_port_init_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
83
static_assert(sizeof(struct ionic_port_init_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
84
static_assert(sizeof(struct ionic_port_reset_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
85
static_assert(sizeof(struct ionic_port_reset_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
86
static_assert(sizeof(struct ionic_port_getattr_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
87
static_assert(sizeof(struct ionic_port_getattr_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
88
static_assert(sizeof(struct ionic_port_setattr_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
89
static_assert(sizeof(struct ionic_port_setattr_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
92
static_assert(sizeof(struct ionic_lif_init_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
93
static_assert(sizeof(struct ionic_lif_init_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
94
static_assert(sizeof(struct ionic_lif_reset_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
95
static_assert(sizeof(ionic_lif_reset_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
96
static_assert(sizeof(struct ionic_lif_getattr_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
97
static_assert(sizeof(struct ionic_lif_getattr_comp) == 16);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
98
static_assert(sizeof(struct ionic_lif_setattr_cmd) == 64);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
99
static_assert(sizeof(struct ionic_lif_setattr_comp) == 16);
drivers/net/phy/marvell.c
324
static_assert(ARRAY_SIZE(marvell_hw_stats) <= NB_STAT_MAX);
drivers/net/phy/marvell.c
339
static_assert(ARRAY_SIZE(marvell_hw_stats_simple) <= NB_STAT_MAX);
drivers/net/virtio_net.c
490
static_assert(offsetof(struct virtnet_info, rss_trailer.hash_key_data) ==
drivers/net/wireless/intel/ipw2x00/libipw.h
357
static_assert(offsetof(struct libipw_hdr_3addr, payload) == sizeof(struct libipw_hdr_3addr_hdr),
drivers/net/wireless/intel/iwlegacy/commands.h
1171
static_assert(offsetof(struct il3945_rx_frame_stats, payload) == sizeof(struct il3945_rx_frame_stats_hdr),
drivers/net/wireless/intel/iwlegacy/commands.h
1185
static_assert(offsetof(struct il3945_rx_frame_hdr, payload) == sizeof(struct il3945_rx_frame_hdr_hdr),
drivers/net/wireless/intel/iwlegacy/commands.h
1423
static_assert(offsetof(struct il3945_tx_cmd, hdr) == sizeof(struct il3945_tx_cmd_hdr),
drivers/net/wireless/intel/iwlegacy/commands.h
1529
static_assert(offsetof(struct il_tx_cmd, hdr) == sizeof(struct il_tx_cmd_hdr),
drivers/net/wireless/intel/iwlwifi/dvm/commands.h
1262
static_assert(offsetof(struct iwl_tx_cmd, hdr) == sizeof(struct iwl_tx_cmd_hdr),
drivers/net/wireless/marvell/mwl8k.c
600
static_assert(offsetof(struct mwl8k_cmd_pkt, payload) == sizeof(struct mwl8k_cmd_pkt_hdr),
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
136
static_assert(offsetof(struct mt76_connac2_mcu_rxd, tlv) == sizeof(struct mt76_connac2_mcu_rxd_hdr),
drivers/net/wireless/quantenna/qtnfmac/qlink.h
1520
static_assert(offsetof(struct qlink_tlv_hdr, val) == sizeof(struct qlink_tlv_hdr_fixed),
drivers/net/wireless/realtek/rtw88/rtw8812a.c
1036
static_assert(ARRAY_SIZE(rf_para_tx_8812a) == ARRAY_SIZE(rf_para_rx_8812a));
drivers/net/wireless/realtek/rtw88/rtw8814a.c
2178
static_assert(ARRAY_SIZE(rf_para_tx_8814a) == ARRAY_SIZE(rf_para_rx_8814a));
drivers/net/wireless/realtek/rtw88/rtw8814a.h
58
static_assert(sizeof(struct rtw8814a_efuse) == 512);
drivers/net/wireless/realtek/rtw88/rtw8821a.c
1109
static_assert(ARRAY_SIZE(rf_para_tx_8821a) == ARRAY_SIZE(rf_para_rx_8821a));
drivers/net/wireless/realtek/rtw88/rtw8821c.c
1840
static_assert(ARRAY_SIZE(rf_para_tx_8821c) == ARRAY_SIZE(rf_para_rx_8821c));
drivers/net/wireless/realtek/rtw88/rtw8822b.c
2352
static_assert(ARRAY_SIZE(rf_para_tx_8822b) == ARRAY_SIZE(rf_para_rx_8822b));
drivers/net/wireless/realtek/rtw88/rtw8822c.c
5152
static_assert(ARRAY_SIZE(rf_para_tx_8822c) == ARRAY_SIZE(rf_para_rx_8822c));
drivers/net/wireless/realtek/rtw88/rtw88xxa.h
64
static_assert(sizeof(struct rtw88xxa_efuse) == 512);
drivers/net/wireless/realtek/rtw88/sar.c
65
static_assert(ARRAY_SIZE(rtw_common_sar_freq_ranges) == RTW_SAR_BAND_NR);
drivers/net/wireless/realtek/rtw88/tx.c
720
static_assert(ARRAY_SIZE(ac_to_hwq) == IEEE80211_NUM_ACS);
drivers/net/wireless/realtek/rtw89/chan.c
1020
static_assert((u8)NUM_OF_RTW89_CHANCTX >= NUM_OF_RTW89_MCC_ROLES);
drivers/net/wireless/realtek/rtw89/chan.c
1021
static_assert(RTW89_MAX_INTERFACE_NUM >= NUM_OF_RTW89_MCC_ROLES);
drivers/net/wireless/realtek/rtw89/core.c
87
static_assert(RTW89_5GHZ_UNII4_START_INDEX + RTW89_5GHZ_UNII4_CHANNEL_NUM ==
drivers/net/wireless/realtek/rtw89/debug.c
501
static_assert((ARRAY_SIZE(__txpwr_ent_byr_ax) * 4) ==
drivers/net/wireless/realtek/rtw89/debug.c
557
static_assert((ARRAY_SIZE(__txpwr_ent_lmt_ax) * 2) ==
drivers/net/wireless/realtek/rtw89/debug.c
585
static_assert((ARRAY_SIZE(__txpwr_ent_lmt_ru_ax) * 8) ==
drivers/net/wireless/realtek/rtw89/fw.c
5276
static_assert(RTW89_THERMAL_PROT_LV_MAX * RTW89_THERMAL_PROT_STEP < 100);
drivers/net/wireless/realtek/rtw89/fw.c
6343
static_assert(sizeof(*elem) == RTW89_MAC_CHINFO_SIZE);
drivers/net/wireless/realtek/rtw89/fw.c
6421
static_assert(sizeof(*elem) == RTW89_MAC_CHINFO_SIZE_BE);
drivers/net/wireless/realtek/rtw89/fw.h
3809
static_assert(sizeof(skb->cb) >= sizeof(struct rtw89_fw_c2h_attr));
drivers/net/wireless/realtek/rtw89/fw.h
4035
static_assert(sizeof(struct rtw89_mac_mcc_tsf_rpt) <= RTW89_COMPLETION_BUF_SIZE);
drivers/net/wireless/realtek/rtw89/fw.h
4087
static_assert(sizeof(struct rtw89_mac_mrc_tsf_rpt) <= RTW89_COMPLETION_BUF_SIZE);
drivers/net/wireless/realtek/rtw89/mac.c
5696
static_assert(hweight32(RTW89_MAX_TX_RPTS_MASK) ==
drivers/net/wireless/realtek/rtw89/phy.c
2978
static_assert(ARRAY_SIZE(ofst) == RTW89_RU_SEC_NUM_AX);
drivers/net/wireless/realtek/rtw89/phy.c
7851
static_assert(ARRAY_SIZE(_rfk_handler) == RTW89_RFK_F_NUM);
drivers/net/wireless/realtek/rtw89/regd.c
22
static_assert(BITS_PER_TYPE(unsigned long) >= NUM_OF_RTW89_REGD_FUNC);
drivers/net/wireless/realtek/rtw89/regd.c
651
static_assert(ARRAY_SIZE(rtw89_regd_string) == RTW89_REGD_NUM);
drivers/net/wireless/realtek/rtw89/rtw8851b.c
1828
static_assert(ARRAY_SIZE(param_ ## _name) == __DFIR_CFG_NR)
drivers/net/wireless/realtek/rtw89/rtw8852b_common.c
1279
static_assert(ARRAY_SIZE(param_ ## _name) == __DFIR_CFG_NR)
drivers/net/wireless/realtek/rtw89/rtw8852c.c
2088
static_assert(ARRAY_SIZE(_prefix ## _ ## _name) == __DFIR_CFG_NR)
drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c
2707
static_assert(ARRAY_SIZE(kip_reg) == RTW8852C_DPK_KIP_REG_NUM);
drivers/net/wireless/realtek/rtw89/sar.c
409
static_assert(RTW89_SAR_SUBBAND_NR ==
drivers/net/wireless/realtek/rtw89/ser.c
633
static_assert(RTW89_FW_BACKTRACE_INFO_SIZE ==
drivers/net/wwan/t7xx/t7xx_pci.c
66
static_assert(ARRAY_SIZE(t7xx_mode_names) == T7XX_MODE_LAST);
drivers/nvme/host/apple.c
208
static_assert(sizeof(struct nvme_command) == 64);
drivers/nvme/host/apple.c
209
static_assert(sizeof(struct apple_nvmmu_tcb) == 128);
drivers/nvme/host/pci.c
72
static_assert(MAX_PRP_RANGE / NVME_CTRL_PAGE_SIZE <=
drivers/nvme/host/pci.c
936
static_assert(offsetof(union nvme_data_ptr, prp1) ==
drivers/pci/pcie/aspm.c
218
static_assert(PCIE_LINK_STATE_L0S == (PCIE_LINK_STATE_L0S_UP | PCIE_LINK_STATE_L0S_DW));
drivers/perf/arm-cmn.c
614
static_assert(sizeof(struct arm_cmn_hw_event) <= offsetof(struct hw_perf_event, target));
drivers/perf/arm_spe_pmu.c
49
static_assert((PERF_EVENT_FLAG_ARCH & SPE_PMU_HW_FLAGS_CX) == SPE_PMU_HW_FLAGS_CX);
drivers/pinctrl/cirrus/pinctrl-cs42l43.c
160
static_assert(ARRAY_SIZE(cs42l43_pin_funcs) == CS42L43_FUNC_MAX);
drivers/pinctrl/cirrus/pinctrl-cs42l43.c
161
static_assert(ARRAY_SIZE(cs42l43_pin_func_groups) == CS42L43_FUNC_MAX);
drivers/pinctrl/pinctrl-mlxbf3.c
243
static_assert(ARRAY_SIZE(mlxbf3_pinctrl_single_group_names) == MLXBF3_MAX_GPIO_PINS);
drivers/pinctrl/pinctrl-upboard.c
221
static_assert(ARRAY_SIZE(upboard_up_uart1_modes) == ARRAY_SIZE(upboard_up_uart1_pins));
drivers/pinctrl/pinctrl-upboard.c
249
static_assert(ARRAY_SIZE(upboard_up_spi2_modes) == ARRAY_SIZE(upboard_up_spi2_pins));
drivers/pinctrl/pinctrl-upboard.c
265
static_assert(ARRAY_SIZE(upboard_up_i2s0_pins) == ARRAY_SIZE(upboard_up_i2s0_modes));
drivers/pinctrl/pinctrl-upboard.c
501
static_assert(ARRAY_SIZE(upboard_up2_uart1_modes) == ARRAY_SIZE(upboard_up2_uart1_pins));
drivers/pinctrl/pinctrl-upboard.c
541
static_assert(ARRAY_SIZE(upboard_up2_spi_modes) == ARRAY_SIZE(upboard_up2_spi1_pins));
drivers/pinctrl/pinctrl-upboard.c
543
static_assert(ARRAY_SIZE(upboard_up2_spi_modes) == ARRAY_SIZE(upboard_up2_spi2_pins));
drivers/pinctrl/pinctrl-upboard.c
559
static_assert(ARRAY_SIZE(upboard_up2_i2s0_modes) == ARRAY_SIZE(upboard_up2_i2s0_pins));
drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c
730
static_assert(ARRAY_SIZE(starfive_pinconf_custom_conf_items) ==
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
144
static_assert(sizeof(struct vchiq_header) == 8);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
145
static_assert(VCHIQ_VERSION >= VCHIQ_VERSION_MIN);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
73
static_assert(VCHIQ_MSG_SRCPORT(VCHIQ_MAKE_MSG(0, 0, VCHIQ_PORT_MAX)) == 0);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
74
static_assert(VCHIQ_MSG_TYPE(VCHIQ_MAKE_MSG(0, VCHIQ_PORT_MAX, 0)) == 0);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
75
static_assert((unsigned int)VCHIQ_PORT_MAX < (unsigned int)VCHIQ_PORT_FREE);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
41
static_assert(ARRAY_SIZE(ioctl_names) == (VCHIQ_IOC_MAX + 1));
drivers/platform/surface/aggregator/controller.c
1871
static_assert(sizeof(struct ssh_notification_params) == 5);
drivers/platform/surface/surface_dtx.c
70
static_assert(sizeof(struct ssam_bas_base_info) == 2);
drivers/platform/wmi/core.c
138
static_assert(ARRAY_SIZE(wblock->gblock.object_id) == 2);
drivers/platform/wmi/core.c
139
static_assert(WMI_ACPI_METHOD_NAME_SIZE >= 5);
drivers/platform/wmi/core.c
55
static_assert(sizeof(typeof_member(struct guid_block, guid)) == 16);
drivers/platform/wmi/core.c
56
static_assert(sizeof(struct guid_block) == 20);
drivers/platform/wmi/core.c
57
static_assert(__alignof__(struct guid_block) == 1);
drivers/platform/wmi/string.c
19
static_assert(sizeof(__le16) == sizeof(wchar_t));
drivers/platform/x86/amd/hsmp/plat.c
90
static_assert(MAX_AMD_NUM_NODES == 8);
drivers/platform/x86/intel/int3472/clk_and_regulator.c
213
static_assert(GPIO_REGULATOR_SUPPLY_MAP_COUNT == 2);
drivers/power/supply/adc-battery-helper.c
203
static_assert(ARRAY_SIZE(adc_battery_helper_properties) ==
drivers/power/supply/surface_battery.c
72
static_assert(sizeof(struct spwr_bix) == 119);
drivers/power/supply/surface_battery.c
82
static_assert(sizeof(struct spwr_bst) == 16);
drivers/rpmsg/qcom_glink_native.c
44
static_assert(offsetof(struct glink_msg, data) == sizeof(struct glink_msg_hdr),
drivers/s390/char/uvdevice.c
46
static_assert(ARRAY_SIZE(ioctl_nr_to_uvc_bit) == UVIO_IOCTL_NUM_IOCTLS);
drivers/scsi/hpsa_cmd.h
467
static_assert(offsetof(struct CommandList, refcount) % __alignof__(atomic_t) == 0);
drivers/scsi/megaraid/megaraid_sas_fusion.h
1158
static_assert(offsetof(struct MR_FW_RAID_MAP_ALL, raidMap.ldSpanMap) ==
drivers/scsi/megaraid/megaraid_sas_fusion.h
1206
static_assert(offsetof(struct MR_DRV_RAID_MAP_ALL, raidMap.ldSpanMap) ==
drivers/soc/apple/rtkit-crashlog.c
35
static_assert(sizeof(struct apple_rtkit_crashlog_header) == 0x20);
drivers/soc/apple/rtkit-crashlog.c
43
static_assert(sizeof(struct apple_rtkit_crashlog_mbox_entry) == 0x18);
drivers/soc/apple/rtkit-crashlog.c
61
static_assert(sizeof(struct apple_rtkit_crashlog_regs) == 0x350);
drivers/soc/aspeed/aspeed-lpc-snoop.c
329
static_assert(ARRAY_SIZE(channel_cfgs) == ARRAY_SIZE(lpc_snoop->chan),
drivers/spi/spi-cadence-quadspi.c
36
static_assert(CQSPI_MAX_CHIPSELECT <= SPI_DEVICE_CS_CNT_MAX);
drivers/spi/spi-virtio.c
179
static_assert(VIRTIO_SPI_CPHA == SPI_CPHA,
drivers/spi/spi-virtio.c
181
static_assert(VIRTIO_SPI_CPOL == SPI_CPOL,
drivers/spi/spi-virtio.c
183
static_assert(VIRTIO_SPI_CS_HIGH == SPI_CS_HIGH,
drivers/spi/spi-virtio.c
185
static_assert(VIRTIO_SPI_MODE_LSB_FIRST == SPI_LSB_FIRST,
drivers/spi/spidev.c
48
static_assert(N_SPI_MINORS > 0 && N_SPI_MINORS <= 256);
drivers/staging/media/atomisp/pci/base/circbuf/interface/ia_css_circbuf_comm.h
41
static_assert(sizeof(struct ia_css_circbuf_desc_s) == SIZE_OF_IA_CSS_CIRCBUF_DESC_S_STRUCT);
drivers/staging/media/atomisp/pci/base/circbuf/interface/ia_css_circbuf_comm.h
54
static_assert(sizeof(struct ia_css_circbuf_elem_s) == SIZE_OF_IA_CSS_CIRCBUF_ELEM_S_STRUCT);
drivers/staging/media/atomisp/pci/ia_css_3a.h
76
static_assert(sizeof(struct ia_css_isp_3a_statistics) == SIZE_OF_IA_CSS_ISP_3A_STATISTICS_STRUCT);
drivers/staging/media/atomisp/pci/ia_css_dvs.h
51
static_assert(sizeof(struct ia_css_isp_dvs_statistics) == SIZE_OF_IA_CSS_ISP_DVS_STATISTICS_STRUCT);
drivers/staging/media/atomisp/pci/ia_css_metadata.h
46
static_assert(sizeof(struct ia_css_metadata) == SIZE_OF_IA_CSS_METADATA_STRUCT);
drivers/staging/media/atomisp/pci/runtime/spctrl/interface/ia_css_spctrl_comm.h
39
static_assert(sizeof(struct ia_css_sp_init_dmem_cfg) == SIZE_OF_IA_CSS_SP_INIT_DMEM_CFG_STRUCT);
drivers/staging/media/atomisp/pci/sh_css_internal.h
197
static_assert(sizeof(struct sh_css_ddr_address_map) == SIZE_OF_SH_CSS_DDR_ADDRESS_MAP_STRUCT);
drivers/staging/media/atomisp/pci/sh_css_internal.h
713
static_assert(sizeof(struct sh_css_hmm_buffer) == SIZE_OF_SH_CSS_HMM_BUFFER_STRUCT);
drivers/staging/media/atomisp/pci/sh_css_internal.h
734
static_assert(sizeof(struct sh_css_event_irq_mask) == SIZE_OF_SH_CSS_EVENT_IRQ_MASK_STRUCT);
drivers/staging/media/atomisp/pci/sh_css_internal.h
773
static_assert(sizeof(struct host_sp_communication) == SIZE_OF_HOST_SP_COMMUNICATION_STRUCT);
drivers/staging/media/atomisp/pci/sh_css_internal.h
845
static_assert(sizeof(struct host_sp_queues) == SIZE_OF_HOST_SP_QUEUES_STRUCT);
drivers/thermal/pcie_cooling.c
73
static_assert(PCIE_SPEED_2_5GT + 1 == PCIE_SPEED_5_0GT);
drivers/thermal/pcie_cooling.c
74
static_assert(PCIE_SPEED_5_0GT + 1 == PCIE_SPEED_8_0GT);
drivers/thermal/pcie_cooling.c
75
static_assert(PCIE_SPEED_8_0GT + 1 == PCIE_SPEED_16_0GT);
drivers/thermal/pcie_cooling.c
76
static_assert(PCIE_SPEED_16_0GT + 1 == PCIE_SPEED_32_0GT);
drivers/thermal/pcie_cooling.c
77
static_assert(PCIE_SPEED_32_0GT + 1 == PCIE_SPEED_64_0GT);
drivers/thermal/tegra/soctherm.c
362
static_assert(TEGRA114_SOCTHERM_SENSOR_CPU == TEGRA124_SOCTHERM_SENSOR_CPU);
drivers/thermal/tegra/soctherm.c
363
static_assert(TEGRA114_SOCTHERM_SENSOR_MEM == TEGRA124_SOCTHERM_SENSOR_MEM);
drivers/thermal/tegra/soctherm.c
364
static_assert(TEGRA114_SOCTHERM_SENSOR_GPU == TEGRA124_SOCTHERM_SENSOR_GPU);
drivers/thermal/tegra/soctherm.c
365
static_assert(TEGRA114_SOCTHERM_SENSOR_PLLX == TEGRA124_SOCTHERM_SENSOR_PLLX);
drivers/thunderbolt/domain.c
733
static_assert(sizeof(hmac) == SHA256_DIGEST_SIZE);
drivers/tty/n_gsm.c
207
static_assert(sizeof(struct gsm_dlci_param_bits) == 8);
drivers/tty/serial/8250/8250_pci1xxxx.c
881
static_assert((ARRAY_SIZE(logical_to_physical_port_idx) == PCI_SUBDEVICE_ID_EFAR_PCI1XXXX_1p3 + 1));
drivers/tty/serial/serial_core.c
3579
static_assert(offsetof(struct serial_rs485, padding) ==
drivers/tty/serial/serial_core.c
3581
static_assert(offsetof(struct serial_rs485, padding1) ==
drivers/tty/serial/serial_core.c
3583
static_assert((offsetof(struct serial_rs485, padding[4]) + sizeof(__u32)) ==
drivers/vfio/device_cdev.c
93
static_assert(__same_type(arg->out_devid, df->devid));
drivers/watchdog/cgbc_wdt.c
70
static_assert(sizeof(struct cgbc_wdt_cmd_cfg) == 15);
drivers/xen/efi.c
299
static_assert(XEN_PAGE_SHIFT == EFI_PAGE_SHIFT,
drivers/xen/sys-hypervisor.c
409
static_assert(sizeof(xen_start_flags) <=
fs/btrfs/accessors.h
103
static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes));
fs/btrfs/accessors.h
110
static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes));
fs/btrfs/accessors.h
66
static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
fs/btrfs/accessors.h
72
static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
fs/btrfs/compression.h
37
static_assert((BTRFS_MAX_COMPRESSED % PAGE_SIZE) == 0);
fs/btrfs/defrag.c
1132
static_assert(PAGE_ALIGNED(CLUSTER_SIZE));
fs/btrfs/fs.h
82
static_assert(sizeof(struct btrfs_super_block) == BTRFS_SUPER_INFO_SIZE);
fs/btrfs/inode.c
6048
static_assert(BTRFS_FT_UNKNOWN == FT_UNKNOWN);
fs/btrfs/inode.c
6049
static_assert(BTRFS_FT_REG_FILE == FT_REG_FILE);
fs/btrfs/inode.c
6050
static_assert(BTRFS_FT_DIR == FT_DIR);
fs/btrfs/inode.c
6051
static_assert(BTRFS_FT_CHRDEV == FT_CHRDEV);
fs/btrfs/inode.c
6052
static_assert(BTRFS_FT_BLKDEV == FT_BLKDEV);
fs/btrfs/inode.c
6053
static_assert(BTRFS_FT_FIFO == FT_FIFO);
fs/btrfs/inode.c
6054
static_assert(BTRFS_FT_SOCK == FT_SOCK);
fs/btrfs/inode.c
6055
static_assert(BTRFS_FT_SYMLINK == FT_SYMLINK);
fs/btrfs/locking.h
172
static_assert(BTRFS_NESTING_MAX <= MAX_LOCKDEP_SUBCLASSES,
fs/btrfs/send.c
119
static_assert(offsetof(struct backref_cache_entry, entry) == 0);
fs/btrfs/send.c
360
static_assert(offsetof(struct name_cache_entry, entry) == 0);
fs/btrfs/send.c
62
static_assert(sizeof(struct __fs_path) < 256);
fs/btrfs/sysfs.c
1608
static_assert(ARRAY_SIZE(btrfs_unknown_feature_names) ==
fs/btrfs/sysfs.c
1610
static_assert(ARRAY_SIZE(btrfs_unknown_feature_names[0]) ==
fs/btrfs/volumes.h
49
static_assert(ilog2(BTRFS_STRIPE_LEN) == BTRFS_STRIPE_LEN_SHIFT);
fs/btrfs/volumes.h
60
static_assert(const_ffs(BTRFS_BLOCK_GROUP_RAID0) <
fs/btrfs/volumes.h
83
static_assert(BTRFS_RAID_RAID0 == 1);
fs/btrfs/volumes.h
84
static_assert(BTRFS_RAID_RAID1 == 2);
fs/btrfs/volumes.h
85
static_assert(BTRFS_RAID_DUP == 3);
fs/btrfs/volumes.h
86
static_assert(BTRFS_RAID_RAID10 == 4);
fs/btrfs/volumes.h
87
static_assert(BTRFS_RAID_RAID5 == 5);
fs/btrfs/volumes.h
88
static_assert(BTRFS_RAID_RAID6 == 6);
fs/btrfs/volumes.h
89
static_assert(BTRFS_RAID_RAID1C3 == 7);
fs/btrfs/volumes.h
90
static_assert(BTRFS_RAID_RAID1C4 == 8);
fs/coredump.c
753
static_assert(sizeof(enum coredump_mark) == sizeof(__u32));
fs/hpfs/hpfs.h
434
static_assert(offsetof(struct bplus_header, u.internal) == sizeof(struct bplus_header_fixed),
fs/nfsd/nfs4recover.c
106
static_assert(HEXDIR_LEN == 2 * MD5_DIGEST_SIZE + 1);
fs/ntfs3/dir.c
187
static_assert(sizeof(wchar_t) == sizeof(u16));
fs/ntfs3/dir.c
26
static_assert(sizeof(wchar_t) == sizeof(__le16));
fs/ntfs3/dir.c
416
static_assert(NTFS_NAME_LEN * 4 < PATH_MAX);
fs/ntfs3/dir.c
93
static_assert(sizeof(wchar_t) == sizeof(__le16));
fs/ntfs3/dir.c
94
static_assert(sizeof(wchar_t) == sizeof(__be16));
fs/ntfs3/fslog.c
104
static_assert(sizeof(struct RESTART_TABLE) == 0x18);
fs/ntfs3/fslog.c
143
static_assert(sizeof(struct OPEN_ATTR_ENRTY) < SIZEOF_OPENATTRIBUTEENTRY0);
fs/ntfs3/fslog.c
159
static_assert(sizeof(struct DIR_PAGE_ENTRY) == 0x20);
fs/ntfs3/fslog.c
176
static_assert(offsetof(struct DIR_PAGE_ENTRY_32, vcn_low) == 0x14);
fs/ntfs3/fslog.c
177
static_assert(sizeof(struct DIR_PAGE_ENTRY_32) == 0x2c);
fs/ntfs3/fslog.c
197
static_assert(sizeof(struct TRANSACTION_ENTRY) == 0x28);
fs/ntfs3/fslog.c
213
static_assert(sizeof(struct NTFS_RESTART) == 0x40);
fs/ntfs3/fslog.c
257
static_assert(sizeof(struct LFS_RECORD_HDR) == 0x30);
fs/ntfs3/fslog.c
265
static_assert(sizeof(struct LFS_RECORD) == 0x10);
fs/ntfs3/fslog.c
287
static_assert(offsetof(struct RECORD_PAGE_HDR, file_off) == 0x3c);
fs/ntfs3/fslog.c
4347
static_assert(sizeof(*ane) == 4);
fs/ntfs3/fslog.c
51
static_assert(sizeof(struct CLIENT_REC) == 0x60);
fs/ntfs3/fslog.c
88
static_assert(sizeof(struct LOG_REC_HDR) == 0x20);
fs/ntfs3/fsntfs.c
1733
static_assert(sizeof(s_default_security) == 0x50);
fs/ntfs3/fsntfs.c
2102
static_assert((1 << Log2OfSecurityDescriptorsBlockSize) ==
fs/ntfs3/fsntfs.c
590
static_assert(sizeof(sbi->mft.reserved_bitmap) * 8 >=
fs/ntfs3/inode.c
1980
static_assert(!offsetof(struct REPARSE_DATA_BUFFER, ReparseTag));
fs/ntfs3/inode.c
1981
static_assert(sizeof(u32) == sizeof(rp->ReparseTag));
fs/ntfs3/namei.c
266
static_assert(SIZEOF_ATTRIBUTE_FILENAME_MAX + SIZEOF_RESIDENT < 1024);
fs/ntfs3/namei.c
267
static_assert(SIZEOF_ATTRIBUTE_FILENAME_MAX + sizeof(struct NTFS_DE) <
fs/ntfs3/namei.c
269
static_assert(PATH_MAX >= 4 * 1024);
fs/ntfs3/ntfs.h
1004
static_assert(sizeof(struct REPARSE_POINT) == 0x18);
fs/ntfs3/ntfs.h
1180
static_assert(sizeof(struct EA_INFO) == 8);
fs/ntfs3/ntfs.h
1191
static_assert(offsetof(struct EA_FULL, name) == 8);
fs/ntfs3/ntfs.h
1207
static_assert(sizeof(struct SECURITY_DESCRIPTOR_RELATIVE) == 0x14);
fs/ntfs3/ntfs.h
1214
static_assert(sizeof(struct ACE_HEADER) == 4);
fs/ntfs3/ntfs.h
1223
static_assert(sizeof(struct ACL) == 8);
fs/ntfs3/ntfs.h
1231
static_assert(offsetof(struct SID, SubAuthority) == 8);
fs/ntfs3/ntfs.h
128
static_assert(sizeof(enum ATTR_TYPE) == 4);
fs/ntfs3/ntfs.h
148
static_assert(sizeof(enum FILE_ATTRIBUTE) == 4);
fs/ntfs3/ntfs.h
185
static_assert(sizeof(__le64) == sizeof(struct MFT_REF));
fs/ntfs3/ntfs.h
232
static_assert(sizeof(struct NTFS_BOOT) == 0x200);
fs/ntfs3/ntfs.h
245
static_assert(sizeof(enum NTFS_SIGNATURE) == 4);
fs/ntfs3/ntfs.h
256
static_assert(sizeof(struct NTFS_RECORD_HEADER) == 0x10);
fs/ntfs3/ntfs.h
302
static_assert(MFTRECORD_FIXUP_OFFSET_1 == 0x2A);
fs/ntfs3/ntfs.h
303
static_assert(MFTRECORD_FIXUP_OFFSET_3 == 0x30);
fs/ntfs3/ntfs.h
446
static_assert(sizeof(struct ATTRIB) == 0x48);
fs/ntfs3/ntfs.h
447
static_assert(sizeof(((struct ATTRIB *)NULL)->res) == 0x08);
fs/ntfs3/ntfs.h
448
static_assert(sizeof(((struct ATTRIB *)NULL)->nres) == 0x38);
fs/ntfs3/ntfs.h
493
static_assert(sizeof(struct ATTR_STD_INFO) == 0x30);
fs/ntfs3/ntfs.h
516
static_assert(sizeof(struct ATTR_STD_INFO5) == 0x48);
fs/ntfs3/ntfs.h
580
static_assert(sizeof(((struct ATTR_FILE_NAME *)NULL)->dup) == 0x38);
fs/ntfs3/ntfs.h
581
static_assert(offsetof(struct ATTR_FILE_NAME, name) == 0x42);
fs/ntfs3/ntfs.h
637
static_assert(sizeof(struct NTFS_DE) == 0x10);
fs/ntfs3/ntfs.h
71
static_assert(SECTOR_SHIFT == 9);
fs/ntfs3/ntfs.h
714
static_assert(sizeof(struct INDEX_HDR) == 0x10);
fs/ntfs3/ntfs.h
75
static_assert(sizeof(size_t) == 8);
fs/ntfs3/ntfs.h
764
static_assert(sizeof(struct INDEX_BUFFER) == 0x28);
fs/ntfs3/ntfs.h
793
static_assert(sizeof(enum COLLATION_RULE) == 4);
fs/ntfs3/ntfs.h
805
static_assert(sizeof(struct INDEX_ROOT) == 0x20);
fs/ntfs3/ntfs.h
806
static_assert(offsetof(struct INDEX_ROOT, ihdr) == 0x10);
fs/ntfs3/ntfs.h
840
static_assert(sizeof(struct ATTR_DEF_ENTRY) == 0xa0);
fs/ntfs3/ntfs.h
863
static_assert(sizeof(struct OBJECT_ID) == 0x40);
fs/ntfs3/ntfs.h
889
static_assert(sizeof(struct NTFS_DE_O) == 0x58);
fs/ntfs3/ntfs.h
908
static_assert(sizeof(struct NTFS_DE_Q) == 0x44);
fs/ntfs3/ntfs.h
930
static_assert(sizeof(struct SECURITY_HDR) == 0x14);
fs/ntfs3/ntfs.h
939
static_assert(offsetof(struct NTFS_DE_SII, sec_hdr) == 0x14);
fs/ntfs3/ntfs.h
940
static_assert(sizeof(struct NTFS_DE_SII) == 0x28);
fs/ntfs3/ntfs.h
957
static_assert(offsetof(struct REPARSE_KEY, ref) == 0x04);
fs/ntfs3/ntfs.h
967
static_assert(sizeof(struct NTFS_DE_R) == 0x20);
fs/ntfs3/record.c
246
static_assert(ALIGN(sizeof(enum ATTR_TYPE), 8) == 8);
fs/ntfs3/xattr.c
83
static_assert(le32_to_cpu(ATTR_EA_INFO) < le32_to_cpu(ATTR_EA));
fs/ocfs2/xattr.c
57
static_assert(offsetof(struct ocfs2_xattr_def_value_root, xv.xr_list.l_recs) ==
fs/smb/common/smb2pdu.h
1192
static_assert(offsetof(struct create_context, Buffer) == sizeof(struct create_context_hdr),
fs/smb/common/smb2pdu.h
1820
static_assert(offsetof(struct smb2_file_rename_info, FileName) == sizeof(struct smb2_file_rename_info_hdr),
fs/smb/common/smb2pdu.h
1834
static_assert(offsetof(struct smb2_file_link_info, FileName) == sizeof(struct smb2_file_link_info_hdr),
fs/verity/verify.c
193
static_assert(FS_VERITY_MAX_PENDING_BLOCKS + FS_VERITY_MAX_LEVELS <=
fs/xfs/libxfs/xfs_ondisk.h
10
static_assert(sizeof(structname) == (size), \
fs/xfs/libxfs/xfs_ondisk.h
14
static_assert(offsetof(structname, member) == (off), \
fs/xfs/libxfs/xfs_ondisk.h
19
static_assert((value) == (expected), \
fs/xfs/libxfs/xfs_rtgroup.h
24
static_assert(XFS_RTGI_MAX <= MAX_LOCKDEP_SUBCLASSES);
fs/xfs/xfs_error.c
112
static_assert(ARRAY_SIZE(xfs_errortag_attrs) == XFS_ERRTAG_MAX);
fs/xfs/xfs_zone_gc.c
59
static_assert(XFS_GC_NR_BUFS < BIO_MAX_VECS);
include/drm/intel/display_member.h
37
static_assert( \
include/hyperv/hvgdk_mini.h
588
static_assert(offsetof(struct hv_tlb_flush_ex, hv_vp_set.bank_contents) ==
include/hyperv/hvhdk.h
898
static_assert(sizeof(struct hv_vp_signal_bitset_scheduler_message) <=
include/hyperv/hvhdk.h
916
static_assert(sizeof(struct hv_vp_signal_pair_scheduler_message) ==
include/linux/bitops.h
71
static_assert(__same_type(arch_##name, generic_##name) && \
include/linux/bpf.h
1041
static_assert(__BPF_REG_TYPE_MAX <= BPF_BASE_TYPE_LIMIT);
include/linux/bpf.h
888
static_assert(__BPF_ARG_TYPE_MAX <= BPF_BASE_TYPE_LIMIT);
include/linux/bpf.h
918
static_assert(__BPF_RET_TYPE_MAX <= BPF_BASE_TYPE_LIMIT);
include/linux/bpf_verifier.h
345
static_assert(INSN_F_FRAMENO_MASK + 1 >= MAX_CALL_FRAMES);
include/linux/bpf_verifier.h
346
static_assert(INSN_F_SPI_MASK + 1 >= MAX_BPF_STACK / 8);
include/linux/cache_coherency.h
53
static_assert(__same_type(struct cache_coherency_ops_inst, \
include/linux/cache_coherency.h
55
static_assert(offsetof(drv_struct, member) == 0); \
include/linux/console.h
234
static_assert(sizeof(struct nbcon_state) <= sizeof(int));
include/linux/container_of.h
21
static_assert(__same_type(*(ptr), ((type *)0)->member) || \
include/linux/context_tracking_state.h
73
static_assert(CT_STATE_WIDTH +
include/linux/fs.h
2432
static_assert(offsetof(struct filename, iname) % sizeof(long) == 0);
include/linux/fs.h
2433
static_assert(sizeof(struct filename) % 64 == 0);
include/linux/ftrace.h
184
static_assert(sizeof(struct pt_regs) == ftrace_regs_size());
include/linux/fwctl.h
100
static_assert(__same_type(struct fwctl_device, \
include/linux/fwctl.h
102
static_assert(offsetof(drv_struct, member) == 0); \
include/linux/generic_pt/iommu.h
244
static_assert(offsetof(s, pt_iommu_memb.domain) == \
include/linux/init.h
261
static_assert(__same_type(initcall_t, &fn));
include/linux/iommufd.h
357
static_assert(__same_type(struct iommufd_hw_queue, \
include/linux/iommufd.h
359
static_assert(__same_type(typeof(*dependent), *depended)); \
include/linux/iommufd.h
369
static_assert(__same_type(struct iommufd_hw_queue, \
include/linux/iommufd.h
371
static_assert(__same_type(typeof(*dependent), *depended)); \
include/linux/irqchip/arm-gic-v3-prio.h
42
static_assert(__gicv3_prio_valid_ns(GICV3_PRIO_NMI));
include/linux/irqchip/arm-gic-v3-prio.h
43
static_assert(__gicv3_prio_valid_ns(GICV3_PRIO_IRQ));
include/linux/irqchip/arm-gic-v3-prio.h
45
static_assert(GICV3_PRIO_NMI < GICV3_PRIO_IRQ);
include/linux/irqchip/arm-gic-v3-prio.h
46
static_assert(GICV3_PRIO_IRQ < GICV3_PRIO_UNMASKED);
include/linux/irqchip/arm-gic-v3-prio.h
48
static_assert(GICV3_PRIO_IRQ < (GICV3_PRIO_IRQ | GICV3_PRIO_PSR_I_SET));
include/linux/kho/abi/kexec_handover.h
149
static_assert(sizeof(struct kho_vmalloc_chunk) == PAGE_SIZE);
include/linux/mm_types.h
1927
static_assert((u64)MMF_INIT_LEGACY_MASK <= (u64)UINT_MAX);
include/linux/mm_types.h
509
static_assert(offsetof(struct page, pg) == offsetof(struct folio, fl))
include/linux/mm_types.h
529
static_assert(offsetof(struct folio, fl) == \
include/linux/mm_types.h
537
static_assert(offsetof(struct folio, fl) == \
include/linux/mm_types.h
543
static_assert(offsetof(struct folio, fl) == \
include/linux/mm_types.h
610
static_assert(offsetof(struct page, pg) == offsetof(struct ptdesc, pt))
include/linux/mm_types.h
623
static_assert(sizeof(struct ptdesc) <= sizeof(struct page));
include/linux/mnt_idmapping.h
23
static_assert(sizeof(vfsuid_t) == sizeof(kuid_t));
include/linux/mnt_idmapping.h
24
static_assert(sizeof(vfsgid_t) == sizeof(kgid_t));
include/linux/mnt_idmapping.h
25
static_assert(offsetof(vfsuid_t, val) == offsetof(kuid_t, val));
include/linux/mnt_idmapping.h
26
static_assert(offsetof(vfsgid_t, val) == offsetof(kgid_t, val));
include/linux/moduleparam.h
300
static_assert(sizeof(""prefix) - 1 <= __MODULE_NAME_LEN); \
include/linux/moduleparam.h
34
static_assert( \
include/linux/net/intel/libie/adminq.h
11
static_assert((n) == sizeof(struct X))
include/linux/netdevice.h
4696
static_assert(NETIF_MSG_CLASS_COUNT <= 32);
include/linux/pds/pds_adminq.h
1525
static_assert(sizeof(union pds_core_adminq_cmd) == 64);
include/linux/pds/pds_adminq.h
1526
static_assert(sizeof(union pds_core_adminq_comp) == 16);
include/linux/pds/pds_adminq.h
1527
static_assert(sizeof(union pds_core_notifyq_comp) == 64);
include/linux/pds/pds_core_if.h
563
static_assert(sizeof(struct pds_core_drv_identity) <= 1912);
include/linux/pds/pds_core_if.h
564
static_assert(sizeof(struct pds_core_dev_identity) <= 1912);
include/linux/pds/pds_core_if.h
565
static_assert(sizeof(union pds_core_dev_cmd) == 64);
include/linux/pds/pds_core_if.h
566
static_assert(sizeof(union pds_core_dev_comp) == 16);
include/linux/pds/pds_core_if.h
567
static_assert(sizeof(struct pds_core_dev_info_regs) == 2048);
include/linux/pds/pds_core_if.h
568
static_assert(sizeof(struct pds_core_dev_cmd_regs) == 2048);
include/linux/pds/pds_core_if.h
569
static_assert(sizeof(struct pds_core_dev_regs) == 4096);
include/linux/pds/pds_intr.h
78
static_assert(sizeof(struct pds_core_intr) == 32);
include/linux/perf/arm_pmu.h
35
static_assert((PERF_EVENT_FLAG_ARCH & ARMPMU_EVT_64BIT) == ARMPMU_EVT_64BIT);
include/linux/perf/arm_pmu.h
36
static_assert((PERF_EVENT_FLAG_ARCH & ARMPMU_EVT_47BIT) == ARMPMU_EVT_47BIT);
include/linux/perf/arm_pmu.h
37
static_assert((PERF_EVENT_FLAG_ARCH & ARMPMU_EVT_63BIT) == ARMPMU_EVT_63BIT);
include/linux/perf_event.h
142
static_assert((PERF_EVENT_FLAG_USER_READ_CNT & PERF_EVENT_FLAG_ARCH) == 0);
include/linux/posix_acl.h
38
static_assert(offsetof(struct posix_acl, a_entries) == sizeof(struct posix_acl_hdr),
include/linux/rseq_entry.h
684
static_assert(TIF_RSEQ != TIF_NOTIFY_RESUME);
include/linux/rw_hint.h
22
static_assert(sizeof(enum rw_hint) == 1);
include/linux/slab.h
751
static_assert(PAGE_SHIFT <= 20);
include/linux/spi/spi.h
264
static_assert((SPI_MODE_KERNEL_MASK & SPI_MODE_USER_MASK) == 0,
include/linux/surface_aggregator/serial_hub.h
106
static_assert(sizeof(struct ssh_command) == 8);
include/linux/surface_aggregator/serial_hub.h
65
static_assert(sizeof(struct ssh_frame) == 4);
include/linux/vmcore_info.h
45
static_assert(sizeof(vmlinux_build_id) == 20); \
include/net/addrconf.h
64
static_assert(sizeof(struct prefix_info) == 32);
include/net/bluetooth/mgmt.h
63
static_assert(offsetof(struct mgmt_tlv, value) == sizeof(struct mgmt_tlv_hdr),
include/net/ieee80211_radiotap.h
55
static_assert(offsetof(struct ieee80211_radiotap_header, it_optional) == sizeof(struct ieee80211_radiotap_header_fixed),
include/net/libeth/cache.h
17
static_assert(offsetof(type, __cacheline_group_end__##grp) - \
include/net/libeth/cache.h
21
static_assert(sizeof(type) == (sz))
include/net/libeth/cache.h
24
static_assert(offsetof(type, __cacheline_group_end__##grp) - \
include/net/libeth/cache.h
28
static_assert(sizeof(type) <= (sz))
include/net/libeth/cache.h
49
static_assert(__alignof(type) >= SMP_CACHE_BYTES)
include/net/libeth/tx.h
88
static_assert(sizeof(p) <= sizeof_field(struct libeth_sqe, priv))
include/net/libeth/xdp.h
363
static_assert(offsetof(struct libeth_xdp_tx_frame, frag.len) ==
include/net/libeth/xdp.h
365
static_assert(sizeof(struct libeth_xdp_tx_frame) == sizeof(struct xdp_desc));
include/net/libeth/xdp.h
474
static_assert(__same_type(priv, u64)); \
include/net/libeth/xdp.h
57
static_assert(offsetof(struct libeth_xdp_buff, data) ==
include/net/libeth/xdp.h
59
static_assert(offsetof(struct libeth_xdp_buff, desc) ==
include/net/libeth/xdp.h
61
static_assert(IS_ALIGNED(sizeof(struct xdp_buff_xsk),
include/net/libeth/xdp.h
96
static_assert(offsetofend(struct xdp_buff_xsk, cb) >= \
include/net/libeth/xsk.h
12
static_assert(XDP_TXMD_FLAGS_VALID <= LIBETH_XDP_TX_XSKMD);
include/net/netmem.h
136
static_assert(offsetof(struct netmem_desc, desc) == \
include/net/netmem.h
42
static_assert(offsetof(struct page, pg) == \
include/net/netmem.h
57
static_assert(sizeof(struct netmem_desc) <= offsetof(struct page, _refcount));
include/net/tcp.h
153
static_assert((1 << ATO_BITS) > TCP_DELACK_MAX);
include/scsi/scsi_proto.h
318
static_assert(sizeof(struct scsi_io_group_descriptor) == 16);
include/scsi/scsi_proto.h
345
static_assert(sizeof(struct scsi_stream_status) == 8);
include/scsi/scsi_proto.h
354
static_assert(sizeof(struct scsi_stream_status_header) == 8);
include/sound/cs35l56.h
328
static_assert(sizeof(struct cs35l56_spi_payload) == 10);
include/uapi/cxl/features.h
22
static_assert(sizeof(__uapi_uuid_t) == sizeof(uuid_t));
include/uapi/linux/media/amlogic/c3-isp-config.h
516
static_assert((sizeof(struct c3_isp_params_cfg) - C3_ISP_PARAMS_MAX_SIZE) ==
include/uapi/linux/rkisp1-config.h
1617
static_assert((sizeof(struct rkisp1_ext_params_cfg) -
include/ufs/ufs.h
23
static_assert(sizeof(struct utp_upiu_header) == 12);
include/ufs/ufs.h
24
static_assert(sizeof(struct utp_upiu_query) == 20);
include/ufs/ufs.h
578
static_assert(sizeof(struct utp_cmd_rsp) == 40);
include/ufs/ufshci.h
534
static_assert(sizeof(struct request_desc_header) == 16);
include/ufs/ufshci.h
598
static_assert(sizeof(struct cq_entry) == 32);
kernel/bpf/preload/iterators/iterators.lskel-big-endian.h
430
#define _Static_assert static_assert
kernel/bpf/preload/iterators/iterators.lskel-little-endian.h
428
#define _Static_assert static_assert
kernel/events/core.c
867
static_assert(offsetof(struct perf_event_context, timeguest) -
kernel/events/core.c
936
static_assert(offsetof(struct perf_cgroup_info, timeguest) -
kernel/events/hw_breakpoint.c
171
static_assert(hw_breakpoint_slots(TYPE_INST) == hw_breakpoint_slots(TYPE_DATA));
kernel/kallsyms.c
454
static_assert(sizeof(typeof_member(struct module, build_id)) == 20);
kernel/kcsan/debugfs.c
37
static_assert(ARRAY_SIZE(counter_names) == KCSAN_COUNTER_COUNT);
kernel/kcsan/encoding.h
49
static_assert(WATCHPOINT_ADDR_MASK == (1UL << WATCHPOINT_ADDR_BITS) - 1);
kernel/kcsan/encoding.h
50
static_assert((WATCHPOINT_WRITE_MASK ^ WATCHPOINT_SIZE_MASK ^ WATCHPOINT_ADDR_MASK) == ~0UL);
kernel/liveupdate/kexec_handover.c
358
static_assert(sizeof(struct khoser_mem_chunk) == PAGE_SIZE);
kernel/liveupdate/kexec_handover.c
51
static_assert(sizeof(union kho_page_info) == sizeof(((struct page *)0)->private));
kernel/liveupdate/kexec_handover.c
88
static_assert(sizeof(struct kho_mem_phys_bits) == PAGE_SIZE);
kernel/locking/lockdep_internals.h
27
static_assert(LOCK_TRACE_STATES == LOCK_USAGE_STATES);
kernel/printk/nbcon.c
956
static_assert(sizeof(wctxt->comm) == sizeof(pmsg->comm));
kernel/printk/printk.c
2259
static_assert(sizeof(pmsg->comm) == sizeof(info->comm));
kernel/printk/printk.c
2627
static_assert(sizeof(console_cmdline[0].devname) >= sizeof(console_cmdline[0].name) + 4);
kernel/sched/sched.h
2413
static_assert(WF_EXEC == SD_BALANCE_EXEC);
kernel/sched/sched.h
2414
static_assert(WF_FORK == SD_BALANCE_FORK);
kernel/sched/sched.h
2415
static_assert(WF_TTWU == SD_BALANCE_WAKE);
kernel/trace/rv/monitors/pagefault/pagefault.h
19
static_assert(LTL_NUM_ATOM <= RV_MAX_LTL_ATOM);
kernel/trace/rv/monitors/pagefault/pagefault.h
35
static_assert(RV_NUM_BA_STATES <= RV_MAX_BA_STATES);
kernel/trace/rv/monitors/sleep/sleep.h
35
static_assert(LTL_NUM_ATOM <= RV_MAX_LTL_ATOM);
kernel/trace/rv/monitors/sleep/sleep.h
74
static_assert(RV_NUM_BA_STATES <= RV_MAX_BA_STATES);
lib/crypto/arm64/polyval.h
23
static_assert(ARRAY_SIZE(key->h_powers) == NUM_H_POWERS);
lib/crypto/arm64/sha256.h
45
static_assert(offsetof(struct __sha256_ctx, state) == 0);
lib/crypto/arm64/sha256.h
46
static_assert(offsetof(struct __sha256_ctx, bytecount) == 32);
lib/crypto/arm64/sha256.h
47
static_assert(offsetof(struct __sha256_ctx, buf) == 40);
lib/crypto/mldsa.c
298
static_assert(0x3ff << D < Q); /* All coefficients < q. */
lib/crypto/mldsa.c
424
static_assert(SHAKE128_BLOCK_SIZE % 3 == 0);
lib/crypto/mldsa.c
510
static_assert(N * 6 / 8 == MAX_W1_ENCODED_LEN);
lib/crypto/nh.c
38
static_assert(NH_PAIR_STRIDE == 2);
lib/crypto/nh.c
39
static_assert(NH_NUM_PASSES == 4);
lib/crypto/tests/hash-test-template.h
133
static_assert(TEST_BUF_LEN >= 4096);
lib/crypto/tests/hash-test-template.h
442
static_assert(TEST_BUF_LEN / 4096 > 1);
lib/crypto/tests/hash-test-template.h
495
static_assert(TEST_BUF_LEN >= 4096 + 293);
lib/crypto/tests/poly1305_kunit.c
87
static_assert(TEST_BUF_LEN >= 4096);
lib/crypto/tests/polyval_kunit.c
73
static_assert(TEST_BUF_LEN >= 4096);
lib/crypto/x86/polyval.h
23
static_assert(ARRAY_SIZE(key->h_powers) == NUM_H_POWERS);
lib/crypto/x86/sha256.h
40
static_assert(offsetof(struct __sha256_ctx, state) == 0);
lib/crypto/x86/sha256.h
41
static_assert(offsetof(struct __sha256_ctx, bytecount) == 32);
lib/crypto/x86/sha256.h
42
static_assert(offsetof(struct __sha256_ctx, buf) == 40);
lib/errname.c
170
static_assert(EREFUSED == ECONNREFUSED);
lib/errname.c
173
static_assert(ECANCELLED == ECANCELED);
lib/errname.c
175
static_assert(EAGAIN == EWOULDBLOCK); /* everywhere */
lib/stackdepot.c
96
static_assert(ARRAY_SIZE(counter_names) == DEPOT_COUNTER_COUNT);
lib/tests/cmdline_kunit.c
21
static_assert(ARRAY_SIZE(cmdline_test_strings) == ARRAY_SIZE(cmdline_test_values));
lib/tests/cmdline_kunit.c
39
static_assert(ARRAY_SIZE(cmdline_test_range_strings) == ARRAY_SIZE(cmdline_test_range_values));
lib/tests/test_bits.c
12
static_assert(assert_type(u8, BIT_U8(0)) == 1u);
lib/tests/test_bits.c
13
static_assert(assert_type(u16, BIT_U16(0)) == 1u);
lib/tests/test_bits.c
14
static_assert(assert_type(u32, BIT_U32(0)) == 1u);
lib/tests/test_bits.c
15
static_assert(assert_type(u64, BIT_U64(0)) == 1ull);
lib/tests/test_bits.c
17
static_assert(assert_type(u8, BIT_U8(7)) == 0x80u);
lib/tests/test_bits.c
18
static_assert(assert_type(u16, BIT_U16(15)) == 0x8000u);
lib/tests/test_bits.c
19
static_assert(assert_type(u32, BIT_U32(31)) == 0x80000000u);
lib/tests/test_bits.c
20
static_assert(assert_type(u64, BIT_U64(63)) == 0x8000000000000000ull);
lib/tests/test_bits.c
22
static_assert(assert_type(unsigned long, GENMASK(31, 0)) == U32_MAX);
lib/tests/test_bits.c
23
static_assert(assert_type(unsigned long long, GENMASK_ULL(63, 0)) == U64_MAX);
lib/tests/test_bits.c
24
static_assert(assert_type(u8, GENMASK_U8(7, 0)) == U8_MAX);
lib/tests/test_bits.c
25
static_assert(assert_type(u16, GENMASK_U16(15, 0)) == U16_MAX);
lib/tests/test_bits.c
26
static_assert(assert_type(u32, GENMASK_U32(31, 0)) == U32_MAX);
lib/tests/test_bits.c
27
static_assert(assert_type(u64, GENMASK_U64(63, 0)) == U64_MAX);
lib/vdso/datastore.c
20
static_assert(sizeof(vdso_time_data_store) == PAGE_SIZE);
lib/vdso/datastore.c
29
static_assert(sizeof(vdso_rng_data_store) == PAGE_SIZE);
lib/vsprintf.c
439
static_assert(ZEROPAD == ('0' - ' '));
lib/vsprintf.c
440
static_assert(SMALL == ('a' ^ 'A'));
lib/vsprintf.c
460
static_assert(sizeof(struct printf_spec) == 8);
lib/zlib_deflate/deflate.c
119
static_assert(offsetof(struct deflate_workspace, dfltcc_memory) % 8 == 0);
lib/zlib_dfltcc/dfltcc.h
31
static_assert(sizeof(struct dfltcc_qaf_param) == 32);
lib/zlib_dfltcc/dfltcc.h
83
static_assert(offsetof(struct dfltcc_param_v0, csb) == 384);
lib/zlib_dfltcc/dfltcc.h
84
static_assert(sizeof(struct dfltcc_param_v0) == 1536);
lib/zlib_inflate/infutil.h
34
static_assert(offsetof(struct inflate_workspace, dfltcc_state) % 8 == 0);
mm/kfence/core.c
125
static_assert(CONFIG_KFENCE_NUM_OBJECTS > 0);
mm/kfence/core.c
198
static_assert(ARRAY_SIZE(counter_names) == KFENCE_COUNTER_COUNT);
mm/slab.h
105
static_assert(sizeof(struct slab) <= sizeof(struct page));
mm/slab.h
107
static_assert(IS_ALIGNED(offsetof(struct slab, freelist), sizeof(struct freelist_counters)));
mm/slab.h
95
static_assert(offsetof(struct page, pg) == offsetof(struct slab, sl))
mm/zpdesc.h
52
static_assert(offsetof(struct page, pg) == offsetof(struct zpdesc, zp))
mm/zpdesc.h
63
static_assert(sizeof(struct zpdesc) <= sizeof(struct page));
net/9p/protocol.c
55
static_assert(NAME_MAX <= 4*1024, "p9_msg_buf_size() currently assumes "
net/core/filter.c
92
static_assert(sizeof(struct bpf_fib_lookup) == 64, "struct bpf_fib_lookup size check");
net/core/skbuff.c
125
static_assert(offsetof(struct bio_vec, bv_page) ==
net/core/skbuff.c
127
static_assert(sizeof_field(struct bio_vec, bv_page) ==
net/core/skbuff.c
130
static_assert(offsetof(struct bio_vec, bv_len) == offsetof(skb_frag_t, len));
net/core/skbuff.c
131
static_assert(sizeof_field(struct bio_vec, bv_len) ==
net/core/skbuff.c
134
static_assert(offsetof(struct bio_vec, bv_offset) ==
net/core/skbuff.c
136
static_assert(sizeof_field(struct bio_vec, bv_offset) ==
net/ethtool/coalesce.c
31
static_assert((ETHTOOL_ ## x) == \
net/ethtool/common.c
241
static_assert(ARRAY_SIZE(link_mode_names) == __ETHTOOL_LINK_MODE_MASK_NBITS);
net/ethtool/common.c
468
static_assert(ARRAY_SIZE(link_mode_params) == __ETHTOOL_LINK_MODE_MASK_NBITS);
net/ethtool/common.c
484
static_assert(ARRAY_SIZE(ethtool_link_medium_names) == __ETHTOOL_LINK_MEDIUM_LAST);
net/ethtool/common.c
503
static_assert(ARRAY_SIZE(netif_msg_class_names) == NETIF_MSG_CLASS_COUNT);
net/ethtool/common.c
515
static_assert(ARRAY_SIZE(wol_mode_names) == WOL_MODE_COUNT);
net/ethtool/common.c
538
static_assert(ARRAY_SIZE(sof_timestamping_names) == __SOF_TIMESTAMPING_CNT);
net/ethtool/common.c
546
static_assert(ARRAY_SIZE(ts_tx_type_names) == __HWTSTAMP_TX_CNT);
net/ethtool/common.c
566
static_assert(ARRAY_SIZE(ts_rx_filter_names) == __HWTSTAMP_FILTER_CNT);
net/ethtool/common.c
571
static_assert(ARRAY_SIZE(ts_flags_names) == __HWTSTAMP_FLAG_CNT);
net/ethtool/common.c
578
static_assert(ARRAY_SIZE(udp_tunnel_type_names) ==
net/ethtool/ioctl.c
1042
static_assert(GTPU_DL_V6_FLOW + 1 == __FLOW_TYPE_COUNT);
net/ethtool/tunnels.c
16
static_assert(ETHTOOL_UDP_TUNNEL_TYPE_VXLAN == ilog2(UDP_TUNNEL_TYPE_VXLAN));
net/ethtool/tunnels.c
17
static_assert(ETHTOOL_UDP_TUNNEL_TYPE_GENEVE == ilog2(UDP_TUNNEL_TYPE_GENEVE));
net/ethtool/tunnels.c
18
static_assert(ETHTOOL_UDP_TUNNEL_TYPE_VXLAN_GPE ==
net/ipv6/seg6_hmac.c
152
static_assert(SEG6_HMAC_FIELD_LEN > SHA1_DIGEST_SIZE);
net/ipv6/seg6_hmac.c
158
static_assert(SEG6_HMAC_FIELD_LEN == SHA256_DIGEST_SIZE);
net/netfilter/nft_set_pipapo.h
92
static_assert(NFT_PIPAPO_MAP_TOBITS <= 32);
net/netfilter/nft_set_pipapo.h
95
static_assert(NFT_PIPAPO_MAP_NBITS <= 32);
net/sctp/sm_make_chunk.c
1713
static_assert(sizeof(cookie->mac) == SHA256_DIGEST_SIZE);
net/sctp/sm_make_chunk.c
1768
static_assert(sizeof(cookie->mac) == sizeof(mac));
net/smc/smc_clc.h
148
static_assert(offsetof(struct smc_clc_v2_extension, user_eids) == sizeof(struct smc_clc_v2_extension_fixed),
net/smc/smc_clc.h
174
static_assert(offsetof(struct smc_clc_smcd_v2_extension, gidchid) == sizeof(struct smc_clc_smcd_v2_extension_fixed),
net/tls/tls_main.c
62
static_assert(cipher ## _IV_SIZE <= TLS_MAX_IV_SIZE); \
net/tls/tls_main.c
63
static_assert(cipher ## _SALT_SIZE <= TLS_MAX_SALT_SIZE); \
net/tls/tls_main.c
64
static_assert(cipher ## _REC_SEQ_SIZE <= TLS_MAX_REC_SEQ_SIZE); \
net/tls/tls_main.c
65
static_assert(cipher ## _TAG_SIZE == TLS_TAG_SIZE); \
net/tls/tls_main.c
66
static_assert(sizeof_field(struct ci, iv) == cipher ## _IV_SIZE); \
net/tls/tls_main.c
67
static_assert(sizeof_field(struct ci, key) == cipher ## _KEY_SIZE); \
net/tls/tls_main.c
68
static_assert(sizeof_field(struct ci, salt) == cipher ## _SALT_SIZE); \
net/tls/tls_main.c
69
static_assert(sizeof_field(struct ci, rec_seq) == cipher ## _REC_SEQ_SIZE);
rust/helpers/build_assert.c
21
static_assert(
scripts/genksyms/parse.y
138
| static_assert
scripts/genksyms/parse.y
529
static_assert:
security/integrity/ima/ima_policy.c
134
static_assert(
security/integrity/integrity.h
40
static_assert(offsetof(struct evm_ima_xattr_data, data) == sizeof(struct evm_ima_xattr_data_hdr),
security/integrity/integrity.h
70
static_assert(offsetof(struct ima_digest_data, digest) == sizeof(struct ima_digest_data_hdr),
security/keys/trusted-keys/trusted_caam.c
18
static_assert(MAX_KEY_SIZE + CAAM_BLOB_OVERHEAD <= CAAM_BLOB_MAX_LEN);
security/keys/trusted-keys/trusted_caam.c
19
static_assert(MAX_BLOB_SIZE <= CAAM_BLOB_MAX_LEN);
security/landlock/access.h
100
static_assert(HWEIGHT(LANDLOCK_MAX_NUM_LAYERS) == 1);
security/landlock/access.h
40
static_assert(BITS_PER_TYPE(access_mask_t) >= LANDLOCK_NUM_ACCESS_FS);
security/landlock/access.h
42
static_assert(BITS_PER_TYPE(access_mask_t) >= LANDLOCK_NUM_ACCESS_NET);
security/landlock/access.h
44
static_assert(BITS_PER_TYPE(access_mask_t) >= LANDLOCK_NUM_SCOPE);
security/landlock/access.h
46
static_assert(sizeof(unsigned long) >= sizeof(access_mask_t));
security/landlock/access.h
61
static_assert(sizeof(typeof_member(union access_masks_all, masks)) ==
security/landlock/access.h
95
static_assert(BITS_PER_TYPE(deny_masks_t) >=
security/landlock/audit.c
42
static_assert(ARRAY_SIZE(fs_access_strings) == LANDLOCK_NUM_ACCESS_FS);
security/landlock/audit.c
49
static_assert(ARRAY_SIZE(net_access_strings) == LANDLOCK_NUM_ACCESS_NET);
security/landlock/cred.h
58
static_assert(BITS_PER_TYPE(typeof_member(struct landlock_cred_security,
security/landlock/domain.h
69
static_assert(struct_size_t(struct landlock_details, exe_path,
security/landlock/fs.h
87
static_assert((typeof_member(struct landlock_file_security, fown_layer))~0 >=
sound/pci/emu10k1/emufx.c
1377
{ static_assert(stereo_mix == playback + SND_EMU10K1_PLAYBACK_CHANNELS); }
sound/pci/emu10k1/emumixer.c
170
static_assert(ARRAY_SIZE(emu1010_src_regs) == ARRAY_SIZE(emu1010_src_texts));
sound/pci/emu10k1/emumixer.c
202
static_assert(ARRAY_SIZE(emu1010b_src_regs) == ARRAY_SIZE(emu1010b_src_texts));
sound/pci/emu10k1/emumixer.c
228
static_assert(ARRAY_SIZE(emu1616_src_regs) == ARRAY_SIZE(emu1616_src_texts));
sound/pci/emu10k1/emumixer.c
248
static_assert(ARRAY_SIZE(emu0404_src_regs) == ARRAY_SIZE(emu0404_src_texts));
sound/pci/emu10k1/emumixer.c
271
static_assert(ARRAY_SIZE(emu1010_output_texts) <= NUM_OUTPUT_DESTS);
sound/pci/emu10k1/emumixer.c
284
static_assert(ARRAY_SIZE(emu1010_output_dst) == ARRAY_SIZE(emu1010_output_texts));
sound/pci/emu10k1/emumixer.c
298
static_assert(ARRAY_SIZE(emu1010_output_dflt) == ARRAY_SIZE(emu1010_output_dst));
sound/pci/emu10k1/emumixer.c
312
static_assert(ARRAY_SIZE(snd_emu1010b_output_texts) <= NUM_OUTPUT_DESTS);
sound/pci/emu10k1/emumixer.c
324
static_assert(ARRAY_SIZE(emu1010b_output_dst) == ARRAY_SIZE(snd_emu1010b_output_texts));
sound/pci/emu10k1/emumixer.c
349
static_assert(ARRAY_SIZE(snd_emu1616_output_texts) <= NUM_OUTPUT_DESTS);
sound/pci/emu10k1/emumixer.c
359
static_assert(ARRAY_SIZE(emu1616_output_dst) == ARRAY_SIZE(snd_emu1616_output_texts));
sound/pci/emu10k1/emumixer.c
370
static_assert(ARRAY_SIZE(emu1616_output_dflt) == ARRAY_SIZE(emu1616_output_dst));
sound/pci/emu10k1/emumixer.c
378
static_assert(ARRAY_SIZE(snd_emu0404_output_texts) <= NUM_OUTPUT_DESTS);
sound/pci/emu10k1/emumixer.c
384
static_assert(ARRAY_SIZE(emu0404_output_dst) == ARRAY_SIZE(snd_emu0404_output_texts));
sound/pci/emu10k1/emumixer.c
390
static_assert(ARRAY_SIZE(emu0404_output_dflt) == ARRAY_SIZE(emu0404_output_dst));
sound/pci/emu10k1/emumixer.c
423
static_assert(ARRAY_SIZE(emu1010_input_texts) <= NUM_INPUT_DESTS);
sound/pci/emu10k1/emumixer.c
450
static_assert(ARRAY_SIZE(emu1010_input_dst) == ARRAY_SIZE(emu1010_input_texts));
sound/pci/emu10k1/emumixer.c
480
static_assert(ARRAY_SIZE(emu1010_input_dflt) == ARRAY_SIZE(emu1010_input_dst));
sound/pci/emu10k1/emuproc.c
435
static_assert(ARRAY_SIZE(types) == EMU10K1_NUM_TYPES);
sound/pci/ymfpci/ymfpci.h
312
static_assert(DSXG_PCI_NUM_SAVED_LEGACY_REGS <= DSXG_PCI_NUM_SAVED_REGS);
sound/soc/codecs/audio-iio-aux.c
128
static_assert(ARRAY_SIZE(widgets) >= 3, "3 widgets are needed");
sound/soc/codecs/audio-iio-aux.c
129
static_assert(ARRAY_SIZE(routes) >= 2, "2 routes are needed");
sound/soc/codecs/cs35l56-shared-test.c
302
static_assert(ARRAY_SIZE(gpios) >= ARRAY_SIZE(param->spkid_gpios));
sound/soc/codecs/cs35l56-shared-test.c
303
static_assert(ARRAY_SIZE(pulls) >= ARRAY_SIZE(param->spkid_pulls));
sound/soc/codecs/cs35l56-shared-test.c
386
static_assert(ARRAY_SIZE(gpios) > ARRAY_SIZE(cs35l56_base->onchip_spkid_gpios));
sound/soc/codecs/cs35l56-shared-test.c
387
static_assert(ARRAY_SIZE(pulls) > ARRAY_SIZE(cs35l56_base->onchip_spkid_pulls));
sound/soc/codecs/cs35l56-shared.c
897
static_assert((sizeof(struct cs35l56_pte) % sizeof(u32)) == 0);
sound/soc/codecs/cs35l56.c
1615
static_assert(ARRAY_SIZE(gpios) == ARRAY_SIZE(cs35l56->base.onchip_spkid_gpios));
sound/soc/codecs/cs35l56.c
1616
static_assert(ARRAY_SIZE(pulls) == ARRAY_SIZE(cs35l56->base.onchip_spkid_pulls));
sound/soc/codecs/cs42l43-jack.c
888
static_assert(ARRAY_SIZE(cs42l43_jack_override_modes) ==
sound/soc/codecs/cs42l43.c
596
static_assert(ARRAY_SIZE(controls) == ARRAY_SIZE(priv->kctl));
sound/soc/codecs/cs48l32.c
1345
static_assert(ARRAY_SIZE(eint1_regs) == ARRAY_SIZE(reg_vals));
sound/soc/codecs/cs48l32.c
189
static_assert(ARRAY_SIZE(cs48l32_mixer_texts) == ARRAY_SIZE(cs48l32_mixer_values));
sound/soc/codecs/cs48l32.c
230
static_assert(ARRAY_SIZE(cs48l32_rate_val) == ARRAY_SIZE(cs48l32_rate_text));
sound/soc/codecs/cs48l32.c
290
static_assert(ARRAY_SIZE(cs48l32_sample_rate_val) == ARRAY_SIZE(cs48l32_sample_rate_text));
sound/soc/codecs/cs48l32.c
3586
static_assert(ARRAY_SIZE(tmp) ==
sound/soc/codecs/cs48l32.c
3624
static_assert(ARRAY_SIZE(tmp) == ARRAY_SIZE(cs48l32_codec->pdm_sup));
sound/soc/codecs/cs48l32.c
3675
static_assert(ARRAY_SIZE(cs48l32_dai) == ARRAY_SIZE(cs48l32_codec->dai));
sound/soc/codecs/cs48l32.c
3922
static_assert(ARRAY_SIZE(cs48l32_core_supplies) == ARRAY_SIZE(cs48l32->core_supplies));
sound/soc/codecs/cs48l32.c
472
static_assert(ARRAY_SIZE(cs48l32_in_texts) == CS48L32_MAX_INPUT);
sound/soc/intel/avs/debug.h
44
static_assert(sizeof(struct avs_apl_log_buffer_layout) == 8);
sound/soc/intel/avs/icl.c
56
static_assert(sizeof(union avs_icl_memwnd2_slot_type) == 4);
sound/soc/intel/avs/icl.c
63
static_assert(sizeof(struct avs_icl_memwnd2_desc) == 12);
sound/soc/intel/avs/icl.c
74
static_assert(sizeof(struct avs_icl_memwnd2) == 65536);
sound/soc/intel/avs/loader.c
60
static_assert(sizeof(struct avs_fw_manifest) == 36);
sound/soc/intel/avs/loader.c
69
static_assert(sizeof(struct avs_fw_ext_manifest) == 16);
sound/soc/intel/avs/messages.h
1009
static_assert(sizeof(union avs_probe_point_id) == 4);
sound/soc/intel/avs/messages.h
1022
static_assert(sizeof(struct avs_probe_point_desc) == 12);
sound/soc/intel/avs/messages.h
103
static_assert(sizeof(struct avs_tlv) == 8);
sound/soc/intel/avs/messages.h
162
static_assert(sizeof(union avs_module_msg) == 8);
sound/soc/intel/avs/messages.h
198
static_assert(sizeof(union avs_reply_msg) == 8);
sound/soc/intel/avs/messages.h
235
static_assert(sizeof(union avs_notify_msg) == 8);
sound/soc/intel/avs/messages.h
274
static_assert(sizeof(struct avs_notify_voice_data) == 4);
sound/soc/intel/avs/messages.h
283
static_assert(sizeof(struct avs_notify_res_data) == 40);
sound/soc/intel/avs/messages.h
291
static_assert(sizeof(struct avs_notify_mod_data) == 12);
sound/soc/intel/avs/messages.h
345
static_assert(sizeof(struct avs_dxstate_info) == 8);
sound/soc/intel/avs/messages.h
381
static_assert(sizeof(struct avs_skl_log_state) == 8);
sound/soc/intel/avs/messages.h
387
static_assert(sizeof(struct avs_skl_log_state_info) == 4);
sound/soc/intel/avs/messages.h
395
static_assert(sizeof(struct avs_apl_log_state_info) == 12);
sound/soc/intel/avs/messages.h
420
static_assert(sizeof(struct avs_icl_log_state_info) == 12);
sound/soc/intel/avs/messages.h
548
static_assert(sizeof(struct avs_module_type) == 4);
sound/soc/intel/avs/messages.h
565
static_assert(sizeof(union avs_segment_flags) == 4);
sound/soc/intel/avs/messages.h
572
static_assert(sizeof(struct avs_segment_desc) == 12);
sound/soc/intel/avs/messages.h
589
static_assert(sizeof(struct avs_module_entry) == 116);
sound/soc/intel/avs/messages.h
595
static_assert(sizeof(struct avs_mods_info) == 4);
sound/soc/intel/avs/messages.h
609
static_assert(sizeof(struct avs_sys_time) == 8);
sound/soc/intel/avs/messages.h
717
static_assert(sizeof(struct avs_audio_format) == 24);
sound/soc/intel/avs/messages.h
726
static_assert(sizeof(struct avs_modcfg_base) == 40);
sound/soc/intel/avs/messages.h
733
static_assert(sizeof(struct avs_pin_format) == 32);
sound/soc/intel/avs/messages.h
743
static_assert(sizeof(struct avs_modcfg_ext) == 56);
sound/soc/intel/avs/messages.h
767
static_assert(sizeof(union avs_virtual_index) == 1);
sound/soc/intel/avs/messages.h
777
static_assert(sizeof(union avs_connector_node_id) == 4);
sound/soc/intel/avs/messages.h
790
static_assert(sizeof(union avs_gtw_attributes) == 4);
sound/soc/intel/avs/messages.h
799
static_assert(sizeof(struct avs_dma_device_stream_channel_map) == 8);
sound/soc/intel/avs/messages.h
805
static_assert(sizeof(struct avs_dma_stream_channel_map) == 132);
sound/soc/intel/avs/messages.h
817
static_assert(sizeof(struct avs_dma_cfg) == 148);
sound/soc/intel/avs/messages.h
828
static_assert(sizeof(struct avs_copier_gtw_cfg) == 16);
sound/soc/intel/avs/messages.h
836
static_assert(sizeof(struct avs_copier_cfg) == 84);
sound/soc/intel/avs/messages.h
845
static_assert(sizeof(struct avs_volume_cfg) == 24);
sound/soc/intel/avs/messages.h
854
static_assert(sizeof(struct avs_mute_cfg) == 24);
sound/soc/intel/avs/messages.h
860
static_assert(sizeof(struct avs_peakvol_cfg) == 40);
sound/soc/intel/avs/messages.h
866
static_assert(sizeof(struct avs_micsel_cfg) == 64);
sound/soc/intel/avs/messages.h
873
static_assert(sizeof(struct avs_mux_cfg) == 88);
sound/soc/intel/avs/messages.h
882
static_assert(sizeof(struct avs_updown_mixer_cfg) == 84);
sound/soc/intel/avs/messages.h
888
static_assert(sizeof(struct avs_src_cfg) == 44);
sound/soc/intel/avs/messages.h
894
static_assert(sizeof(struct avs_probe_gtw_cfg) == 8);
sound/soc/intel/avs/messages.h
900
static_assert(sizeof(struct avs_probe_cfg) == 48);
sound/soc/intel/avs/messages.h
908
static_assert(sizeof(struct avs_aec_cfg) == 92);
sound/soc/intel/avs/messages.h
918
static_assert(sizeof(struct avs_asrc_cfg) == 48);
sound/soc/intel/avs/messages.h
924
static_assert(sizeof(struct avs_wov_cfg) == 44);
sound/soc/intel/avs/messages.h
934
static_assert(sizeof(struct avs_whm_cfg) == 108);
sound/soc/intel/avs/messages.h
949
static_assert(sizeof(struct avs_copier_sink_format) == 52);
sound/soc/intel/avs/messages.h
96
static_assert(sizeof(union avs_global_msg) == 8);
sound/soc/intel/avs/messages.h
992
static_assert(sizeof(struct avs_probe_dma) == 8);
sound/soc/sdca/sdca_asoc.c
1324
static_assert(ARRAY_SIZE(channel_list) == SDCA_MAX_CHANNEL_COUNT);
sound/soc/sdca/sdca_asoc.c
1325
static_assert(sizeof(channel_mask) * BITS_PER_BYTE >= SDCA_MAX_CHANNEL_COUNT);
tools/bootconfig/main.c
448
static_assert(sizeof(footer) == BOOTCONFIG_FOOTER_SIZE);
tools/include/linux/build_bug.h
79
#ifndef static_assert
tools/perf/util/stat-display.c
85
static_assert(ARRAY_SIZE(colors) - 1 == METRIC_THRESHOLD_GOOD, "missing enum value");
tools/perf/util/stat-display.c
98
static_assert(ARRAY_SIZE(strs) - 1 == METRIC_THRESHOLD_GOOD, "missing enum value");
tools/testing/selftests/kvm/memslot_perf_test.c
112
static_assert(ATOMIC_BOOL_LOCK_FREE == 2, "atomic bool is not lockless");
tools/testing/selftests/kvm/memslot_perf_test.c
78
static_assert(MEM_TEST_MOVE_SIZE <= MEM_TEST_SIZE,
tools/testing/selftests/kvm/x86/svm_nested_soft_inject_test.c
22
static_assert(ATOMIC_INT_LOCK_FREE == 2, "atomic int is not lockless");
tools/testing/selftests/kvm/x86/xapic_tpr_test.c
20
static_assert(ATOMIC_INT_LOCK_FREE == 2, "atomic int is not lockless");
tools/testing/selftests/kvm/x86/xapic_tpr_test.c
202
static_assert(IRQ_VECTOR >= 16, "invalid IRQ vector number");
tools/testing/vma/tests/vma.c
18
static_assert(sizeof(legacy_flags) == sizeof(unsigned long));
tools/testing/vsock/util.h
33
static_assert(ARRAY_SIZE(transport_ksyms) == TRANSPORT_NUM);
tools/testing/vsock/util.h
34
static_assert(BITS_PER_TYPE(int) >= TRANSPORT_NUM);