virtio_balloon: name cleanups
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Nov 2019 10:21:47 +0000 (05:21 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Dec 2019 13:14:06 +0000 (08:14 -0500)
commit2a946fa1c8bc26df03bacebb6811b656d5e0cf1c
tree3e47f72bd4c7dc6ba67fde99119ee66253bfc849
parent63341ab03706e11a31e3dd8ccc0fbc9beaf723f0
virtio_balloon: name cleanups

free_page_order is a confusing name. It's not a page order
actually, it's the order of the block of memory we are hinting.
Rename to hint_block_order. Also, rename SIZE to BYTES
to make it clear it's the block size in bytes.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Wei Wang <wei.w.wang@intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
drivers/virtio/virtio_balloon.c