Home
last modified time | relevance | path

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

/qemu/include/qemu/
H A Dosdep.h378 #undef SIZE_MAX
379 #define SIZE_MAX ((size_t)-1) macro
/qemu/include/block/
H A Dblock-common.h272 #define BDRV_REQUEST_MAX_SECTORS MIN_CONST(SIZE_MAX >> BDRV_SECTOR_BITS, \
/qemu/migration/
H A Doptions.c1031 if (params->has_max_bandwidth && (params->max_bandwidth > SIZE_MAX)) { in migrate_params_check()
1034 "an integer in the range of 0 to "stringify(SIZE_MAX) in migrate_params_check()
1040 (params->avail_switchover_bandwidth > SIZE_MAX)) { in migrate_params_check()
1043 "an integer in the range of 0 to "stringify(SIZE_MAX) in migrate_params_check()
/qemu/audio/
H A Daudio_template.h144 samples = samples < SIZE_MAX ? samples + 1 : SIZE_MAX; in glue()
H A Daudio.c616 size_t m = SIZE_MAX; in audio_pcm_hw_find_min_out()
/qemu/util/
H A Doslib-posix.c826 if (pages > SIZE_MAX / qemu_real_host_page_size()) { in qemu_get_host_physmem()
827 return SIZE_MAX; in qemu_get_host_physmem()
/qemu/block/
H A Dstream.c49 assert(bytes < SIZE_MAX); in stream_populate()
H A Dio.c1488 assert(align <= SIZE_MAX / 2); /* so we can allocate the buffer */ in bdrv_init_padding()
1628 if (SIZE_MAX - pad->head < bytes || in bdrv_create_padded_qiov()
1629 SIZE_MAX - pad->head - bytes < pad->tail) in bdrv_create_padded_qiov()
1665 collapse_count, iov_offset, SIZE_MAX); in bdrv_create_padded_qiov()
1746 assert(*bytes <= SIZE_MAX); in bdrv_pad_request()
H A Dcommit.c167 assert(bytes < SIZE_MAX); in commit_iteration()
H A Dgluster.c891 bs->bl.max_pdiscard = MIN(SIZE_MAX, INT64_MAX); in qemu_gluster_refresh_limits()
1297 assert(bytes <= SIZE_MAX); /* rely on max_pdiscard */ in qemu_gluster_co_pdiscard()
H A Dblock-backend.c1374 assert(bytes <= SIZE_MAX); in blk_co_pread()
1467 assert(bytes <= SIZE_MAX); in blk_co_pwrite()
H A Dvpc.c391 if (s->max_table_entries > SIZE_MAX / 4 || in vpc_open()
H A Dqed.c841 size_t len = MIN(bytes, SIZE_MAX); in bdrv_qed_co_block_status()
H A Dqcow2-refcount.c1498 if (new_byte_size > SIZE_MAX) { in realloc_refcount_array()
/qemu/
H A Dmeson.build2992 # Some versions of Mac OS X incorrectly define SIZE_MAX
2997 return printf("%zu", SIZE_MAX);