Searched refs:static_assert (Results 1 - 25 of 221) sorted by relevance

123456789

/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_rogue_mips_check.h9 static_assert(offsetof(struct rogue_mips_tlb_entry, tlb_page_mask) == 0,
11 static_assert(offsetof(struct rogue_mips_tlb_entry, tlb_hi) == 4,
13 static_assert(offsetof(struct rogue_mips_tlb_entry, tlb_lo0) == 8,
15 static_assert(offsetof(struct rogue_mips_tlb_entry, tlb_lo1) == 12,
17 static_assert(sizeof(struct rogue_mips_tlb_entry) == 16,
20 static_assert(offsetof(struct rogue_mips_remap_entry, remap_addr_in) == 0,
22 static_assert(offsetof(struct rogue_mips_remap_entry, remap_addr_out) == 4,
24 static_assert(offsetof(struct rogue_mips_remap_entry, remap_region_size) == 8,
26 static_assert(sizeof(struct rogue_mips_remap_entry) == 12,
29 static_assert(offseto
[all...]
H A Dpvr_rogue_fwif_common.h18 static_assert((sizeof(_a) & PVR_FW_ALIGNMENT_LSB) == 0U, \
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_dev.h46 static_assert(sizeof(struct ionic_intr) == 32);
48 static_assert(sizeof(struct ionic_doorbell) == 8);
49 static_assert(sizeof(struct ionic_intr_status) == 8);
50 static_assert(sizeof(union ionic_dev_regs) == 4096);
51 static_assert(sizeof(union ionic_dev_info_regs) == 2048);
52 static_assert(sizeof(union ionic_dev_cmd_regs) == 2048);
53 static_assert(sizeof(struct ionic_lif_stats) == 1024);
55 static_assert(sizeof(struct ionic_admin_cmd) == 64);
56 static_assert(sizeof(struct ionic_admin_comp) == 16);
57 static_assert(sizeo
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_sriov_types.h38 static_assert(XE_SRIOV_MODE_NONE);
/linux-master/arch/powerpc/include/asm/
H A Drtas-work-area.h50 static_assert(__builtin_constant_p(size_)); \
51 static_assert((size_) > 0); \
52 static_assert((size_) <= RTAS_WORK_AREA_MAX_ALLOC_SZ); \
/linux-master/drivers/net/ethernet/google/gve/
H A Dgve_adminq.h54 /* All AdminQ command structs should be naturally packed. The static_assert
64 static_assert(sizeof(struct gve_adminq_describe_device) == 16);
82 static_assert(sizeof(struct gve_device_descriptor) == 40);
90 static_assert(sizeof(struct gve_device_option) == 8);
96 static_assert(sizeof(struct gve_device_option_gqi_rda) == 4);
102 static_assert(sizeof(struct gve_device_option_gqi_qpl) == 4);
110 static_assert(sizeof(struct gve_device_option_dqo_rda) == 8);
118 static_assert(sizeof(struct gve_device_option_dqo_qpl) == 8);
126 static_assert(sizeof(struct gve_device_option_jumbo_frames) == 8);
135 static_assert(sizeo
[all...]
H A Dgve_desc_dqo.h43 static_assert(sizeof(struct gve_tx_pkt_desc_dqo) == 16);
68 static_assert(sizeof(struct gve_tx_context_cmd_dtype) == 2);
93 static_assert(sizeof(struct gve_tx_tso_context_desc_dqo) == 16);
114 static_assert(sizeof(struct gve_tx_general_context_desc_dqo) == 16);
142 static_assert(sizeof(struct gve_tx_metadata_dqo) == 12);
172 static_assert(sizeof(struct gve_tx_compl_desc) == 8);
193 static_assert(sizeof(struct gve_rx_desc_dqo) == 32);
253 static_assert(sizeof(struct gve_rx_compl_desc_dqo) == 32);
/linux-master/arch/x86/kernel/
H A Dsignal_64.c410 static_assert(NSIGILL == 11);
411 static_assert(NSIGFPE == 15);
412 static_assert(NSIGSEGV == 10);
413 static_assert(NSIGBUS == 5);
414 static_assert(NSIGTRAP == 6);
415 static_assert(NSIGCHLD == 6);
416 static_assert(NSIGSYS == 2);
419 static_assert(sizeof(siginfo_t) == 128);
422 static_assert(__alignof__(siginfo_t) == 8);
429 static_assert(offseto
[all...]
H A Dsignal_32.c403 static_assert(NSIGILL == 11);
404 static_assert(NSIGFPE == 15);
405 static_assert(NSIGSEGV == 10);
406 static_assert(NSIGBUS == 5);
407 static_assert(NSIGTRAP == 6);
408 static_assert(NSIGCHLD == 6);
409 static_assert(NSIGSYS == 2);
412 static_assert(sizeof(siginfo32_t) == 128);
415 static_assert(__alignof__(siginfo32_t) == 4);
422 static_assert(offseto
[all...]
/linux-master/lib/zlib_inflate/
H A Dinfutil.h34 static_assert(offsetof(struct inflate_workspace, dfltcc_state) % 8 == 0);
/linux-master/include/linux/
H A Drw_hint.h21 static_assert(sizeof(enum rw_hint) == 1);
H A Dcontainer_of.h20 static_assert(__same_type(*(ptr), ((type *)0)->member) || \
/linux-master/drivers/gpu/drm/xe/abi/
H A Dguc_relay_communication_abi.h98 static_assert(PF2GUC_RELAY_TO_VF_REQUEST_MSG_MIN_LEN >
H A Dguc_communication_ctb_abi.h57 static_assert(sizeof(struct guc_ct_buffer_desc) == 64);
/linux-master/arch/arm/kernel/
H A Dsignal.c683 static_assert(NSIGILL == 11);
684 static_assert(NSIGFPE == 15);
685 static_assert(NSIGSEGV == 10);
686 static_assert(NSIGBUS == 5);
687 static_assert(NSIGTRAP == 6);
688 static_assert(NSIGCHLD == 6);
689 static_assert(NSIGSYS == 2);
690 static_assert(sizeof(siginfo_t) == 128);
691 static_assert(__alignof__(siginfo_t) == 4);
692 static_assert(offseto
[all...]
/linux-master/arch/arm64/kernel/
H A Dsignal32.c461 static_assert(NSIGILL == 11);
462 static_assert(NSIGFPE == 15);
463 static_assert(NSIGSEGV == 10);
464 static_assert(NSIGBUS == 5);
465 static_assert(NSIGTRAP == 6);
466 static_assert(NSIGCHLD == 6);
467 static_assert(NSIGSYS == 2);
468 static_assert(sizeof(compat_siginfo_t) == 128);
469 static_assert(__alignof__(compat_siginfo_t) == 4);
470 static_assert(offseto
[all...]
/linux-master/tools/include/linux/
H A Dbuild_bug.h62 * static_assert - check integer constant expression at build time
64 * static_assert() is a wrapper for the C11 _Static_assert, with a
68 * Contrary to BUILD_BUG_ON(), static_assert() can be used at global
74 * true, while static_assert() fails the build if the expression is
77 #ifndef static_assert
78 #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) macro
80 #endif // static_assert
/linux-master/fs/ntfs3/
H A Dntfs.h71 static_assert(SECTOR_SHIFT == 9);
75 static_assert(sizeof(size_t) == 8);
127 static_assert(sizeof(enum ATTR_TYPE) == 4);
147 static_assert(sizeof(enum FILE_ATTRIBUTE) == 4);
184 static_assert(sizeof(__le64) == sizeof(struct MFT_REF));
231 static_assert(sizeof(struct NTFS_BOOT) == 0x200);
244 static_assert(sizeof(enum NTFS_SIGNATURE) == 4);
255 static_assert(sizeof(struct NTFS_RECORD_HEADER) == 0x10);
301 static_assert(MFTRECORD_FIXUP_OFFSET_1 == 0x2A);
302 static_assert(MFTRECORD_FIXUP_OFFSET_
[all...]
/linux-master/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_rx.h24 static_assert(sizeof(struct octep_oq_desc_hw) == 16);
64 static_assert(sizeof(struct octep_oq_resp_hw_ext) == 8);
77 static_assert(sizeof(struct octep_oq_resp_hw) == 8);
H A Doctep_tx.h40 static_assert(sizeof(struct octep_tx_sglist_desc) == 40);
242 static_assert(sizeof(struct octep_instr_hdr) == 8);
287 static_assert(sizeof(struct tx_mdata) == 16);
314 static_assert(sizeof(struct octep_tx_desc_hw) == 64);
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_rx.h24 static_assert(sizeof(struct octep_vf_oq_desc_hw) == 16);
64 static_assert(sizeof(struct octep_vf_oq_resp_hw_ext) == 8);
77 static_assert(sizeof(struct octep_vf_oq_resp_hw) == 8);
H A Doctep_vf_tx.h40 static_assert(sizeof(struct octep_vf_tx_sglist_desc) == 40);
200 static_assert(sizeof(struct octep_vf_instr_hdr) == 8);
244 static_assert(sizeof(struct tx_mdata) == 16);
273 static_assert(sizeof(struct octep_vf_tx_desc_hw) == 64);
/linux-master/drivers/gpu/drm/i915/gt/uc/abi/
H A Dguc_communication_ctb_abi.h59 static_assert(sizeof(struct guc_ct_buffer_desc) == 64);
/linux-master/arch/x86/include/asm/
H A Dcurrent.h36 static_assert(sizeof(struct pcpu_hot) == 64);
/linux-master/drivers/gpu/drm/msm/adreno/
H A Dadreno_gen7_0_0_snapshot.h171 static_assert(IS_ALIGNED(sizeof(gen7_0_0_pre_crashdumper_gpu_registers), 8));
177 static_assert(IS_ALIGNED(sizeof(gen7_0_0_post_crashdumper_registers), 8));
208 static_assert(IS_ALIGNED(sizeof(gen7_0_0_gpu_registers), 8));
241 static_assert(IS_ALIGNED(sizeof(gen7_0_0_gmu_registers), 8));
257 static_assert(IS_ALIGNED(sizeof(gen7_0_0_gmugx_registers), 8));
270 static_assert(IS_ALIGNED(sizeof(gen7_0_0_noncontext_pipe_br_registers), 8));
283 static_assert(IS_ALIGNED(sizeof(gen7_0_0_noncontext_pipe_bv_registers), 8));
289 static_assert(IS_ALIGNED(sizeof(gen7_0_0_noncontext_pipe_lpac_registers), 8));
295 static_assert(IS_ALIGNED(sizeof(gen7_0_0_noncontext_rb_rac_pipe_br_registers), 8));
304 static_assert(IS_ALIGNE
[all...]

Completed in 321 milliseconds

123456789