summaryrefslogtreecommitdiffstats
path: root/util/bufferiszero.c
diff options
context:
space:
mode:
authorPeter Xu2017-08-30 10:31:59 +0200
committerJuan Quintela2017-09-22 14:11:24 +0200
commitfc7deeea26af3d08f45bad85b8bd3fc3d790a090 (patch)
treeca91cb9b106b244d641bfd07d06d52cef7c9459c /util/bufferiszero.c
parentbitmap: remove BITOP_WORD() (diff)
downloadqemu-fc7deeea26af3d08f45bad85b8bd3fc3d790a090.tar.gz
qemu-fc7deeea26af3d08f45bad85b8bd3fc3d790a090.tar.xz
qemu-fc7deeea26af3d08f45bad85b8bd3fc3d790a090.zip
bitmap: introduce bitmap_count_one()
Count how many bits set in the bitmap. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'util/bufferiszero.c')
0 files changed, 0 insertions, 0 deletions