/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_mmu.c | 218 static_assert(PAGE_SIZE >= PVR_MMU_BACKING_PAGE_SIZE); 422 static_assert(sizeof(struct pvr_page_table_l2_entry_raw) * 8 == 545 static_assert(sizeof(struct pvr_page_table_l1_entry_raw) * 8 == 687 static_assert(sizeof(struct pvr_page_table_l0_entry_raw) * 8 == 705 static_assert(sizeof(struct pvr_page_flags_raw) == 788 static_assert(sizeof(struct pvr_page_table_l2_raw) == PVR_MMU_BACKING_PAGE_SIZE); 801 static_assert(sizeof(struct pvr_page_table_l1_raw) == PVR_MMU_BACKING_PAGE_SIZE); 823 static_assert(sizeof(struct pvr_page_table_l0_raw) <= PVR_MMU_BACKING_PAGE_SIZE);
|
H A D | pvr_rogue_fwif_client_check.h | 10 static_assert(offsetof(type, member) == (offset), \ 14 static_assert(sizeof(type) == (size), #type " is incorrect size")
|
H A D | pvr_hwrt.c | 17 static_assert(ROGUE_FWIF_NUM_RTDATAS == 2); 18 static_assert(ROGUE_FWIF_NUM_GEOMDATAS == 1); 19 static_assert(ROGUE_FWIF_NUM_RTDATA_FREELISTS == 2);
|
/linux-master/net/tls/ |
H A D | tls_main.c | 62 static_assert(cipher ## _IV_SIZE <= TLS_MAX_IV_SIZE); \ 63 static_assert(cipher ## _SALT_SIZE <= TLS_MAX_SALT_SIZE); \ 64 static_assert(cipher ## _REC_SEQ_SIZE <= TLS_MAX_REC_SEQ_SIZE); \ 65 static_assert(cipher ## _TAG_SIZE == TLS_TAG_SIZE); \ 66 static_assert(sizeof_field(struct ci, iv) == cipher ## _IV_SIZE); \ 67 static_assert(sizeof_field(struct ci, key) == cipher ## _KEY_SIZE); \ 68 static_assert(sizeof_field(struct ci, salt) == cipher ## _SALT_SIZE); \ 69 static_assert(sizeof_field(struct ci, rec_seq) == cipher ## _REC_SEQ_SIZE);
|
/linux-master/include/linux/ |
H A D | mm_types.h | 387 static_assert(offsetof(struct page, pg) == offsetof(struct folio, fl)) 407 static_assert(offsetof(struct folio, fl) == \ 413 static_assert(offsetof(struct folio, fl) == \ 476 static_assert(offsetof(struct page, pg) == offsetof(struct ptdesc, pt)) 489 static_assert(sizeof(struct ptdesc) <= sizeof(struct page));
|
/linux-master/sound/pci/emu10k1/ |
H A D | emumixer.c | 169 static_assert(ARRAY_SIZE(emu1010_src_regs) == ARRAY_SIZE(emu1010_src_texts)); 201 static_assert(ARRAY_SIZE(emu1010b_src_regs) == ARRAY_SIZE(emu1010b_src_texts)); 227 static_assert(ARRAY_SIZE(emu1616_src_regs) == ARRAY_SIZE(emu1616_src_texts)); 247 static_assert(ARRAY_SIZE(emu0404_src_regs) == ARRAY_SIZE(emu0404_src_texts)); 270 static_assert(ARRAY_SIZE(emu1010_output_texts) <= NUM_OUTPUT_DESTS); 283 static_assert(ARRAY_SIZE(emu1010_output_dst) == ARRAY_SIZE(emu1010_output_texts)); 297 static_assert(ARRAY_SIZE(emu1010_output_dflt) == ARRAY_SIZE(emu1010_output_dst)); 311 static_assert(ARRAY_SIZE(snd_emu1010b_output_texts) <= NUM_OUTPUT_DESTS); 323 static_assert(ARRAY_SIZE(emu1010b_output_dst) == ARRAY_SIZE(snd_emu1010b_output_texts)); 348 static_assert(ARRAY_SIZ [all...] |
/linux-master/include/linux/pds/ |
H A D | pds_adminq.h | 1249 static_assert(sizeof(union pds_core_adminq_cmd) == 64); 1250 static_assert(sizeof(union pds_core_adminq_comp) == 16); 1251 static_assert(sizeof(union pds_core_notifyq_comp) == 64);
|
/linux-master/mm/ |
H A D | slab.h | 96 static_assert(offsetof(struct page, pg) == offsetof(struct slab, sl)) 104 static_assert(sizeof(struct slab) <= sizeof(struct page)); 106 static_assert(IS_ALIGNED(offsetof(struct slab, freelist), sizeof(freelist_aba_t)));
|
/linux-master/fs/ntfs3/ |
H A D | namei.c | 256 static_assert(SIZEOF_ATTRIBUTE_FILENAME_MAX + SIZEOF_RESIDENT < 1024); 257 static_assert(SIZEOF_ATTRIBUTE_FILENAME_MAX + sizeof(struct NTFS_DE) < 259 static_assert(PATH_MAX >= 4 * 1024);
|
/linux-master/kernel/locking/ |
H A D | lockdep_internals.h | 27 static_assert(LOCK_TRACE_STATES == LOCK_USAGE_STATES);
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | sar.c | 65 static_assert(ARRAY_SIZE(rtw_common_sar_freq_ranges) == RTW_SAR_BAND_NR);
|
/linux-master/fs/btrfs/ |
H A D | compression.h | 36 static_assert((BTRFS_MAX_COMPRESSED % PAGE_SIZE) == 0);
|
H A D | locking.h | 79 * add this in here and add a static_assert to keep us from going over 163 static_assert(BTRFS_NESTING_MAX <= MAX_LOCKDEP_SUBCLASSES,
|
H A D | volumes.h | 39 static_assert(const_ilog2(BTRFS_STRIPE_LEN) == BTRFS_STRIPE_LEN_SHIFT); 50 static_assert(const_ffs(BTRFS_BLOCK_GROUP_RAID0) < 52 static_assert(const_ilog2(BTRFS_BLOCK_GROUP_RAID0) >
|
H A D | accessors.h | 77 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \ 83 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \ 89 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \ 95 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \ 126 static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes)); 133 static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes));
|
/linux-master/drivers/acpi/ |
H A D | platform_profile.c | 23 static_assert(ARRAY_SIZE(profile_names) == PLATFORM_PROFILE_LAST);
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | svm_nested_soft_inject_test.c | 22 static_assert(ATOMIC_INT_LOCK_FREE == 2, "atomic int is not lockless");
|
/linux-master/arch/arm64/kernel/ |
H A D | efi.c | 199 static_assert(THREAD_SIZE >= SZ_8K);
|
/linux-master/scripts/genksyms/ |
H A D | parse.y | 135 | static_assert 500 static_assert: label
|
/linux-master/sound/soc/codecs/ |
H A D | audio-iio-aux.c | 127 static_assert(ARRAY_SIZE(widgets) >= 3, "3 widgets are needed"); 128 static_assert(ARRAY_SIZE(routes) >= 2, "2 routes are needed");
|
/linux-master/drivers/hid/ |
H A D | hid-nvidia-shield.c | 104 static_assert(sizeof(enum thunderstrike_led_state) == 1); 121 static_assert(sizeof(enum thunderstrike_charger_type) == 1); 130 static_assert(sizeof(enum thunderstrike_charger_state) == 1); 163 static_assert(sizeof(struct thunderstrike_hostcmd_resp_report) == 183 static_assert(sizeof(struct thunderstrike_hostcmd_req_report) ==
|
H A D | hid-playstation.c | 204 static_assert(sizeof(struct dualsense_touch_point) == 4); 229 static_assert(sizeof(struct dualsense_input_report) == DS_INPUT_REPORT_USB_SIZE - 1); 257 static_assert(sizeof(struct dualsense_output_report_common) == 47); 267 static_assert(sizeof(struct dualsense_output_report_bt) == DS_OUTPUT_REPORT_BT_SIZE); 274 static_assert(sizeof(struct dualsense_output_report_usb) == DS_OUTPUT_REPORT_USB_SIZE); 416 static_assert(sizeof(struct dualshock4_touch_point) == 4); 422 static_assert(sizeof(struct dualshock4_touch_report) == 9); 441 static_assert(sizeof(struct dualshock4_input_report_common) == 32); 450 static_assert(sizeof(struct dualshock4_input_report_usb) == DS4_INPUT_REPORT_USB_SIZE); 461 static_assert(sizeo [all...] |
/linux-master/drivers/platform/x86/ |
H A D | wmi.c | 54 static_assert(sizeof(typeof_member(struct guid_block, guid)) == 16); 55 static_assert(sizeof(struct guid_block) == 20); 56 static_assert(__alignof__(struct guid_block) == 1); 151 static_assert(ARRAY_SIZE(wblock->gblock.object_id) == 2); 152 static_assert(WMI_ACPI_METHOD_NAME_SIZE >= 5);
|
/linux-master/drivers/gpu/drm/vkms/ |
H A D | vkms_composer.c | 133 static_assert(sizeof(struct drm_color_lut) == sizeof(__u16) * 4); 258 static_assert(sizeof(struct pixel_argb_u16) == 8);
|
/linux-master/include/ufs/ |
H A D | ufshci.h | 529 static_assert(sizeof(struct request_desc_header) == 16); 577 static_assert(sizeof(struct cq_entry) == 32);
|