Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dblkdebug.c741 if (bs->bl.max_pdiscard) { in blkdebug_co_pdiscard()
742 assert(bytes <= bs->bl.max_pdiscard); in blkdebug_co_pdiscard()
1030 bs->bl.max_pdiscard = s->max_discard; in blkdebug_refresh_limits()
H A Dio.c3077 int64_t max_pdiscard; in bdrv_co_pdiscard() local
3126 max_pdiscard = QEMU_ALIGN_DOWN(MIN_NON_ZERO(bs->bl.max_pdiscard, INT64_MAX), in bdrv_co_pdiscard()
3128 assert(max_pdiscard >= bs->bl.request_alignment); in bdrv_co_pdiscard()
3140 assert(num < max_pdiscard); in bdrv_co_pdiscard()
3152 if (num > max_pdiscard) { in bdrv_co_pdiscard()
3153 num = max_pdiscard; in bdrv_co_pdiscard()
H A Dnbd.c1984 bs->bl.max_pdiscard = QEMU_ALIGN_DOWN(INT_MAX, min); in nbd_refresh_limits()
1993 bs->bl.max_pdiscard = bs->bl.max_pwrite_zeroes = 0; in nbd_refresh_limits()
H A Dgluster.c891 bs->bl.max_pdiscard = MIN(SIZE_MAX, INT64_MAX); in qemu_gluster_refresh_limits()
H A Dnvme.c1541 bs->bl.max_pdiscard = (uint64_t)UINT32_MAX << s->blkshift; in nvme_refresh_limits()
H A Discsi.c2089 bs->bl.max_pdiscard = in iscsi_refresh_limits()
/openbmc/qemu/include/block/
H A Dblock_int-common.h806 int64_t max_pdiscard; member