Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dblkdebug.c50 uint64_t opt_discard; member
557 s->opt_discard = qemu_opt_get_size(opts, "opt-discard", 0); in blkdebug_open()
558 if (s->opt_discard && in blkdebug_open()
559 (s->opt_discard >= INT_MAX || in blkdebug_open()
560 !QEMU_IS_ALIGNED(s->opt_discard, align))) { in blkdebug_open()
562 s->opt_discard); in blkdebug_open()
570 MAX(s->opt_discard, align)))) { in blkdebug_open()
1026 if (s->opt_discard) { in blkdebug_refresh_limits()
1027 bs->bl.pdiscard_alignment = s->opt_discard; in blkdebug_refresh_limits()