Home
last modified time | relevance | path

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

12345678910

/freebsd-13.1/sys/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
55 CTASSERT(__builtin_types_compatible_p(__typeof(((struct parenttype *)(0x0))-> name), datatype)); \
/freebsd-13.1/sys/dev/iscsi/
H A Discsi_proto.h36 #ifndef CTASSERT
37 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro
79 CTASSERT(sizeof(struct iscsi_bhs) == ISCSI_BHS_SIZE);
109 CTASSERT(sizeof(struct iscsi_bhs_scsi_command) == ISCSI_BHS_SIZE);
135 CTASSERT(sizeof(struct iscsi_bhs_scsi_response) == ISCSI_BHS_SIZE);
293 CTASSERT(sizeof(struct iscsi_bhs_data_out) == ISCSI_BHS_SIZE);
318 CTASSERT(sizeof(struct iscsi_bhs_data_in) == ISCSI_BHS_SIZE);
336 CTASSERT(sizeof(struct iscsi_bhs_r2t) == ISCSI_BHS_SIZE);
351 CTASSERT(sizeof(struct iscsi_bhs_nop_out) == ISCSI_BHS_SIZE);
367 CTASSERT(sizeof(struct iscsi_bhs_nop_in) == ISCSI_BHS_SIZE);
[all …]
/freebsd-13.1/sys/dev/hyperv/netvsc/
H A Dif_hnreg.h108 CTASSERT(sizeof(struct hn_nvs_init) >= HN_NVS_REQSIZE_MIN);
126 CTASSERT(sizeof(struct hn_nvs_ndis_conf) >= HN_NVS_REQSIZE_MIN);
140 CTASSERT(sizeof(struct hn_nvs_ndis_init) >= HN_NVS_REQSIZE_MIN);
152 CTASSERT(sizeof(struct hn_nvs_datapath) >= HN_NVS_REQSIZE_MIN);
161 CTASSERT(sizeof(struct hn_nvs_rxbuf_conn) >= HN_NVS_REQSIZE_MIN);
184 CTASSERT(sizeof(struct hn_nvs_rxbuf_disconn) >= HN_NVS_REQSIZE_MIN);
193 CTASSERT(sizeof(struct hn_nvs_chim_conn) >= HN_NVS_REQSIZE_MIN);
208 CTASSERT(sizeof(struct hn_nvs_chim_disconn) >= HN_NVS_REQSIZE_MIN);
219 CTASSERT(sizeof(struct hn_nvs_subch_req) >= HN_NVS_REQSIZE_MIN);
243 CTASSERT(sizeof(struct hn_nvs_rndis) >= HN_NVS_REQSIZE_MIN);
[all …]
/freebsd-13.1/sys/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);
/freebsd-13.1/sys/sys/disk/
H A Dgpt.h53 #ifdef CTASSERT
54 CTASSERT(sizeof(gpt_uuid_t) == 16);
83 #ifdef CTASSERT
84 CTASSERT(offsetof(struct gpt_hdr, padding) == 92);
99 #ifdef CTASSERT
100 CTASSERT(sizeof(struct gpt_ent) == 128);
H A Dmbr.h81 #ifdef CTASSERT
82 CTASSERT(sizeof (struct dos_partition) == DOSPARTSIZE);
/freebsd-13.1/sys/compat/ia32/
H A Dia32_sysvec.c76 CTASSERT(sizeof(struct ia32_mcontext) == 640);
77 CTASSERT(sizeof(struct ia32_ucontext) == 704);
78 CTASSERT(sizeof(struct ia32_sigframe) == 800);
79 CTASSERT(sizeof(struct siginfo32) == 64);
81 CTASSERT(sizeof(struct ia32_mcontext4) == 260);
82 CTASSERT(sizeof(struct ia32_ucontext4) == 324);
83 CTASSERT(sizeof(struct ia32_sigframe4) == 408);
/freebsd-13.1/sys/dev/qat/
H A Dqat_hw15var.h65 CTASSERT(HASH_CONTENT_DESC_SIZE >=
67 CTASSERT(CIPHER_CONTENT_DESC_SIZE >=
69 CTASSERT(CONTENT_DESC_MAX_SIZE >=
72 CTASSERT(QAT_SYM_REQ_PARAMS_SIZE_PADDED >=
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dhrtimer.h59 CTASSERT((clock) == CLOCK_MONOTONIC); \
60 CTASSERT((mode) == HRTIMER_MODE_REL); \
68 CTASSERT((mode) == HRTIMER_MODE_REL); \
73 CTASSERT((mode) == HRTIMER_MODE_REL); \
H A Dpid.h49 CTASSERT((type) == PIDTYPE_PID); \
56 CTASSERT((type) == PIDTYPE_PID); \
62 CTASSERT((type) == PIDTYPE_PID); \
H A Daverage.h59 CTASSERT((sizeof(unsigned long) <= 4) ? (_p < 30) : (_p < 60)); \
60 CTASSERT(_d > 0 && powerof2(_d)); \
/freebsd-13.1/sys/dev/hyperv/vmbus/
H A Dvmbus_reg.h52 CTASSERT(sizeof(struct vmbus_message) == VMBUS_MSG_SIZE);
74 CTASSERT(sizeof(struct vmbus_evtflags) == VMBUS_EVTFLAGS_SIZE);
102 CTASSERT(sizeof(struct vmbus_mnf) == PAGE_SIZE);
180 CTASSERT(sizeof(struct vmbus_bufring) == PAGE_SIZE);
326 CTASSERT(__offsetof(struct vmbus_chanmsg_gpadl_conn,
339 CTASSERT(__offsetof(struct vmbus_chanmsg_gpadl_subconn,
420 CTASSERT(sizeof(struct vmbus_chanmsg_choffer) <= VMBUS_MSG_DSIZE_MAX);
/freebsd-13.1/sys/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);
/freebsd-13.1/sys/amd64/vmm/intel/
H A Dvmx.h103 CTASSERT(sizeof(struct apic_page) == PAGE_SIZE);
111 CTASSERT(sizeof(struct pir_desc) == 64);
140 CTASSERT((offsetof(struct vmx, vmcs) & PAGE_MASK) == 0);
141 CTASSERT((offsetof(struct vmx, msr_bitmap) & PAGE_MASK) == 0);
142 CTASSERT((offsetof(struct vmx, pir_desc[0]) & 63) == 0);
/freebsd-13.1/usr.sbin/uefisign/
H A Dpe.c52 #ifndef CTASSERT
53 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro
96 CTASSERT(offsetof(struct pe_optional_header_32, po_size_of_headers) == 60);
97 CTASSERT(offsetof(struct pe_optional_header_32, po_checksum) == 64);
98 CTASSERT(offsetof(struct pe_optional_header_32, po_subsystem) == 68);
99 CTASSERT(offsetof(struct pe_optional_header_32, po_number_of_rva_and_sizes) == 92);
111 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_size_of_headers) == 60);
112 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_checksum) == 64);
113 CTASSERT(offsetof(struct pe_optional_header_32_plus, po_subsystem) == 68);
130 CTASSERT(offsetof(struct pe_section_header, psh_size_of_raw_data) == 16);
[all …]
/freebsd-13.1/sys/amd64/vmm/amd/
H A Damdvi_priv.h111 CTASSERT(sizeof(struct amdvi_dte) == 32);
163 CTASSERT(sizeof(struct amdvi_event) == 16);
253 CTASSERT(offsetof(struct amdvi_ctrl, pad1)== 0x58);
254 CTASSERT(offsetof(struct amdvi_ctrl, pad2)== 0x2028);
255 CTASSERT(offsetof(struct amdvi_ctrl, pad3)== 0x2040);
263 CTASSERT(sizeof(struct amdvi_ctrl) == 0x4000);
264 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);
/freebsd-13.1/lib/libc/posix1e/
H A Dacl_init.c47 #ifndef CTASSERT
48 #define CTASSERT(x) _CTASSERT(x, __LINE__) macro
53 CTASSERT(1 << _ACL_T_ALIGNMENT_BITS > sizeof(struct acl_t_struct));
/freebsd-13.1/sys/opencrypto/
H A Dxform_poly1305.c13 CTASSERT(sizeof(union authctx) >= sizeof(struct poly1305_xform_ctx));
15 CTASSERT(POLY1305_KEY_LEN == crypto_onetimeauth_poly1305_KEYBYTES);
16 CTASSERT(POLY1305_HASH_LEN == crypto_onetimeauth_poly1305_BYTES);
/freebsd-13.1/sys/dev/hwpmc/
H A Dhwpmc_logging.c194 CTASSERT(sizeof(struct pmclog_callchain) == 7*4 + TSDELTA +
196 CTASSERT(sizeof(struct pmclog_closelog) == 3*4 + TSDELTA);
197 CTASSERT(sizeof(struct pmclog_dropnotify) == 3*4 + TSDELTA);
198 CTASSERT(sizeof(struct pmclog_map_in) == PATH_MAX + TSDELTA +
200 CTASSERT(offsetof(struct pmclog_map_in,pl_pathname) ==
203 CTASSERT(sizeof(struct pmclog_pmcallocate) == 9*4 + TSDELTA);
206 CTASSERT(sizeof(struct pmclog_pmcdetach) == 5*4 + TSDELTA);
208 CTASSERT(sizeof(struct pmclog_procexec) == 5*4 + PATH_MAX +
213 CTASSERT(sizeof(struct pmclog_procfork) == 5*4 + TSDELTA);
214 CTASSERT(sizeof(struct pmclog_sysexit) == 6*4);
[all …]
/freebsd-13.1/sys/ufs/ffs/
H A Dfs.h412 #ifdef CTASSERT
413 CTASSERT(sizeof(struct fs) == 1376);
849 #ifdef CTASSERT
850 CTASSERT(sizeof(struct jsegrec) == JREC_SIZE);
851 CTASSERT(sizeof(struct jrefrec) == JREC_SIZE);
852 CTASSERT(sizeof(struct jmvrec) == JREC_SIZE);
853 CTASSERT(sizeof(struct jblkrec) == JREC_SIZE);
854 CTASSERT(sizeof(struct jtrncrec) == JREC_SIZE);
855 CTASSERT(sizeof(union jrec) == JREC_SIZE);
/freebsd-13.1/sys/dev/hyperv/include/
H A Dhyperv.h72 #ifdef CTASSERT
73 CTASSERT(sizeof(struct hyperv_reftsc) == PAGE_SIZE);
/freebsd-13.1/sys/riscv/riscv/
H A Dexec_machdep.c198 CTASSERT(sizeof(((struct trapframe *)0)->tf_a) ==
200 CTASSERT(sizeof(((struct trapframe *)0)->tf_s) ==
202 CTASSERT(sizeof(((struct trapframe *)0)->tf_t) ==
204 CTASSERT(sizeof(((struct trapframe *)0)->tf_a) ==
206 CTASSERT(sizeof(((struct trapframe *)0)->tf_s) ==
208 CTASSERT(sizeof(((struct trapframe *)0)->tf_t) ==
/freebsd-13.1/sys/dev/virtio/network/
H A Dif_vtnetvar.h238 CTASSERT(sizeof(struct virtio_net_hdr_mrg_rxbuf) ==
300 CTASSERT(sizeof(struct vtnet_mac_filter) <= PAGE_SIZE);
364 CTASSERT(((VTNET_RX_SEGS_LRO_NOMRG - 1) * MCLBYTES) >= VTNET_MAX_RX_SIZE);
365 CTASSERT(((VTNET_TX_SEGS_MAX - 1) * MCLBYTES) >= VTNET_MAX_MTU);

12345678910