/linux/tools/include/linux/ |
A D | overflow.h | 87 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 D | overflow.h | 136 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 D | limits.h | 9 #define SIZE_MAX (~(size_t)0) macro
|
A D | swiotlb.h | 149 return SIZE_MAX; in swiotlb_max_mapping_size()
|
/linux/drivers/usb/gadget/ |
A D | u_f.h | 26 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 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/tools/virtio/ringtest/ |
A 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/tools/testing/selftests/vm/ |
A D | transhuge-stress.c | 68 if (ram > SIZE_MAX / sysconf(_SC_PAGESIZE) / 4) in main() 69 ram = SIZE_MAX / 4; in main()
|
/linux/sound/soc/ti/ |
A D | udma-pcm.c | 22 .buffer_bytes_max = SIZE_MAX,
|
/linux/tools/virtio/linux/ |
A D | dma-mapping.h | 32 #define dma_max_mapping_size(...) SIZE_MAX
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_chain.c | 262 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 D | etnaviv_drv.h | 94 if (elem_size && nelem > (SIZE_MAX - base) / elem_size) in size_vstruct()
|
/linux/sound/soc/ |
A D | soc-generic-dmaengine-pcm.c | 137 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 D | drbg.h | 178 return (SIZE_MAX - 1); in drbg_max_addtl()
|
/linux/drivers/s390/char/ |
A D | hmcdrv_cache.c | 49 .fsize = SIZE_MAX,
|
/linux/drivers/base/regmap/ |
A D | regmap-spi.c | 118 if (max_size != SIZE_MAX) { in regmap_get_spi_bus()
|
/linux/drivers/gpu/drm/ |
A D | drm_scatter.c | 93 if (request->size > SIZE_MAX - PAGE_SIZE) in drm_legacy_sg_alloc()
|
/linux/drivers/misc/ |
A D | pci_endpoint_test.c | 367 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 D | spi.h | 1110 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 D | amdgpu_bo_list.c | 74 if (num_entries > (SIZE_MAX - sizeof(struct amdgpu_bo_list)) in amdgpu_bo_list_create()
|
/linux/scripts/dtc/ |
A D | dtc-lexer.lex.c | 84 #ifndef SIZE_MAX 85 #define SIZE_MAX (~(size_t)0) macro
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_gem_submit.c | 42 if (sz > SIZE_MAX) in submit_create() 208 if (sz == SIZE_MAX) { in submit_lookup_cmds()
|
/linux/tools/perf/arch/x86/util/ |
A D | intel-bts.c | 261 if (*endptr || snapshot_size > SIZE_MAX) in intel_bts_parse_snapshot_options()
|
/linux/tools/perf/arch/arm64/util/ |
A D | arm-spe.c | 275 if (*endptr || snapshot_size > SIZE_MAX) in arm_spe_parse_snapshot_options()
|
/linux/drivers/misc/vmw_vmci/ |
A D | vmci_queue_pair.c | 280 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()
|