| /f-stack/freebsd/sys/ |
| H A D | sysctl.h | 326 CTASSERT(((access) & CTLTYPE) == 0 || \ 337 CTASSERT(((access) & CTLTYPE) == 0 || \ 346 CTASSERT(((access) & CTLTYPE) == 0 || \ 355 CTASSERT(((access) & CTLTYPE) == 0 || \ 368 CTASSERT(((access) & CTLTYPE) == 0 || \ 374 CTASSERT(((access) & CTLTYPE) == 0 || \ 386 CTASSERT(!(access & CTLFLAG_WR)); \ 393 CTASSERT(!(access & CTLFLAG_WR)); \ 407 CTASSERT(((access) & CTLTYPE) == 0 && \ 413 CTASSERT(((access) & CTLTYPE) == 0); \ [all …]
|
| H A D | assym.h | 48 #define OFFSET_CTASSERT CTASSERT 57 CTASSERT(__builtin_types_compatible_p(__typeof(((struct parenttype *)(0x0))-> name), datatype)); \
|
| H A D | pctrie.h | 54 CTASSERT(sizeof(((struct type *)0)->field) == sizeof(uint64_t)); \ 59 CTASSERT((__offsetof(struct type, field) & (sizeof(uint32_t) - 1)) == 0); \
|
| /f-stack/freebsd/net/altq/ |
| H A D | altq_cbq.h | 59 CTASSERT(CBQCLF_RED == RMCF_RED); 60 CTASSERT(CBQCLF_ECN == RMCF_ECN); 61 CTASSERT(CBQCLF_RIO == RMCF_RIO); 62 CTASSERT(CBQCLF_FLOWVALVE == RMCF_FLOWVALVE); 63 CTASSERT(CBQCLF_CLEARDSCP == RMCF_CLEARDSCP); 64 CTASSERT(CBQCLF_CODEL == RMCF_CODEL);
|
| /f-stack/freebsd/sys/disk/ |
| H A D | gpt.h | 51 #ifdef CTASSERT 52 CTASSERT(sizeof(gpt_uuid_t) == 16); 81 #ifdef CTASSERT 82 CTASSERT(offsetof(struct gpt_hdr, padding) == 92); 97 #ifdef CTASSERT 98 CTASSERT(sizeof(struct gpt_ent) == 128);
|
| H A D | mbr.h | 79 #ifdef CTASSERT 80 CTASSERT(sizeof (struct dos_partition) == DOSPARTSIZE);
|
| H A D | vtoc.h | 104 #ifdef CTASSERT 105 CTASSERT(sizeof(struct vtoc8) == 512);
|
| H A D | bsd.h | 129 #ifdef CTASSERT 130 CTASSERT(sizeof(struct disklabel) == 148 + BSD_NPARTS_MIN * 16);
|
| /f-stack/freebsd/libkern/ |
| H A D | bcd.c | 24 CTASSERT(nitems(bcd2bin_data) == LIBKERN_LEN_BCD2BIN); 38 CTASSERT(nitems(bin2bcd_data) == LIBKERN_LEN_BIN2BCD); 42 CTASSERT(nitems(hex2ascii_data) == LIBKERN_LEN_HEX2ASCII + 1);
|
| /f-stack/freebsd/amd64/vmm/intel/ |
| H A D | vmx.h | 102 CTASSERT(sizeof(struct apic_page) == PAGE_SIZE); 110 CTASSERT(sizeof(struct pir_desc) == 64); 138 CTASSERT((offsetof(struct vmx, vmcs) & PAGE_MASK) == 0); 139 CTASSERT((offsetof(struct vmx, msr_bitmap) & PAGE_MASK) == 0); 140 CTASSERT((offsetof(struct vmx, pir_desc[0]) & 63) == 0);
|
| H A D | vmx_cpufunc.h | 181 CTASSERT(sizeof(struct invvpid_desc) == 16); 204 CTASSERT(sizeof(struct invept_desc) == 16);
|
| /f-stack/freebsd/amd64/vmm/amd/ |
| H A D | amdvi_priv.h | 108 CTASSERT(sizeof(struct amdvi_dte) == 32); 160 CTASSERT(sizeof(struct amdvi_event) == 16); 250 CTASSERT(offsetof(struct amdvi_ctrl, pad1)== 0x58); 251 CTASSERT(offsetof(struct amdvi_ctrl, pad2)== 0x2028); 252 CTASSERT(offsetof(struct amdvi_ctrl, pad3)== 0x2040); 260 CTASSERT(sizeof(struct amdvi_ctrl) == 0x4000); 261 CTASSERT(sizeof(struct amdvi_ctrl) == AMDVI_MMIO_V1_SIZE);
|
| H A D | vmcb.h | 230 CTASSERT(sizeof(struct vmcb_segment) == 16); 284 CTASSERT(sizeof(struct vmcb_ctrl) == 1024); 331 CTASSERT(sizeof(struct vmcb_state) == 0xC00); 337 CTASSERT(sizeof(struct vmcb) == PAGE_SIZE); 338 CTASSERT(offsetof(struct vmcb, state) == 0x400);
|
| /f-stack/freebsd/opencrypto/ |
| H A D | xform_poly1305.c | 14 CTASSERT(sizeof(union authctx) >= sizeof(struct poly1305_xform_ctx)); 16 CTASSERT(POLY1305_KEY_LEN == crypto_onetimeauth_poly1305_KEYBYTES); 17 CTASSERT(POLY1305_HASH_LEN == crypto_onetimeauth_poly1305_BYTES);
|
| /f-stack/freebsd/net/ |
| H A D | if_llc.h | 119 #ifdef CTASSERT 120 CTASSERT(sizeof (struct llc) == LLC_SNAPFRAMELEN);
|
| H A D | debugnet_int.h | 81 CTASSERT(sizeof(((struct debugnet_pcb *)0)->dp_rcvd_acks) * NBBY >=
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | ip_carp.h | 81 #ifdef CTASSERT 82 CTASSERT(sizeof(struct carp_header) == 36);
|
| H A D | igmp_var.h | 93 #ifdef CTASSERT 94 CTASSERT(sizeof(struct igmpstat) == IGPS_VERSION3_LEN);
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_carp.h | 81 #ifdef CTASSERT 82 CTASSERT(sizeof(struct carp_header) == 36);
|
| H A D | igmp_var.h | 93 #ifdef CTASSERT 94 CTASSERT(sizeof(struct igmpstat) == IGPS_VERSION3_LEN);
|
| /f-stack/freebsd/amd64/include/ |
| H A D | pcpu.h | 188 CTASSERT(sizeof(__pcpu_type(name)) == 1 || \ 279 CTASSERT(sizeof(*base) == 4 || sizeof(*base) == 8); \ 299 CTASSERT(sizeof(*base) == 4 || sizeof(*base) == 8); \
|
| /f-stack/freebsd/i386/i386/ |
| H A D | minidump_machdep.c | 50 CTASSERT(sizeof(struct kerneldumpheader) == 512);
|
| /f-stack/freebsd/crypto/blake2/ |
| H A D | blake2-sw.c | 34 CTASSERT(sizeof(union authctx) >= sizeof(struct blake2b_xform_ctx)); 102 CTASSERT(sizeof(union authctx) >= sizeof(struct blake2s_xform_ctx));
|
| /f-stack/freebsd/kern/ |
| H A D | uipc_mbuf.c | 149 CTASSERT(MSIZE - offsetof(struct mbuf, m_dat) == MLEN); 150 CTASSERT(MSIZE - offsetof(struct mbuf, m_pktdat) == MHLEN); 156 CTASSERT(offsetof(struct mbuf, m_dat) % 8 == 0); 157 CTASSERT(offsetof(struct mbuf, m_pktdat) % 8 == 0); 171 CTASSERT(offsetof(struct mbuf, m_dat) == 32); 172 CTASSERT(sizeof(struct pkthdr) == 56); 173 CTASSERT(sizeof(struct m_ext) == 160); 175 CTASSERT(offsetof(struct mbuf, m_dat) == 24); 176 CTASSERT(sizeof(struct pkthdr) == 48); 179 CTASSERT(sizeof(struct m_ext) == 184); [all …]
|
| H A D | sys_getrandom.c | 48 CTASSERT(EWOULDBLOCK == EAGAIN);
|