Home
last modified time | relevance | path

Searched refs:U32_MAX (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/Linux-v6.6/lib/
Doverflow_kunit.c105 {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/
Ddrm_dumb_buffers.c72 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/
Daq_hw_utils.c44 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/
Dlimits.h21 #define U32_MAX ((u32)~0U) macro
23 #define S32_MAX ((s32)(U32_MAX >> 1))
Drandom.h100 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()
Dlibfdt_env.h11 #define UINT32_MAX U32_MAX
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_fixed.h64 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/
Dhgsmi_base.c68 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/
Defc_cmds.c211 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/
Dx86-5lvl.c43 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/
Diavf_fdir.c45 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/
Dvboxguest_core.c548 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/
Dstream_sched_fc.c142 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/
Dgsi_reg.c135 if (res->start > U32_MAX || size > U32_MAX - res->start) { in gsi_reg_init()
/Linux-v6.6/drivers/firmware/efi/
Dfdtparams.c76 *(u32 *)var = (val < U32_MAX) ? val : U32_MAX; // saturate in efi_get_fdt_prop()
/Linux-v6.6/fs/crypto/
Dcrypto.c88 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/
Defi.c396 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/
Dlimits.h19 #define LANDLOCK_MAX_NUM_RULES U32_MAX
/Linux-v6.6/drivers/rtc/
Drtc-test.c50 if (expires > U32_MAX) in test_rtc_set_alarm()
51 expires = U32_MAX; in test_rtc_set_alarm()
Drtc-starfire.c47 rtc->range_max = U32_MAX; in starfire_rtc_probe()
/Linux-v6.6/arch/arm/mach-bcm/
Dplatsmp.c116 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/
Dbloom_filter.c122 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/
Dcqhci-crypto.h29 WARN_ON_ONCE(mrq->crypto_ctx->bc_dun[0] > U32_MAX); in cqhci_crypto_prep_task_desc()
/Linux-v6.6/drivers/counter/
Dti-ecap-capture.c181 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/
Duniphier-system-bus.c58 if (paddr > U32_MAX) { in uniphier_system_bus_add_bank()
76 if (end > U32_MAX) { in uniphier_system_bus_add_bank()

12345678910>>...15