Home
last modified time | relevance | path

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

/qemu/include/qemu/
H A Dosdep.h370 #undef SIZE_MAX
371 #define SIZE_MAX ((size_t)-1) macro
/qemu/migration/
H A Doptions.c977 if (params->has_max_bandwidth && (params->max_bandwidth > SIZE_MAX)) { in migrate_params_check()
980 "an integer in the range of 0 to "stringify(SIZE_MAX) in migrate_params_check()
986 (params->avail_switchover_bandwidth > SIZE_MAX)) { in migrate_params_check()
989 "an integer in the range of 0 to "stringify(SIZE_MAX) in migrate_params_check()
/qemu/include/block/
H A Dblock-common.h269 #define BDRV_REQUEST_MAX_SECTORS MIN_CONST(SIZE_MAX >> BDRV_SECTOR_BITS, \
/qemu/util/
H A Doslib-posix.c783 if (pages > SIZE_MAX / qemu_real_host_page_size()) { in qemu_get_host_physmem()
784 return SIZE_MAX; in qemu_get_host_physmem()
/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/block/
H A Dstream.c49 assert(bytes < SIZE_MAX); in stream_populate()
H A Dcommit.c175 assert(n < SIZE_MAX); in commit_run()
H A Dio.c1481 assert(align <= SIZE_MAX / 2); /* so we can allocate the buffer */ in bdrv_init_padding()
1621 if (SIZE_MAX - pad->head < bytes || in bdrv_create_padded_qiov()
1622 SIZE_MAX - pad->head - bytes < pad->tail) in bdrv_create_padded_qiov()
1658 collapse_count, iov_offset, SIZE_MAX); in bdrv_create_padded_qiov()
1739 assert(*bytes <= SIZE_MAX); in bdrv_pad_request()
H A Dgluster.c892 bs->bl.max_pdiscard = MIN(SIZE_MAX, INT64_MAX); in qemu_gluster_refresh_limits()
1302 assert(bytes <= SIZE_MAX); /* rely on max_pdiscard */ in qemu_gluster_co_pdiscard()
H A Dblock-backend.c1359 assert(bytes <= SIZE_MAX); in blk_co_pread()
1452 assert(bytes <= SIZE_MAX); in blk_co_pwrite()
H A Dvpc.c386 if (s->max_table_entries > SIZE_MAX / 4 || in vpc_open()
H A Dqed.c840 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()