Home
last modified time | relevance | path

Searched refs:CTASSERT (Results 1 – 25 of 123) sorted by relevance

12345

/f-stack/freebsd/sys/
H A Dsysctl.h326 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 Dassym.h48 #define OFFSET_CTASSERT CTASSERT
57 CTASSERT(__builtin_types_compatible_p(__typeof(((struct parenttype *)(0x0))-> name), datatype)); \
H A Dpctrie.h54 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 Daltq_cbq.h59 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 Dgpt.h51 #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 Dmbr.h79 #ifdef CTASSERT
80 CTASSERT(sizeof (struct dos_partition) == DOSPARTSIZE);
H A Dvtoc.h104 #ifdef CTASSERT
105 CTASSERT(sizeof(struct vtoc8) == 512);
H A Dbsd.h129 #ifdef CTASSERT
130 CTASSERT(sizeof(struct disklabel) == 148 + BSD_NPARTS_MIN * 16);
/f-stack/freebsd/libkern/
H A Dbcd.c24 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 Dvmx.h102 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 Dvmx_cpufunc.h181 CTASSERT(sizeof(struct invvpid_desc) == 16);
204 CTASSERT(sizeof(struct invept_desc) == 16);
/f-stack/freebsd/amd64/vmm/amd/
H A Damdvi_priv.h108 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 Dvmcb.h230 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 Dxform_poly1305.c14 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 Dif_llc.h119 #ifdef CTASSERT
120 CTASSERT(sizeof (struct llc) == LLC_SNAPFRAMELEN);
H A Ddebugnet_int.h81 CTASSERT(sizeof(((struct debugnet_pcb *)0)->dp_rcvd_acks) * NBBY >=
/f-stack/tools/compat/include/netinet/
H A Dip_carp.h81 #ifdef CTASSERT
82 CTASSERT(sizeof(struct carp_header) == 36);
H A Digmp_var.h93 #ifdef CTASSERT
94 CTASSERT(sizeof(struct igmpstat) == IGPS_VERSION3_LEN);
/f-stack/freebsd/netinet/
H A Dip_carp.h81 #ifdef CTASSERT
82 CTASSERT(sizeof(struct carp_header) == 36);
H A Digmp_var.h93 #ifdef CTASSERT
94 CTASSERT(sizeof(struct igmpstat) == IGPS_VERSION3_LEN);
/f-stack/freebsd/amd64/include/
H A Dpcpu.h188 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 Dminidump_machdep.c50 CTASSERT(sizeof(struct kerneldumpheader) == 512);
/f-stack/freebsd/crypto/blake2/
H A Dblake2-sw.c34 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 Duipc_mbuf.c149 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 Dsys_getrandom.c48 CTASSERT(EWOULDBLOCK == EAGAIN);

12345