Home
last modified time | relevance | path

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

12345678910>>...15

/linux/fs/bcachefs/
H A Dtests.c18 SPOS(0, 0, U32_MAX), in delete_test_keys()
24 SPOS(0, 0, U32_MAX), in delete_test_keys()
40 k.k.p.snapshot = U32_MAX; in test_delete()
81 k.k.p.snapshot = U32_MAX; in test_delete_written()
122 ck.k.p.snapshot = U32_MAX; in test_iterate()
135 SPOS(0, 0, U32_MAX), POS(0, U64_MAX), in test_iterate()
150 SPOS(0, U64_MAX, U32_MAX), 0, k, ({ in test_iterate()
176 ck.k.p.snapshot = U32_MAX; in test_iterate_extents()
190 SPOS(0, 0, U32_MAX), POS(0, U64_MAX), in test_iterate_extents()
206 SPOS(0, U64_MAX, U32_MAX), 0, k, ({ in test_iterate_extents()
[all …]
H A Dmean_and_variance.c53 u64 h = hi & ((u64) U32_MAX << 32); in u128_div()
54 u64 l = (hi & (u64) U32_MAX) << 32; in u128_div()
/linux/drivers/bus/
H A Dstm32_firewall.c94 firewall[j].firewall_id = U32_MAX; in stm32_firewall_get_firewall()
120 if (!firewall || firewall->firewall_id == U32_MAX) in stm32_firewall_grant_access()
136 if (!firewall || subsystem_id == U32_MAX || firewall->firewall_id == U32_MAX) in stm32_firewall_grant_access_by_id()
152 if (!firewall || firewall->firewall_id == U32_MAX) { in stm32_firewall_release_access()
172 if (!firewall || subsystem_id == U32_MAX || firewall->firewall_id == U32_MAX) { in stm32_firewall_release_access_by_id()
/linux/lib/
H A Doverflow_kunit.c106 {0, 1, 1, U32_MAX, 0, false, true, false},
108 {0, U32_MAX, U32_MAX, 1, 0, false, true, false},
109 {U32_MAX, 0, U32_MAX, U32_MAX, 0, false, false, false},
110 {1, U32_MAX, 0, 2, U32_MAX, true, true, false},
111 {U32_MAX, 1, 0, U32_MAX-1, U32_MAX, true, false, false},
112 {U32_MAX, U32_MAX, U32_MAX-1, 0, 1, true, false, true},
114 {U32_MAX, U32_MAX-1, U32_MAX-2, 1, 2, true, false, true},
115 {U32_MAX-1, U32_MAX, U32_MAX-2, U32_MAX, 2, true, true, true},
377 {U32_MAX, 0, -1, -1, 0, true, true, false},
881 TEST_OVERFLOWS_TYPE(u32, u8, U32_MAX, true); in overflows_type_test()
[all …]
/linux/drivers/gpu/drm/
H A 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/drivers/net/ethernet/aquantia/atlantic/
H A 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/include/linux/
H A Dlimits.h21 #define U32_MAX ((u32)~0U) macro
23 #define S32_MAX ((s32)(U32_MAX >> 1))
/linux/drivers/gpu/drm/i915/display/
H A Dintel_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/drivers/scsi/elx/libefc/
H A 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/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c46 fltr->ip_mask.v4_addrs.src_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks()
50 fltr->ip_mask.v4_addrs.dst_ip != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks()
81 if (fltr->ip_mask.spi && fltr->ip_mask.spi != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks()
85 fltr->ip_mask.l4_header != htonl(U32_MAX)) in iavf_validate_fdir_fltr_masks()
330 if (fltr->ip_mask.v4_addrs.src_ip == htonl(U32_MAX)) { in iavf_fill_fdir_ip4_hdr()
335 if (fltr->ip_mask.v4_addrs.dst_ip == htonl(U32_MAX)) { in iavf_fill_fdir_ip4_hdr()
493 if (fltr->ip_mask.spi == htonl(U32_MAX)) { in iavf_fill_fdir_ah_hdr()
517 if (fltr->ip_mask.spi == htonl(U32_MAX)) { in iavf_fill_fdir_esp_hdr()
546 if (fltr->ip_data.proto == 115 && fltr->ip_mask.l4_header == htonl(U32_MAX)) { in iavf_fill_fdir_l4_hdr()
/linux/drivers/virt/vboxguest/
H A Dvboxguest_core.c560 req->not_mask = U32_MAX & ~fixed_events; in vbg_reset_host_event_filter()
636 gdev->event_filter_host = U32_MAX; in vbg_set_session_event_filter()
669 req->not_mask = U32_MAX; in vbg_reset_host_capabilities()
709 gdev->guest_caps_host = U32_MAX; in vbg_set_host_capabilities()
718 gdev->guest_caps_host = (rc >= 0) ? caps : U32_MAX; in vbg_set_host_capabilities()
949 gdev->event_filter_host = U32_MAX; /* forces a report */ in vbg_core_init()
950 gdev->guest_caps_host = U32_MAX; /* forces a report */ in vbg_core_init()
1103 vbg_acquire_session_capabilities(gdev, session, 0, U32_MAX, 0, true); in vbg_core_close_session()
1104 vbg_set_session_capabilities(gdev, session, 0, U32_MAX, true); in vbg_core_close_session()
1105 vbg_set_session_event_filter(gdev, session, 0, U32_MAX, true); in vbg_core_close_session()
[all …]
/linux/drivers/firmware/efi/libstub/
H A Dx86-5lvl.c43 U32_MAX); in efi_setup_5level_paging()
88 if ((u64)new_cr3 > U32_MAX) in efi_5level_switch()
/linux/drivers/net/ethernet/intel/libeth/
H A Drx.c23 len = min3(len, ALIGN_DOWN(max_len ? : U32_MAX, LIBETH_RX_BUF_STRIDE), in libeth_rx_hw_len_mtu()
50 len = min3(len, ALIGN_DOWN(max_len ? : U32_MAX, LIBETH_RX_BUF_STRIDE), in libeth_rx_hw_len_truesize()
132 max = min(rounddown_pow_of_two(fq->buf_len ? : U32_MAX), in libeth_rx_page_pool_params_zc()
/linux/net/sctp/
H A 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/drivers/net/ipa/
H A Dgsi_reg.c136 if (res->start > U32_MAX || size > U32_MAX - res->start) { in gsi_reg_init()
/linux/drivers/acpi/
H A Dfan_hwmon.c19 #define FAN_SPEED_UNAVAILABLE U32_MAX
20 #define FAN_POWER_UNAVAILABLE U32_MAX
/linux/drivers/firmware/efi/
H A Dfdtparams.c76 *(u32 *)var = (val < U32_MAX) ? val : U32_MAX; // saturate in efi_get_fdt_prop()
/linux/drivers/pwm/
H A Dpwm-axi-pwmgen.c89 U32_MAX); in axi_pwmgen_round_waveform_tohw()
103 U32_MAX); in axi_pwmgen_round_waveform_tohw()
106 U32_MAX); in axi_pwmgen_round_waveform_tohw()
/linux/fs/crypto/
H A Dcrypto.c95 WARN_ON_ONCE(index > U32_MAX); in fscrypt_generate_iv()
96 WARN_ON_ONCE(ci->ci_inode->i_ino > U32_MAX); in fscrypt_generate_iv()
99 WARN_ON_ONCE(index > U32_MAX); in fscrypt_generate_iv()
/linux/security/selinux/ss/
H A Debitmap.c493 last_startbit = U32_MAX; in ebitmap_write()
496 if (last_startbit == U32_MAX || in ebitmap_write()
511 last_startbit = U32_MAX; in ebitmap_write()
514 if (last_startbit == U32_MAX || in ebitmap_write()
/linux/drivers/rtc/
H A Drtc-test.c50 if (expires > U32_MAX) in test_rtc_set_alarm()
51 expires = U32_MAX; in test_rtc_set_alarm()
/linux/arch/arm/mach-bcm/
H A 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/tools/testing/selftests/bpf/prog_tests/
H A Dreg_bounds.c15 #define U32_MAX ((u32)UINT_MAX) macro
181 if ((u32)x == U32_MAX) in snprintf_num()
183 else if ((u32)x >= U32_MAX - 256) in snprintf_num()
184 return snappendf(sb, "U32_MAX-%u", U32_MAX - (u32)x); in snprintf_num()
244 [U32] = { 0, U32_MAX },
1051 {"umax32=", &reg->r[U32].b, U32_MAX, true}, in parse_reg_state()
1323 U32_MAX,
1324 U32_MAX - 1,
2104 {U32, U32, {1, U32_MAX}, {0, 0}},
2106 {U32, S32, {0, U32_MAX}, {U32_MAX, U32_MAX}},
[all …]
/linux/drivers/counter/
H A 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/kernel/bpf/
H A Dbloom_filter.c134 bitset_bytes = BITS_TO_BYTES(U32_MAX); in bloom_map_alloc()
135 bitset_mask = U32_MAX; in bloom_map_alloc()

12345678910>>...15