Home
last modified time | relevance | path

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

/openbmc/qemu/hw/virtio/
H A Dvirtio-rng.c68 vrng->quota_remaining -= size; in chr_read()
110 if (vrng->quota_remaining < 0) { in virtio_rng_process()
113 quota = MIN((uint64_t)vrng->quota_remaining, (uint64_t)UINT32_MAX); in virtio_rng_process()
119 size = MIN(vrng->quota_remaining, size); in virtio_rng_process()
157 vrng->quota_remaining = vrng->conf.max_bytes; in check_rate_limit()
222 vrng->quota_remaining = vrng->conf.max_bytes; in virtio_rng_device_realize()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-rng.h45 int64_t quota_remaining; member