Home
last modified time | relevance | path

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

/openbmc/qemu/hw/virtio/
H A Dvirtio-balloon.c540 if (dev->free_page_hint_status == FREE_PAGE_HINT_S_REQUESTED && in get_free_page_hints()
542 dev->free_page_hint_status = FREE_PAGE_HINT_S_START; in get_free_page_hints()
543 } else if (dev->free_page_hint_status == FREE_PAGE_HINT_S_START) { in get_free_page_hints()
548 dev->free_page_hint_status = FREE_PAGE_HINT_S_STOP; in get_free_page_hints()
552 if (elem->in_num && dev->free_page_hint_status == FREE_PAGE_HINT_S_START) { in get_free_page_hints()
583 dev->free_page_hint_status == FREE_PAGE_HINT_S_START); in virtio_ballloon_get_free_page_hints()
607 s->free_page_hint_status = FREE_PAGE_HINT_S_REQUESTED; in virtio_balloon_free_page_start()
617 if (s->free_page_hint_status != FREE_PAGE_HINT_S_STOP) { in virtio_balloon_free_page_stop()
628 s->free_page_hint_status = FREE_PAGE_HINT_S_STOP; in virtio_balloon_free_page_stop()
638 if (s->free_page_hint_status != FREE_PAGE_HINT_S_DONE) { in virtio_balloon_free_page_done()
[all …]
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-balloon.h46 uint32_t free_page_hint_status; member