Home
last modified time | relevance | path

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

12

/Linux-v5.4/tools/include/linux/
Doverflow.h221 return SIZE_MAX; in array_size()
243 return SIZE_MAX; in array3_size()
245 return SIZE_MAX; in array3_size()
255 return SIZE_MAX; in __ab_c_size()
257 return SIZE_MAX; in __ab_c_size()
/Linux-v5.4/include/linux/
Doverflow.h258 return SIZE_MAX; in array_size()
280 return SIZE_MAX; in array3_size()
282 return SIZE_MAX; in array3_size()
296 return SIZE_MAX; in __ab_c_size()
298 return SIZE_MAX; in __ab_c_size()
Dlimits.h20 #define SIZE_MAX (~(size_t)0) macro
Dswiotlb.h103 return SIZE_MAX; in swiotlb_max_mapping_size()
/Linux-v5.4/tools/virtio/ringtest/
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-v5.4/drivers/nvdimm/
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-v5.4/tools/testing/selftests/vm/
Dtranshuge-stress.c68 if (ram > SIZE_MAX / sysconf(_SC_PAGESIZE) / 4) in main()
69 ram = SIZE_MAX / 4; in main()
/Linux-v5.4/include/crypto/
Ddrbg.h178 return (SIZE_MAX - 1); in drbg_max_addtl()
188 return SIZE_MAX; in drbg_max_requests()
/Linux-v5.4/tools/virtio/linux/
Ddma-mapping.h32 #define dma_max_mapping_size(...) SIZE_MAX
/Linux-v5.4/drivers/gpu/drm/etnaviv/
Detnaviv_drv.h99 if (elem_size && nelem > (SIZE_MAX - base) / elem_size) in size_vstruct()
/Linux-v5.4/drivers/s390/char/
Dhmcdrv_cache.c49 .fsize = SIZE_MAX,
/Linux-v5.4/drivers/misc/
Dpci_endpoint_test.c336 if (size > SIZE_MAX - alignment) in pci_endpoint_test_copy()
431 if (size > SIZE_MAX - alignment) in pci_endpoint_test_write()
499 if (size > SIZE_MAX - alignment) in pci_endpoint_test_read()
/Linux-v5.4/sound/soc/
Dsoc-generic-dmaengine-pcm.c142 hw.buffer_bytes_max = SIZE_MAX; in dmaengine_pcm_set_runtime_hwparams()
278 max_buffer_size = SIZE_MAX; in dmaengine_pcm_new()
/Linux-v5.4/include/linux/spi/
Dspi.h999 return SIZE_MAX; in spi_max_message_size()
1007 size_t tr_max = SIZE_MAX; in spi_max_transfer_size()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bo_list.c74 if (num_entries > (SIZE_MAX - sizeof(struct amdgpu_bo_list)) in amdgpu_bo_list_create()
/Linux-v5.4/fs/
Dio_uring.c3286 if (off == SIZE_MAX) in rings_size()
3287 return SIZE_MAX; in rings_size()
3292 return SIZE_MAX; in rings_size()
3296 if (sq_array_size == SIZE_MAX) in rings_size()
3297 return SIZE_MAX; in rings_size()
3300 return SIZE_MAX; in rings_size()
3725 if (size == SIZE_MAX) in io_allocate_scq_urings()
3744 if (size == SIZE_MAX) in io_allocate_scq_urings()
/Linux-v5.4/kernel/dma/
Dmapping.c418 size_t size = SIZE_MAX; in dma_max_mapping_size()
Ddirect.c418 return SIZE_MAX; in dma_direct_max_mapping_size()
/Linux-v5.4/tools/perf/arch/x86/util/
Dintel-bts.c256 if (*endptr || snapshot_size > SIZE_MAX) in intel_bts_parse_snapshot_options()
/Linux-v5.4/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_2835_arm.c375 if (num_pages > (SIZE_MAX - sizeof(struct pagelist) - in create_pagelist()
/Linux-v5.4/arch/powerpc/perf/
Dhv-24x7.c681 #define MAX_4K (SIZE_MAX / 4096)
751 if (SIZE_MAX - 1 < event_entry_count) { in create_events_from_catalog()
/Linux-v5.4/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c278 if (size > SIZE_MAX - PAGE_SIZE) in qp_alloc_queue()
282 (SIZE_MAX - queue_size) / in qp_alloc_queue()
531 if (size > SIZE_MAX - PAGE_SIZE) in qp_host_alloc_queue()
534 if (num_pages > (SIZE_MAX - queue_size) / in qp_host_alloc_queue()
/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gem_submit.c36 if (sz > SIZE_MAX) in submit_create()
/Linux-v5.4/lib/
Dtest_overflow.c505 volatile size_t b = (SIZE_MAX / TEST_SIZE) + 1; \
/Linux-v5.4/tools/perf/util/
Devlist.c852 if (max > SIZE_MAX / page_size) in __perf_evlist__parse_mmap_pages()
853 max = SIZE_MAX / page_size; in __perf_evlist__parse_mmap_pages()

12