| /freebsd-head/lib/libkvm/ |
| HD | kvm_arm.h | 86 _Static_assert(PAGE_SHIFT == ARM_PAGE_SHIFT, "PAGE_SHIFT mismatch"); 87 _Static_assert(PAGE_SIZE == ARM_PAGE_SIZE, "PAGE_SIZE mismatch"); 88 _Static_assert(PAGE_MASK == ARM_PAGE_MASK, "PAGE_MASK mismatch"); 89 _Static_assert(L1_TABLE_SIZE == ARM_L1_TABLE_SIZE, "L1_TABLE_SIZE mismatch"); 90 _Static_assert(L1_S_SIZE == ARM_L1_S_SIZE, "L1_S_SIZE mismatch"); 91 _Static_assert(L1_S_OFFSET == ARM_L1_S_OFFSET, "L1_S_OFFSET mismatch"); 92 _Static_assert(L1_S_FRAME == ARM_L1_S_FRAME, "L1_S_FRAME mismatch"); 93 _Static_assert(L1_S_SHIFT == ARM_L1_S_SHIFT, "L1_S_SHIFT mismatch"); 94 _Static_assert(L2_L_SIZE == ARM_L2_L_SIZE, "L2_L_SIZE mismatch"); 95 _Static_assert(L2_L_OFFSET == ARM_L2_L_OFFSET, "L2_L_OFFSET mismatch"); [all …]
|
| HD | kvm_riscv.h | 61 _Static_assert(sizeof(pt_entry_t) == sizeof(riscv_pt_entry_t), 64 _Static_assert(PAGE_SHIFT == RISCV_PAGE_SHIFT, "PAGE_SHIFT mismatch"); 65 _Static_assert(PAGE_SIZE == RISCV_PAGE_SIZE, "PAGE_SIZE mismatch"); 66 _Static_assert(PAGE_MASK == RISCV_PAGE_MASK, "PAGE_MASK mismatch"); 68 _Static_assert(L3_SHIFT == RISCV_L3_SHIFT, "L3_SHIFT mismatch"); 69 _Static_assert(L3_SIZE == RISCV_L3_SIZE, "L3_SIZE mismatch"); 70 _Static_assert(L3_OFFSET == RISCV_L3_OFFSET, "L3_OFFSET mismatch"); 71 _Static_assert(PTE_PPN0_S == RISCV_PTE_PPN0_S, "PTE_PPN0_S mismatch"); 73 _Static_assert(PTE_SW_MANAGED == RISCV_PTE_SW_MANAGED, 75 _Static_assert(PTE_SW_WIRED == RISCV_PTE_SW_WIRED, "PTE_SW_WIRED mismatch"); [all …]
|
| HD | kvm_amd64.h | 64 _Static_assert(NPTEPG == AMD64_NPTEPG, "NPTEPG mismatch"); 65 _Static_assert(PAGE_SHIFT == AMD64_PAGE_SHIFT, "PAGE_SHIFT mismatch"); 66 _Static_assert(PAGE_SIZE == AMD64_PAGE_SIZE, "PAGE_SIZE mismatch"); 67 _Static_assert(PAGE_MASK == AMD64_PAGE_MASK, "PAGE_MASK mismatch"); 68 _Static_assert(NPDEPG == AMD64_NPDEPG, "NPDEPG mismatch"); 69 _Static_assert(PDRSHIFT == AMD64_PDRSHIFT, "PDRSHIFT mismatch"); 70 _Static_assert(NBPDR == AMD64_NBPDR, "NBPDR mismatch"); 71 _Static_assert(PDRMASK == AMD64_PDRMASK, "PDRMASK mismatch"); 72 _Static_assert(NPDPEPG == AMD64_NPDPEPG, "NPDPEPG mismatch"); 73 _Static_assert(PDPSHIFT == AMD64_PDPSHIFT, "PDPSHIFT mismatch"); [all …]
|
| HD | kvm_i386.h | 64 _Static_assert(PAGE_SHIFT == I386_PAGE_SHIFT, "PAGE_SHIFT mismatch"); 65 _Static_assert(PAGE_SIZE == I386_PAGE_SIZE, "PAGE_SIZE mismatch"); 66 _Static_assert(PAGE_MASK == I386_PAGE_MASK, "PAGE_MASK mismatch"); 68 _Static_assert(NPTEPG == I386_NPTEPG, "NPTEPG mismatch"); 69 _Static_assert(NBPDR == I386_NBPDR, "NBPDR mismatch"); 71 _Static_assert(PDRSHIFT_NOPAE == I386_PDRSHIFT, "PDRSHIFT mismatch"); 73 _Static_assert(PG_V == I386_PG_V, "PG_V mismatch"); 74 _Static_assert(PG_PS == I386_PG_PS, "PG_PS mismatch"); 75 _Static_assert((u_int)PG_FRAME_NOPAE == I386_PG_FRAME, "PG_FRAME mismatch"); 76 _Static_assert(PG_PS_FRAME_NOPAE == I386_PG_PS_FRAME, "PG_PS_FRAME mismatch");
|
| HD | kvm_aarch64.h | 57 _Static_assert(ATTR_MASK == AARCH64_ATTR_MASK, "ATTR_MASK mismatch"); 58 _Static_assert(ATTR_DESCR_MASK == AARCH64_ATTR_DESCR_MASK, 60 _Static_assert(L3_PAGE == AARCH64_L3_PAGE, "L3_PAGE mismatch");
|
| /freebsd-head/sys/dev/nvmf/ |
| HD | nvmf_proto.h | 35 _Static_assert(sizeof(struct nvmf_capsule_cmd) == 64, "Incorrect size"); 191 _Static_assert(sizeof(struct nvmf_fabric_auth_recv_cmd) == 64, "Incorrect size"); 207 _Static_assert(sizeof(struct nvmf_fabric_auth_send_cmd) == 64, "Incorrect size"); 217 _Static_assert(sizeof(struct nvmf_fabric_connect_data) == 1024, "Incorrect size"); 234 _Static_assert(sizeof(struct nvmf_fabric_connect_cmd) == 64, "Incorrect size"); 274 _Static_assert(sizeof(struct nvmf_fabric_connect_rsp) == 16, "Incorrect size"); 286 _Static_assert(sizeof(struct nvmf_fabric_disconnect_cmd) == 64, "Incorrect size"); 311 _Static_assert(sizeof(struct nvmf_fabric_prop_get_cmd) == 64, "Incorrect size"); 327 _Static_assert(sizeof(struct nvmf_fabric_prop_get_rsp) == 16, "Incorrect size"); 352 _Static_assert(sizeof(struct nvmf_fabric_prop_set_cmd) == 64, "Incorrect size"); [all …]
|
| /freebsd-head/sys/dev/gve/ |
| HD | gve_adminq.h | 93 _Static_assert(sizeof(struct gve_adminq_describe_device) == 16, 112 _Static_assert(sizeof(struct gve_device_descriptor) == 40, 121 _Static_assert(sizeof(struct gve_device_option) == 8, 128 _Static_assert(sizeof(struct gve_device_option_gqi_rda) == 4, 135 _Static_assert(sizeof(struct gve_device_option_gqi_qpl) == 4, 144 _Static_assert(sizeof(struct gve_device_option_dqo_rda) == 8, 153 _Static_assert(sizeof(struct gve_device_option_dqo_qpl) == 8, 161 _Static_assert(sizeof(struct gve_ring_size_bound) == 4, 170 _Static_assert(sizeof(struct gve_device_option_modify_ring) == 12, 179 _Static_assert(sizeof(struct gve_device_option_jumbo_frames) == 8, [all …]
|
| HD | gve_dqo.h | 98 _Static_assert(sizeof(struct gve_tx_pkt_desc_dqo) == 16, 110 _Static_assert(GVE_TX_MAX_BUF_SIZE_DQO * GVE_TX_MAX_DATA_DESCS_DQO >= 128 _Static_assert(sizeof(struct gve_tx_context_cmd_dtype) == 2, 155 _Static_assert(sizeof(struct gve_tx_tso_context_desc_dqo) == 16, 177 _Static_assert(sizeof(struct gve_tx_general_context_desc_dqo) == 16, 206 _Static_assert(sizeof(struct gve_tx_metadata_dqo) == 12, 237 _Static_assert(sizeof(struct gve_tx_compl_desc_dqo) == 8, 258 _Static_assert(sizeof(struct gve_rx_desc_dqo) == 32, 319 _Static_assert(sizeof(struct gve_rx_compl_desc_dqo) == 32,
|
| /freebsd-head/sys/x86/iommu/ |
| HD | amd_reg.h | 331 _Static_assert(sizeof(struct amdiommu_dte) == 8 * sizeof(uint32_t), "DTE"); 414 _Static_assert(sizeof(struct amdiommu_irte_basic_novapic) == 432 _Static_assert(sizeof(struct amdiommu_irte_basic_vapic) == 452 _Static_assert(sizeof(struct amdiommu_irte_guest_vapic) == 470 _Static_assert(sizeof(struct amdiommu_irte_basic_vapic_x2) == 490 _Static_assert(sizeof(struct amdiommu_irte_guest_vapic_x2) == 515 _Static_assert(sizeof(struct amdiommu_cmd_generic) == 522 _Static_assert((1 << AMDIOMMU_CMD_SZ_SHIFT) == AMDIOMMU_CMD_SZ, 536 _Static_assert(sizeof(struct amdiommu_cmd_completion_wait) == 547 _Static_assert(sizeof(struct amdiommu_cmd_invalidate_devtab_entry) == [all …]
|
| /freebsd-head/lib/libc/locale/ |
| HD | xlocale_private.h | 60 _Static_assert(XLC_LAST - XLC_COLLATE == 6, "XLC values should be contiguous"); 61 _Static_assert(XLC_COLLATE == LC_COLLATE - 1, 63 _Static_assert(XLC_CTYPE == LC_CTYPE - 1, 65 _Static_assert(XLC_MONETARY == LC_MONETARY - 1, 67 _Static_assert(XLC_NUMERIC == LC_NUMERIC - 1, 69 _Static_assert(XLC_TIME == LC_TIME - 1, 71 _Static_assert(XLC_MESSAGES == LC_MESSAGES - 1,
|
| /freebsd-head/sys/x86/xen/ |
| HD | xen_arch_intr.c | 150 _Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0, in xen_intr_pic_enable_source() 164 _Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0, in xen_intr_pic_disable_source() 180 _Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0, in xen_intr_pic_enable_intr() 189 _Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0, in xen_intr_pic_disable_intr() 206 _Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0, in xen_intr_pic_vector() 270 _Static_assert(offsetof(struct xenisrc, xi_arch.intsrc) == 0, in xen_intr_pic_assign_cpu() 373 _Static_assert(sizeof(struct xenisrc) >= sizeof(struct avail_list), in xen_arch_intr_release() 375 _Static_assert(offsetof(struct xenisrc, xi_arch) == in xen_arch_intr_release()
|
| /freebsd-head/contrib/llvm-project/clang/lib/Headers/llvm_libc_wrappers/ |
| HD | stdlib.h | 33 _Static_assert(__builtin_offsetof(div_t, quot) == 0, "ABI mismatch!"); 34 _Static_assert(__builtin_offsetof(ldiv_t, quot) == 0, "ABI mismatch!"); 35 _Static_assert(__builtin_offsetof(lldiv_t, quot) == 0, "ABI mismatch!");
|
| /freebsd-head/include/ |
| HD | stdckdint.h | 19 _Static_assert(0, "checked addition not supported") 27 _Static_assert(0, "checked subtraction not supported") 35 _Static_assert(0, "checked multiplication not supported")
|
| /freebsd-head/sys/sys/ |
| HD | efiio.h | 42 _Static_assert(sizeof(struct uuid) == sizeof(efi_guid_t), 101 _Static_assert(sizeof(struct efi_get_table_ioc) == sizeof(struct efi_get_table_ioctl), 103 _Static_assert(sizeof(struct efi_var_ioc) == sizeof(struct efi_var_ioctl),
|
| /freebsd-head/sys/dev/nvme/ |
| HD | nvme.h | 778 _Static_assert(sizeof(struct nvme_registers) == 0x1008, "bad size for nvme_registers"); 810 _Static_assert(sizeof(struct nvme_sgl_descriptor) == 16, "bad size for nvme_sgl_descriptor"); 846 _Static_assert(sizeof(struct nvme_command) == 16 * 4, "bad size for nvme_command"); 864 _Static_assert(sizeof(struct nvme_completion) == 4 * 4, "bad size for nvme_completion"); 875 _Static_assert(sizeof(struct nvme_dsm_range) == 16, "bad size for nvme_dsm_ranage"); 1144 _Static_assert(sizeof(struct nvme_power_state) == 32, "bad size for nvme_power_state"); 1399 _Static_assert(sizeof(struct nvme_controller_data) == 4096, "bad size for nvme_controller_data"); 1512 _Static_assert(sizeof(struct nvme_namespace_data) == 4096, "bad size for nvme_namepsace_data"); 1571 _Static_assert(sizeof(struct nvme_error_information_entry) == 64, "bad size for nvme_error_informat… 1615 _Static_assert(sizeof(struct nvme_health_information_page) == 512, "bad size for nvme_health_inform… [all …]
|
| /freebsd-head/sys/kern/ |
| HD | kern_thread.c | 85 _Static_assert(offsetof(struct thread, td_flags) == 0x108, 87 _Static_assert(offsetof(struct thread, td_pflags) == 0x114, 89 _Static_assert(offsetof(struct thread, td_frame) == 0x4b8, 91 _Static_assert(offsetof(struct thread, td_emuldata) == 0x6c0, 93 _Static_assert(offsetof(struct proc, p_flag) == 0xb8, 95 _Static_assert(offsetof(struct proc, p_pid) == 0xc4, 97 _Static_assert(offsetof(struct proc, p_filemon) == 0x3c8, 99 _Static_assert(offsetof(struct proc, p_comm) == 0x3e0, 101 _Static_assert(offsetof(struct proc, p_emuldata) == 0x4d0, 105 _Static_assert(offsetof(struct thread, td_flags) == 0x9c, [all …]
|
| /freebsd-head/sys/riscv/include/ |
| HD | pcpu_aux.h | 46 _Static_assert(PAGE_SIZE % sizeof(struct pcpu) == 0, "fix pcpu size"); 47 _Static_assert(offsetof(struct pcpu, __pad) +
|
| /freebsd-head/sys/net/ |
| HD | pfkeyv2.h | 234 _Static_assert(sizeof(struct sadb_x_policy) == 16, "struct size mismatch"); 270 _Static_assert(sizeof(struct sadb_x_nat_t_type) == 8, "struct size mismatch"); 279 _Static_assert(sizeof(struct sadb_x_nat_t_port) == 8, "struct size mismatch"); 288 _Static_assert(sizeof(struct sadb_x_nat_t_frag) == 8, "struct size mismatch"); 297 _Static_assert(sizeof(struct sadb_x_sa_replay) == 8, "struct size mismatch");
|
| /freebsd-head/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
| HD | mod_compat.h | 154 _Static_assert( \ 185 _Static_assert( \ 198 _Static_assert( \
|
| /freebsd-head/stand/i386/loader/ |
| HD | main.c | 53 _Static_assert(sizeof(struct bootargs) == BOOTARGS_SIZE, "Bootarg size bad"); 54 _Static_assert(offsetof(struct bootargs, bootinfo) == BA_BOOTINFO, "BA_BOOTINFO"); 55 _Static_assert(offsetof(struct bootargs, bootflags) == BA_BOOTFLAGS, "BA_BOOTFLAGS"); 56 _Static_assert(offsetof(struct bootinfo, bi_size) == BI_SIZE, "BI_SIZE");
|
| /freebsd-head/contrib/llvm-project/clang/lib/Headers/ |
| HD | __clang_cuda_intrinsics.h | 45 _Static_assert(sizeof(__val) == sizeof(__Bits)); \ 46 _Static_assert(sizeof(__Bits) == 2 * sizeof(int)); \ 57 _Static_assert(sizeof(long) == sizeof(long long) || \ 80 _Static_assert(sizeof(__tmp) == sizeof(__val)); \ 129 _Static_assert(sizeof(__val) == sizeof(__Bits)); \ 130 _Static_assert(sizeof(__Bits) == 2 * sizeof(int)); \ 147 _Static_assert(sizeof(long) == sizeof(long long) || \ 166 _Static_assert(sizeof(__tmp) == sizeof(__val)); \
|
| /freebsd-head/sys/amd64/include/ |
| HD | vmm.h | 540 _Static_assert(sizeof(struct vie_op) == 4, "ABI"); 541 _Static_assert(_Alignof(struct vie_op) == 2, "ABI"); 598 _Static_assert(sizeof(struct vie) == 64, "ABI"); 599 _Static_assert(__offsetof(struct vie, disp_bytes) == 22, "ABI"); 600 _Static_assert(__offsetof(struct vie, scale) == 24, "ABI"); 601 _Static_assert(__offsetof(struct vie, base_register) == 28, "ABI");
|
| /freebsd-head/sys/dev/iwm/ |
| HD | if_iwm_sf.c | 228 _Static_assert(sizeof(sf_full_timeout) == sizeof(uint32_t) * in iwm_fill_sf_command() 235 _Static_assert(sizeof(sf_full_timeout_def) == sizeof(uint32_t) * in iwm_fill_sf_command()
|
| /freebsd-head/contrib/bc/src/ |
| HD | data.c | 223 _Static_assert(sizeof(bc_fuzzer_args_C) / sizeof(char*) == bc_fuzzer_args_len, 226 _Static_assert(sizeof(dc_fuzzer_args_c) / sizeof(char*) == bc_fuzzer_args_len, 229 _Static_assert(sizeof(dc_fuzzer_args_C) / sizeof(char*) == bc_fuzzer_args_len, 909 _Static_assert(sizeof(bc_lex_kws) / sizeof(BcLexKeyword) == BC_LEX_NKWS,
|
| /freebsd-head/sys/dev/random/ |
| HD | hash.c | 47 #define CTASSERT(x) _Static_assert(x, "CTASSERT " #x) 66 _Static_assert(CHACHA_STATELEN == RANDOM_BLOCKSIZE, "");
|