Searched refs:cvtnum (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/ |
H A D | qemu-io-cmds.c | 180 static int64_t cvtnum(const char *s) in cvtnum() function 509 len = cvtnum(arg); in create_iovec() 733 pattern_count = cvtnum(optarg); in read_f() 757 pattern_offset = cvtnum(optarg); in read_f() 777 offset = cvtnum(argv[optind]); in read_f() 784 count = cvtnum(argv[optind]); in read_f() 953 offset = cvtnum(argv[optind]); in readv_f() 1143 offset = cvtnum(argv[optind]); in write_f() 1150 count = cvtnum(argv[optind]); in write_f() 1306 offset = cvtnum(argv[optind]); in writev_f() [all …]
|
H A D | qemu-img.c | 506 static int64_t cvtnum(const char *name, const char *value) in cvtnum() function 587 sval = cvtnum("image size", argv[optind++]); in img_create() 1011 rate_limit = cvtnum("rate limit", optarg); in img_commit() 2335 sval = cvtnum("buffer size for sparse output", optarg); in img_convert() 2381 rate_limit = cvtnum("rate limit", optarg); in img_convert() 3282 start_offset = cvtnum("start offset", optarg); in img_map() 3288 max_length = cvtnum("max length", optarg); in img_map() 4593 offset = cvtnum("offset", optarg); in img_bench() 4834 granularity = cvtnum("granularity", optarg); in img_bitmap() 5034 dd->count = cvtnum("count", arg); in img_dd_count() [all …]
|