Home
last modified time | relevance | path

Searched refs:SIZE_MAX (Results 1 – 25 of 59) sorted by relevance

123

/linux/tools/include/linux/
A Doverflow.h87 return SIZE_MAX; in array_size()
109 return SIZE_MAX; in array3_size()
111 return SIZE_MAX; in array3_size()
121 return SIZE_MAX; in __ab_c_size()
123 return SIZE_MAX; in __ab_c_size()
/linux/include/linux/
A Doverflow.h136 return SIZE_MAX; in array_size()
158 return SIZE_MAX; in array3_size()
160 return SIZE_MAX; in array3_size()
174 return SIZE_MAX; in __ab_c_size()
176 return SIZE_MAX; in __ab_c_size()
A Dlimits.h9 #define SIZE_MAX (~(size_t)0) macro
A Dswiotlb.h149 return SIZE_MAX; in swiotlb_max_mapping_size()
/linux/drivers/usb/gadget/
A Du_f.h26 if (groupname##__next != SIZE_MAX) { \
33 groupname##__next = SIZE_MAX; \
44 if (groupname##__next != SIZE_MAX) { \
50 groupname##__next = SIZE_MAX; \
/linux/drivers/nvdimm/
A Dblk.c41 return SIZE_MAX; in to_dev_offset()
49 return SIZE_MAX; in to_dev_offset()
76 if (dev_offset == SIZE_MAX) in nd_blk_rw_integrity()
143 if (dev_offset == SIZE_MAX) in nsblk_do_bvec()
219 if (dev_offset == SIZE_MAX) in nsblk_rw_bytes()
/linux/tools/virtio/ringtest/
A Dptr_ring.c19 #define SIZE_MAX (~(size_t)0) macro
20 #define KMALLOC_MAX_SIZE SIZE_MAX
45 if (size != 0 && n > SIZE_MAX / size) in kmalloc_array()
/linux/tools/testing/selftests/vm/
A Dtranshuge-stress.c68 if (ram > SIZE_MAX / sysconf(_SC_PAGESIZE) / 4) in main()
69 ram = SIZE_MAX / 4; in main()
/linux/sound/soc/ti/
A Dudma-pcm.c22 .buffer_bytes_max = SIZE_MAX,
/linux/tools/virtio/linux/
A Ddma-mapping.h32 #define dma_max_mapping_size(...) SIZE_MAX
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_chain.c262 if (unlikely(size == SIZE_MAX)) in qed_chain_alloc_pbl()
277 if (unlikely(size == SIZE_MAX)) in qed_chain_alloc_pbl()
/linux/drivers/gpu/drm/etnaviv/
A Detnaviv_drv.h94 if (elem_size && nelem > (SIZE_MAX - base) / elem_size) in size_vstruct()
/linux/sound/soc/
A Dsoc-generic-dmaengine-pcm.c137 hw.buffer_bytes_max = SIZE_MAX; in dmaengine_pcm_set_runtime_hwparams()
245 max_buffer_size = SIZE_MAX; in dmaengine_pcm_new()
/linux/include/crypto/
A Ddrbg.h178 return (SIZE_MAX - 1); in drbg_max_addtl()
/linux/drivers/s390/char/
A Dhmcdrv_cache.c49 .fsize = SIZE_MAX,
/linux/drivers/base/regmap/
A Dregmap-spi.c118 if (max_size != SIZE_MAX) { in regmap_get_spi_bus()
/linux/drivers/gpu/drm/
A Ddrm_scatter.c93 if (request->size > SIZE_MAX - PAGE_SIZE) in drm_legacy_sg_alloc()
/linux/drivers/misc/
A Dpci_endpoint_test.c367 if (size > SIZE_MAX - alignment) in pci_endpoint_test_copy()
501 if (size > SIZE_MAX - alignment) in pci_endpoint_test_write()
599 if (size > SIZE_MAX - alignment) in pci_endpoint_test_read()
/linux/include/linux/spi/
A Dspi.h1110 return SIZE_MAX; in spi_max_message_size()
1118 size_t tr_max = SIZE_MAX; in spi_max_transfer_size()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_bo_list.c74 if (num_entries > (SIZE_MAX - sizeof(struct amdgpu_bo_list)) in amdgpu_bo_list_create()
/linux/scripts/dtc/
A Ddtc-lexer.lex.c84 #ifndef SIZE_MAX
85 #define SIZE_MAX (~(size_t)0) macro
/linux/drivers/gpu/drm/msm/
A Dmsm_gem_submit.c42 if (sz > SIZE_MAX) in submit_create()
208 if (sz == SIZE_MAX) { in submit_lookup_cmds()
/linux/tools/perf/arch/x86/util/
A Dintel-bts.c261 if (*endptr || snapshot_size > SIZE_MAX) in intel_bts_parse_snapshot_options()
/linux/tools/perf/arch/arm64/util/
A Darm-spe.c275 if (*endptr || snapshot_size > SIZE_MAX) in arm_spe_parse_snapshot_options()
/linux/drivers/misc/vmw_vmci/
A Dvmci_queue_pair.c280 if (size > SIZE_MAX - PAGE_SIZE) in qp_alloc_queue()
284 (SIZE_MAX - queue_size) / in qp_alloc_queue()
533 if (size > min_t(size_t, VMCI_MAX_GUEST_QP_MEMORY, SIZE_MAX - PAGE_SIZE)) in qp_host_alloc_queue()
536 if (num_pages > (SIZE_MAX - queue_size) / in qp_host_alloc_queue()

Completed in 45 milliseconds

123