/dragonfly/usr.sbin/uefisign/ |
H A D | pe.c | 51 #ifndef CTASSERT 52 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro 95 CTASSERT(offsetof(struct pe_optional_header_32, po_size_of_headers) == 60); 96 CTASSERT(offsetof(struct pe_optional_header_32, po_checksum) == 64); 97 CTASSERT(offsetof(struct pe_optional_header_32, po_subsystem) == 68); 98 CTASSERT(offsetof(struct pe_optional_header_32, po_number_of_rva_and_sizes) == 92); 110 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_size_of_headers) == 60); 111 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_checksum) == 64); 112 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_subsystem) == 68); 129 CTASSERT(offsetof(struct pe_section_header, psh_size_of_raw_data) == 16); [all …]
|
/dragonfly/crypto/libressl/crypto/bn/ |
H A D | bn_isqrt.c | 26 #define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \ macro 168 CTASSERT(sizeof(is_square_mod_11) == 11); 176 CTASSERT(sizeof(is_square_mod_63) == 63); 184 CTASSERT(sizeof(is_square_mod_64) == 64); 193 CTASSERT(sizeof(is_square_mod_65) == 65);
|
H A D | bn_nist.c | 65 #define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \ macro 508 CTASSERT(sizeof(bbuf) == sizeof(bnbuf)); in BN_nist_mod_192() 509 CTASSERT(sizeof(rbuf) == sizeof(bnbuf)); in BN_nist_mod_192() 669 CTASSERT(sizeof(bbuf) == sizeof(bnbuf)); in BN_nist_mod_224() 670 CTASSERT(sizeof(rbuf) == sizeof(bnbuf)); in BN_nist_mod_224() 841 CTASSERT(sizeof(bbuf) == sizeof(bnbuf)); in BN_nist_mod_256() 842 CTASSERT(sizeof(rbuf) == sizeof(bnbuf)); in BN_nist_mod_256() 1073 CTASSERT(sizeof(bbuf) == sizeof(bnbuf)); in BN_nist_mod_384() 1074 CTASSERT(sizeof(rbuf) == sizeof(bnbuf)); in BN_nist_mod_384()
|
/dragonfly/sys/sys/ |
H A D | gpt.h | 62 #ifdef CTASSERT 63 CTASSERT(GPT_MIN_HDR_SIZE == 92); 79 #ifdef CTASSERT 80 CTASSERT(sizeof(struct gpt_ent) == 128);
|
H A D | diskmbr.h | 173 #ifndef CTASSERT 174 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro 179 CTASSERT(sizeof (struct dos_partition) == DOSPARTSIZE);
|
H A D | cdefs.h | 582 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro 603 #if defined(_KERNEL) && !defined(CTASSERT) 604 #define CTASSERT(x) _Static_assert(x, \ macro
|
H A D | csprng.h | 21 CTASSERT(SHA256_DIGEST_LENGTH == 32);
|
/dragonfly/sys/dev/virtual/nvmm/ |
H A D | nvmm.h | 45 #undef CTASSERT 46 #define CTASSERT(x) NVMM_CTASSERT(x, __LINE__) macro
|
/dragonfly/sys/dev/virtual/hyperv/vmbus/ |
H A D | vmbus_reg.h | 49 CTASSERT(sizeof(struct vmbus_message) == VMBUS_MSG_SIZE); 71 CTASSERT(sizeof(struct vmbus_evtflags) == VMBUS_EVTFLAGS_SIZE);
|
/dragonfly/crypto/libressl/crypto/ |
H A D | crypto_lock.c | 66 #define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \ macro 69 CTASSERT((sizeof(locks) / sizeof(*locks)) == CRYPTO_NUM_LOCKS);
|
/dragonfly/sys/dev/acpica/ |
H A D | acpi_pci.c | 62 CTASSERT(ACPI_STATE_D0 == PCI_POWERSTATE_D0); 63 CTASSERT(ACPI_STATE_D1 == PCI_POWERSTATE_D1); 64 CTASSERT(ACPI_STATE_D2 == PCI_POWERSTATE_D2); 65 CTASSERT(ACPI_STATE_D3 == PCI_POWERSTATE_D3);
|
/dragonfly/sys/dev/virtual/hyperv/ |
H A D | hyperv_reg.h | 150 CTASSERT(sizeof(struct hyperv_reftsc) == PAGE_SIZE); 187 CTASSERT(sizeof(struct hypercall_postmsg_in) == HYPERCALL_POSTMSGIN_SIZE);
|
/dragonfly/sys/netinet/ |
H A D | ip_carp.h | 84 #ifdef CTASSERT 85 CTASSERT(sizeof(struct carp_header) == 36);
|
H A D | udp_var.h | 119 CTASSERT((sizeof(struct udpstat) & __VM_CACHELINE_MASK) == 0);
|
H A D | ip_var.h | 151 CTASSERT((sizeof(struct ip_stats) & __VM_CACHELINE_MASK) == 0);
|
/dragonfly/sys/dev/virtual/virtio/net/ |
H A D | if_vtnetvar.h | 242 CTASSERT(((VTNET_MAX_RX_SEGS - 1) * MCLBYTES) >= VTNET_MAX_RX_SIZE); 243 CTASSERT(((VTNET_MAX_TX_SEGS - 1) * MCLBYTES) >= VTNET_MAX_MTU);
|
/dragonfly/sys/dev/virtual/nvmm/x86/ |
H A D | nvmm_x86.h | 271 CTASSERT(sizeof(union nvmm_x64_state_fpu_addr) == 8); 277 CTASSERT(sizeof(struct nvmm_x64_state_fpu_mmreg) == 16); 281 CTASSERT(sizeof(struct nvmm_x64_state_fpu_xmmreg) == 16); 298 CTASSERT(sizeof(struct nvmm_x64_state_fpu) == 512); 711 CTASSERT(sizeof(struct nvmm_x86_xsave) == 512 + 64);
|
H A D | nvmm_x86_svm.c | 407 CTASSERT(sizeof(struct vmcb_ctrl) == 1024); 416 CTASSERT(sizeof(struct vmcb_segment) == 16); 466 CTASSERT(sizeof(struct vmcb_state) == 0xC00); 473 CTASSERT(sizeof(struct vmcb) == PAGE_SIZE); 474 CTASSERT(offsetof(struct vmcb, state) == 0x400); 1871 CTASSERT(sizeof(cpudata->gprs) == sizeof(state->gprs)); in svm_vcpu_setstate() 1899 CTASSERT(sizeof(cpudata->drs) == sizeof(state->drs)); in svm_vcpu_setstate() 1963 CTASSERT(sizeof(cpudata->gxsave.fpu) == sizeof(state->fpu)); in svm_vcpu_setstate() 2019 CTASSERT(sizeof(cpudata->gprs) == sizeof(state->gprs)); in svm_vcpu_getstate() 2039 CTASSERT(sizeof(cpudata->drs) == sizeof(state->drs)); in svm_vcpu_getstate() [all …]
|
/dragonfly/sys/dev/drm/include/linux/ |
H A D | bug.h | 40 CTASSERT(((n) != 0) && (powerof2((n))))
|
/dragonfly/stand/boot/common/ |
H A D | fs.h | 350 #ifndef CTASSERT 351 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro 357 CTASSERT(sizeof(struct fs) == 1376);
|
/dragonfly/sys/kern/ |
H A D | subr_sbuf.c | 126 #ifdef CTASSERT 127 CTASSERT(powerof2(SBUF_MAXEXTENDSIZE)); 128 CTASSERT(powerof2(SBUF_MAXEXTENDINCR));
|
/dragonfly/lib/libc/gen/ |
H A D | vis.c | 153 #ifndef CTASSERT 154 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro 159 CTASSERT(MB_LEN_MAX <= sizeof(uint64_t));
|
/dragonfly/sys/platform/pc64/x86_64/ |
H A D | minidump_machdep.c | 49 CTASSERT(sizeof(struct kerneldumpheader) == 512); 71 CTASSERT(sizeof(*vm_page_dump) == 8);
|
/dragonfly/sys/dev/drm/ |
H A D | linux_list_sort.c | 73 CTASSERT((CHAR_BIT * sizeof(struct list_head *)) <= 64); in list_sort()
|
/dragonfly/crypto/libressl/ssl/ |
H A D | tls12_lib.c | 106 CTASSERT(sizeof(s->session->master_key) == SSL_MAX_MASTER_KEY_LENGTH); in tls12_derive_master_secret()
|