/Linux-v5.4/tools/include/linux/ |
D | overflow.h | 221 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/ |
D | overflow.h | 258 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()
|
D | limits.h | 20 #define SIZE_MAX (~(size_t)0) macro
|
D | swiotlb.h | 103 return SIZE_MAX; in swiotlb_max_mapping_size()
|
/Linux-v5.4/tools/virtio/ringtest/ |
D | ptr_ring.c | 19 #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/ |
D | blk.c | 41 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/ |
D | transhuge-stress.c | 68 if (ram > SIZE_MAX / sysconf(_SC_PAGESIZE) / 4) in main() 69 ram = SIZE_MAX / 4; in main()
|
/Linux-v5.4/include/crypto/ |
D | drbg.h | 178 return (SIZE_MAX - 1); in drbg_max_addtl() 188 return SIZE_MAX; in drbg_max_requests()
|
/Linux-v5.4/tools/virtio/linux/ |
D | dma-mapping.h | 32 #define dma_max_mapping_size(...) SIZE_MAX
|
/Linux-v5.4/drivers/gpu/drm/etnaviv/ |
D | etnaviv_drv.h | 99 if (elem_size && nelem > (SIZE_MAX - base) / elem_size) in size_vstruct()
|
/Linux-v5.4/drivers/s390/char/ |
D | hmcdrv_cache.c | 49 .fsize = SIZE_MAX,
|
/Linux-v5.4/drivers/misc/ |
D | pci_endpoint_test.c | 336 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/ |
D | soc-generic-dmaengine-pcm.c | 142 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/ |
D | spi.h | 999 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/ |
D | amdgpu_bo_list.c | 74 if (num_entries > (SIZE_MAX - sizeof(struct amdgpu_bo_list)) in amdgpu_bo_list_create()
|
/Linux-v5.4/fs/ |
D | io_uring.c | 3286 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/ |
D | mapping.c | 418 size_t size = SIZE_MAX; in dma_max_mapping_size()
|
D | direct.c | 418 return SIZE_MAX; in dma_direct_max_mapping_size()
|
/Linux-v5.4/tools/perf/arch/x86/util/ |
D | intel-bts.c | 256 if (*endptr || snapshot_size > SIZE_MAX) in intel_bts_parse_snapshot_options()
|
/Linux-v5.4/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_2835_arm.c | 375 if (num_pages > (SIZE_MAX - sizeof(struct pagelist) - in create_pagelist()
|
/Linux-v5.4/arch/powerpc/perf/ |
D | hv-24x7.c | 681 #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/ |
D | vmci_queue_pair.c | 278 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/ |
D | msm_gem_submit.c | 36 if (sz > SIZE_MAX) in submit_create()
|
/Linux-v5.4/lib/ |
D | test_overflow.c | 505 volatile size_t b = (SIZE_MAX / TEST_SIZE) + 1; \
|
/Linux-v5.4/tools/perf/util/ |
D | evlist.c | 852 if (max > SIZE_MAX / page_size) in __perf_evlist__parse_mmap_pages() 853 max = SIZE_MAX / page_size; in __perf_evlist__parse_mmap_pages()
|