/linux/lib/ |
A D | test_overflow.c | 72 {0, 1, 1, U32_MAX, 0, false, true, false}, 74 {0, U32_MAX, U32_MAX, 1, 0, false, true, false}, 75 {U32_MAX, 0, U32_MAX, U32_MAX, 0, false, false, false}, 76 {1, U32_MAX, 0, 2, U32_MAX, true, true, false}, 77 {U32_MAX, 1, 0, U32_MAX-1, U32_MAX, true, false, false}, 78 {U32_MAX, U32_MAX, U32_MAX-1, 0, 1, true, false, true}, 80 {U32_MAX, U32_MAX-1, U32_MAX-2, 1, 2, true, false, true}, 81 {U32_MAX-1, U32_MAX, U32_MAX-2, U32_MAX, 2, true, true, true},
|
/linux/drivers/firmware/efi/libstub/ |
A D | riscv-stub.c | 36 return U32_MAX; in get_boot_hartid_from_fdt() 40 return U32_MAX; in get_boot_hartid_from_fdt() 44 return U32_MAX; in get_boot_hartid_from_fdt() 52 if (hartid == U32_MAX) { in check_platform_features()
|
/linux/drivers/gpu/drm/ |
A 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/drivers/net/ethernet/aquantia/atlantic/ |
A 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/drivers/scsi/elx/libefc/ |
A 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/include/linux/ |
A D | limits.h | 18 #define U32_MAX ((u32)~0U) macro 20 #define S32_MAX ((s32)(U32_MAX >> 1))
|
A D | libfdt_env.h | 11 #define UINT32_MAX U32_MAX
|
/linux/drivers/gpu/drm/i915/ |
A 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/drivers/gpu/drm/vboxvideo/ |
A 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/drivers/bus/mhi/core/ |
A D | init.c | 441 CCABAP_HIGHER, U32_MAX, 0, in mhi_init_mmio() 445 CCABAP_LOWER, U32_MAX, 0, in mhi_init_mmio() 449 ECABAP_HIGHER, U32_MAX, 0, in mhi_init_mmio() 453 ECABAP_LOWER, U32_MAX, 0, in mhi_init_mmio() 457 CRCBAP_HIGHER, U32_MAX, 0, in mhi_init_mmio() 461 CRCBAP_LOWER, U32_MAX, 0, in mhi_init_mmio() 473 MHICTRLBASE_HIGHER, U32_MAX, 0, in mhi_init_mmio() 477 MHICTRLBASE_LOWER, U32_MAX, 0, in mhi_init_mmio() 481 MHIDATABASE_HIGHER, U32_MAX, 0, in mhi_init_mmio() 485 MHIDATABASE_LOWER, U32_MAX, 0, in mhi_init_mmio() [all …]
|
/linux/drivers/virt/vboxguest/ |
A 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() 1125 info->u.out.session_version = U32_MAX; in vbg_ioctl_driver_version_info() 1200 if (timeout_ms == U32_MAX) in vbg_ioctl_wait_for_events() 1389 session->hgcm_client_ids[i] = U32_MAX; in vbg_ioctl_hgcm_connect() 1425 if (client_id == 0 || client_id == U32_MAX) in vbg_ioctl_hgcm_disconnect() 1431 session->hgcm_client_ids[i] = U32_MAX; in vbg_ioctl_hgcm_disconnect() [all …]
|
/linux/drivers/firmware/efi/ |
A D | fdtparams.c | 74 *(u32 *)var = (val < U32_MAX) ? val : U32_MAX; // saturate in efi_get_fdt_prop()
|
/linux/fs/crypto/ |
A D | crypto.c | 80 WARN_ON_ONCE(lblk_num > U32_MAX); in fscrypt_generate_iv() 81 WARN_ON_ONCE(ci->ci_inode->i_ino > U32_MAX); in fscrypt_generate_iv() 84 WARN_ON_ONCE(lblk_num > U32_MAX); in fscrypt_generate_iv()
|
/linux/arch/x86/platform/efi/ |
A D | efi.c | 367 over4g = systab64->runtime > U32_MAX; in efi_systab_init() 381 over4g |= data->fw_vendor > U32_MAX || in efi_systab_init() 382 data->tables > U32_MAX; in efi_systab_init() 389 over4g |= systab64->fw_vendor > U32_MAX || in efi_systab_init() 390 systab64->tables > U32_MAX; in efi_systab_init()
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_fdir.c | 256 if (fltr->ip_mask.v4_addrs.src_ip == htonl(U32_MAX)) { in iavf_fill_fdir_ip4_hdr() 261 if (fltr->ip_mask.v4_addrs.dst_ip == htonl(U32_MAX)) { in iavf_fill_fdir_ip4_hdr() 423 if (fltr->ip_mask.spi == htonl(U32_MAX)) { in iavf_fill_fdir_ah_hdr() 447 if (fltr->ip_mask.spi == htonl(U32_MAX)) { in iavf_fill_fdir_esp_hdr() 476 if (fltr->ip_data.proto == 115 && fltr->ip_mask.l4_header == htonl(U32_MAX)) { in iavf_fill_fdir_l4_hdr()
|
/linux/drivers/rtc/ |
A D | rtc-test.c | 50 if (expires > U32_MAX) in test_rtc_set_alarm() 51 expires = U32_MAX; in test_rtc_set_alarm()
|
A D | rtc-starfire.c | 47 rtc->range_max = U32_MAX; in starfire_rtc_probe()
|
/linux/arch/arm/mach-bcm/ |
A 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/kernel/bpf/ |
A D | bloom_filter.c | 127 bitset_bytes = BITS_TO_BYTES(U32_MAX); in bloom_map_alloc() 128 bitset_mask = U32_MAX; in bloom_map_alloc()
|
/linux/security/landlock/ |
A D | limits.h | 16 #define LANDLOCK_MAX_NUM_RULES U32_MAX
|
/linux/arch/arm64/mm/ |
A D | init.c | 129 if (phys_start > U32_MAX) in max_zone_phys() 132 zone_mask = U32_MAX; in max_zone_phys()
|
/linux/drivers/mmc/host/ |
A D | cqhci-crypto.h | 29 WARN_ON_ONCE(mrq->crypto_ctx->bc_dun[0] > U32_MAX); in cqhci_crypto_prep_task_desc()
|
/linux/drivers/spi/ |
A D | spi-rpc-if.c | 84 if (offs + desc->info.offset + len > U32_MAX) in rpcif_spi_mem_dirmap_read() 97 if (desc->info.offset + desc->info.length > U32_MAX) in rpcif_spi_mem_dirmap_create()
|
/linux/drivers/infiniband/core/ |
A D | ib_core_uverbs.c | 122 if (pgoff > U32_MAX) in rdma_user_mmap_entry_get_pgoff() 365 U32_MAX); in rdma_user_mmap_entry_insert()
|
/linux/drivers/bus/ |
A 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()
|