| /freebsd-13.1/sys/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 55 CTASSERT(__builtin_types_compatible_p(__typeof(((struct parenttype *)(0x0))-> name), datatype)); \
|
| /freebsd-13.1/sys/dev/iscsi/ |
| H A D | iscsi_proto.h | 36 #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 D | if_hnreg.h | 108 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 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);
|
| /freebsd-13.1/sys/sys/disk/ |
| H A D | gpt.h | 53 #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 D | mbr.h | 81 #ifdef CTASSERT 82 CTASSERT(sizeof (struct dos_partition) == DOSPARTSIZE);
|
| /freebsd-13.1/sys/compat/ia32/ |
| H A D | ia32_sysvec.c | 76 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 D | qat_hw15var.h | 65 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 D | hrtimer.h | 59 CTASSERT((clock) == CLOCK_MONOTONIC); \ 60 CTASSERT((mode) == HRTIMER_MODE_REL); \ 68 CTASSERT((mode) == HRTIMER_MODE_REL); \ 73 CTASSERT((mode) == HRTIMER_MODE_REL); \
|
| H A D | pid.h | 49 CTASSERT((type) == PIDTYPE_PID); \ 56 CTASSERT((type) == PIDTYPE_PID); \ 62 CTASSERT((type) == PIDTYPE_PID); \
|
| H A D | average.h | 59 CTASSERT((sizeof(unsigned long) <= 4) ? (_p < 30) : (_p < 60)); \ 60 CTASSERT(_d > 0 && powerof2(_d)); \
|
| /freebsd-13.1/sys/dev/hyperv/vmbus/ |
| H A D | vmbus_reg.h | 52 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 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);
|
| /freebsd-13.1/sys/amd64/vmm/intel/ |
| H A D | vmx.h | 103 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 D | pe.c | 52 #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 D | amdvi_priv.h | 111 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 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);
|
| /freebsd-13.1/lib/libc/posix1e/ |
| H A D | acl_init.c | 47 #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 D | xform_poly1305.c | 13 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 D | hwpmc_logging.c | 194 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 D | fs.h | 412 #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 D | hyperv.h | 72 #ifdef CTASSERT 73 CTASSERT(sizeof(struct hyperv_reftsc) == PAGE_SIZE);
|
| /freebsd-13.1/sys/riscv/riscv/ |
| H A D | exec_machdep.c | 198 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 D | if_vtnetvar.h | 238 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);
|