Home | History | Annotate | Download | only in openssh

Lines Matching defs:bitmap

40 #include "bitmap.h"
56 /* Tree of serial numbers. XXX make smarter: really need a real sparse bitmap */
516 "list %llu range %llu bitmap %llu new bitmap %llu, "
527 put_bitmap(struct sshbuf *buf, struct bitmap *bitmap)
533 len = bitmap_nbytes(bitmap);
536 if (bitmap_to_string(bitmap, blob, len) != 0) {
555 struct bitmap *bitmap = NULL;
601 if ((r = put_bitmap(sect, bitmap)) != 0)
603 bitmap_free(bitmap);
604 bitmap = NULL;
624 if ((bitmap = bitmap_new()) == NULL) {
651 error("%s: insane bitmap gap", __func__);
655 if (bitmap_set_bit(bitmap,
674 if ((r = put_bitmap(sect, bitmap)) != 0)
676 bitmap_free(bitmap);
677 bitmap = NULL;
700 bitmap_free(bitmap);
814 struct bitmap *bitmap = NULL;
858 if ((bitmap = bitmap_new()) == NULL) {
866 if (bitmap_from_string(bitmap, blob, blen) != 0) {
870 nbits = bitmap_nbits(bitmap);
873 error("%s: bitmap wraps u64", __func__);
877 if (!bitmap_test_bit(bitmap, serial))
883 bitmap_free(bitmap);
884 bitmap = NULL;
912 if (bitmap != NULL)
913 bitmap_free(bitmap);