/Linux-v6.6/lib/ |
D | overflow_kunit.c | 105 {0, 1, 1, U32_MAX, 0, false, true, false}, 107 {0, U32_MAX, U32_MAX, 1, 0, false, true, false}, 108 {U32_MAX, 0, U32_MAX, U32_MAX, 0, false, false, false}, 109 {1, U32_MAX, 0, 2, U32_MAX, true, true, false}, 110 {U32_MAX, 1, 0, U32_MAX-1, U32_MAX, true, false, false}, 111 {U32_MAX, U32_MAX, U32_MAX-1, 0, 1, true, false, true}, 113 {U32_MAX, U32_MAX-1, U32_MAX-2, 1, 2, true, false, true}, 114 {U32_MAX-1, U32_MAX, U32_MAX-2, U32_MAX, 2, true, true, true}, 317 {U32_MAX, 0, -1, -1, 0, true, true, false}, 824 TEST_OVERFLOWS_TYPE(u32, u8, U32_MAX, true); in overflows_type_test() [all …]
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_dumb_buffers.c | 72 if (args->bpp > U32_MAX - 8) in drm_mode_create_dumb() 75 if (cpp > U32_MAX / args->width) in drm_mode_create_dumb() 78 if (args->height > U32_MAX / stride) in drm_mode_create_dumb()
|
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_hw_utils.c | 44 if (value == U32_MAX && in aq_hw_read_reg() 45 readl(hw->mmio + hw->aq_nic_cfg->aq_hw_caps->hw_alive_check_addr) == U32_MAX) in aq_hw_read_reg() 70 readl(hw->mmio + hw->aq_nic_cfg->aq_hw_caps->hw_alive_check_addr) == U32_MAX) in aq_hw_read_reg64()
|
/Linux-v6.6/include/linux/ |
D | limits.h | 21 #define U32_MAX ((u32)~0U) macro 23 #define S32_MAX ((s32)(U32_MAX >> 1))
|
D | random.h | 100 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && floor == U32_MAX, in get_random_u32_above() 102 return floor + 1 + get_random_u32_below(U32_MAX - floor); in get_random_u32_above() 113 (floor > ceil || ceil - floor == U32_MAX), in get_random_u32_inclusive()
|
D | libfdt_env.h | 11 #define UINT32_MAX U32_MAX
|
/Linux-v6.6/drivers/gpu/drm/i915/ |
D | i915_fixed.h | 64 WARN_ON(val > U32_MAX); in clamp_u64_to_fixed16() 81 WARN_ON(tmp > U32_MAX); in mul_round_up_u32_fixed16() 113 WARN_ON(tmp > U32_MAX); in div_round_up_u32_fixed16()
|
/Linux-v6.6/drivers/gpu/drm/vboxvideo/ |
D | hgsmi_base.c | 68 ret = hgsmi_query_conf(ctx, U32_MAX, &value); in hgsmi_test_query_conf() 72 return value == U32_MAX ? 0 : -EIO; in hgsmi_test_query_conf() 93 p->value = U32_MAX; in hgsmi_query_conf()
|
/Linux-v6.6/drivers/scsi/elx/libefc/ |
D | efc_cmds.c | 211 nport->indicator = U32_MAX; in efc_cmd_nport_alloc() 476 domain->fcf_indicator = U32_MAX; in efc_cmd_domain_alloc() 477 domain->indicator = U32_MAX; in efc_cmd_domain_alloc() 610 if (rnode->indicator != U32_MAX) { in efc_cmd_node_alloc() 673 if (rnode->index == U32_MAX) { in efc_cmd_node_attach() 702 if (rnode->indicator != U32_MAX) { in efc_node_free_resources() 710 rnode->indicator = U32_MAX; in efc_node_free_resources() 711 rnode->index = U32_MAX; in efc_node_free_resources() 771 SLI4_RSRC_RPI, U32_MAX)) in efc_cmd_node_detach()
|
/Linux-v6.6/drivers/firmware/efi/libstub/ |
D | x86-5lvl.c | 43 U32_MAX); in efi_setup_5level_paging() 88 if ((u64)new_cr3 > U32_MAX) in efi_5level_switch()
|
/Linux-v6.6/drivers/net/ethernet/intel/iavf/ |
D | iavf_fdir.c | 45 fltr->ip_mask.v4_addrs.src_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks() 49 fltr->ip_mask.v4_addrs.dst_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks() 80 if (fltr->ip_mask.spi && fltr->ip_mask.spi != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks() 84 fltr->ip_mask.l4_header != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks() 329 if (fltr->ip_mask.v4_addrs.src_ip == htonl(U32_MAX)) { in iavf_fill_fdir_ip4_hdr() 334 if (fltr->ip_mask.v4_addrs.dst_ip == htonl(U32_MAX)) { in iavf_fill_fdir_ip4_hdr() 492 if (fltr->ip_mask.spi == htonl(U32_MAX)) { in iavf_fill_fdir_ah_hdr() 516 if (fltr->ip_mask.spi == htonl(U32_MAX)) { in iavf_fill_fdir_esp_hdr() 545 if (fltr->ip_data.proto == 115 && fltr->ip_mask.l4_header == htonl(U32_MAX)) { in iavf_fill_fdir_l4_hdr()
|
/Linux-v6.6/drivers/virt/vboxguest/ |
D | vboxguest_core.c | 548 req->not_mask = U32_MAX & ~fixed_events; in vbg_reset_host_event_filter() 623 gdev->event_filter_host = U32_MAX; in vbg_set_session_event_filter() 654 req->not_mask = U32_MAX; in vbg_reset_host_capabilities() 692 gdev->guest_caps_host = U32_MAX; in vbg_set_host_capabilities() 701 gdev->guest_caps_host = (rc >= 0) ? caps : U32_MAX; in vbg_set_host_capabilities() 927 gdev->event_filter_host = U32_MAX; /* forces a report */ in vbg_core_init() 928 gdev->guest_caps_host = U32_MAX; /* forces a report */ in vbg_core_init() 1079 vbg_acquire_session_capabilities(gdev, session, 0, U32_MAX, 0, true); in vbg_core_close_session() 1080 vbg_set_session_capabilities(gdev, session, 0, U32_MAX, true); in vbg_core_close_session() 1081 vbg_set_session_event_filter(gdev, session, 0, U32_MAX, true); in vbg_core_close_session() [all …]
|
/Linux-v6.6/net/sctp/ |
D | stream_sched_fc.c | 142 if (soute->fc_length > U32_MAX - ch->skb->len) { in sctp_sched_fc_dequeue_done() 147 if (pos->fc_length <= (U32_MAX >> 2)) { in sctp_sched_fc_dequeue_done() 151 pos->fc_length -= (U32_MAX >> 2); in sctp_sched_fc_dequeue_done()
|
/Linux-v6.6/drivers/net/ipa/ |
D | gsi_reg.c | 135 if (res->start > U32_MAX || size > U32_MAX - res->start) { in gsi_reg_init()
|
/Linux-v6.6/drivers/firmware/efi/ |
D | fdtparams.c | 76 *(u32 *)var = (val < U32_MAX) ? val : U32_MAX; // saturate in efi_get_fdt_prop()
|
/Linux-v6.6/fs/crypto/ |
D | crypto.c | 88 WARN_ON_ONCE(lblk_num > U32_MAX); in fscrypt_generate_iv() 89 WARN_ON_ONCE(ci->ci_inode->i_ino > U32_MAX); in fscrypt_generate_iv() 92 WARN_ON_ONCE(lblk_num > U32_MAX); in fscrypt_generate_iv()
|
/Linux-v6.6/arch/x86/platform/efi/ |
D | efi.c | 396 over4g = systab64->runtime > U32_MAX; in efi_systab_init() 410 over4g |= data->fw_vendor > U32_MAX || in efi_systab_init() 411 data->tables > U32_MAX; in efi_systab_init() 418 over4g |= systab64->fw_vendor > U32_MAX || in efi_systab_init() 419 systab64->tables > U32_MAX; in efi_systab_init()
|
/Linux-v6.6/security/landlock/ |
D | limits.h | 19 #define LANDLOCK_MAX_NUM_RULES U32_MAX
|
/Linux-v6.6/drivers/rtc/ |
D | rtc-test.c | 50 if (expires > U32_MAX) in test_rtc_set_alarm() 51 expires = U32_MAX; in test_rtc_set_alarm()
|
D | rtc-starfire.c | 47 rtc->range_max = U32_MAX; in starfire_rtc_probe()
|
/Linux-v6.6/arch/arm/mach-bcm/ |
D | platsmp.c | 116 BUG_ON(secondary_startup_phy > (phys_addr_t)U32_MAX); in nsp_write_lut() 190 BUG_ON(boot_func > (phys_addr_t)U32_MAX); in kona_boot_secondary()
|
/Linux-v6.6/kernel/bpf/ |
D | bloom_filter.c | 122 bitset_bytes = BITS_TO_BYTES(U32_MAX); in bloom_map_alloc() 123 bitset_mask = U32_MAX; in bloom_map_alloc()
|
/Linux-v6.6/drivers/mmc/host/ |
D | cqhci-crypto.h | 29 WARN_ON_ONCE(mrq->crypto_ctx->bc_dun[0] > U32_MAX); in cqhci_crypto_prep_task_desc()
|
/Linux-v6.6/drivers/counter/ |
D | ti-ecap-capture.c | 181 if (val > U32_MAX) in ecap_cnt_count_write() 280 if (cap > U32_MAX) in ecap_cnt_cap_write() 303 if (val > U32_MAX) in ecap_cnt_nb_ovf_write() 314 *val = U32_MAX; in ecap_cnt_ceiling_read()
|
/Linux-v6.6/drivers/bus/ |
D | uniphier-system-bus.c | 58 if (paddr > U32_MAX) { in uniphier_system_bus_add_bank() 76 if (end > U32_MAX) { in uniphier_system_bus_add_bank()
|