Searched refs:has_size (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/block/ |
H A D | raw-format.c | 40 bool has_size; member 76 static int raw_read_options(QDict *options, uint64_t *offset, bool *has_size, in raw_read_options() argument 89 *has_size = qemu_opt_find(opts, "size"); in raw_read_options() 100 bool has_size, uint64_t size, Error **errp) in raw_apply_options() argument 118 if (has_size && (real_size - offset) < size) { in raw_apply_options() 128 if (has_size && !QEMU_IS_ALIGNED(size, BDRV_SECTOR_SIZE)) { in raw_apply_options() 135 s->has_size = has_size; in raw_apply_options() 136 s->size = has_size ? size : real_size - offset; in raw_apply_options() 144 bool has_size; in raw_reopen_prepare() local 156 ret = raw_read_options(reopen_state->options, &offset, &has_size, &size, in raw_reopen_prepare() [all …]
|
/openbmc/qemu/chardev/ |
H A D | char-ringbuf.c | 103 d->size = opts->has_size ? opts->size : 65536; in qemu_chr_open_ringbuf() 221 ringbuf->has_size = true; in qemu_chr_parse_ringbuf()
|
/openbmc/qemu/hw/core/ |
H A D | machine.c | 568 .has_size = true, in machine_get_mem() 592 if (!mem->has_size) { in machine_set_mem() 593 mem->has_size = true; in machine_set_mem()
|
/openbmc/linux/kernel/bpf/ |
H A D | verifier.c | 9048 bool has_size = fn->arg_size[arg] != 0; in check_raw_mode_ok() 9057 return has_size == is_next_size || is_next_size == is_fixed; in check_raw_mode_ok() 9073 bool has_size = fn->arg_size[arg] != 0; check_args_pair_invalid() local
|