Lines Matching defs:bitmap
30 #include <gpxe/bitmap.h>
71 * representation of the received-blocks bitmap, looking something
143 /** Block bitmap */
144 struct bitmap bitmap;
158 bitmap_free ( &slam->bitmap );
276 first_block = bitmap_first_gap ( &slam->bitmap );
282 if ( bitmap_test ( &slam->bitmap,
452 /* Discard and reset the bitmap */
453 bitmap_free ( &slam->bitmap );
454 memset ( &slam->bitmap, 0, sizeof ( slam->bitmap ) );
456 /* Allocate a new bitmap */
457 if ( ( rc = bitmap_resize ( &slam->bitmap,
459 /* Failure to allocate a bitmap is fatal */
460 DBGC ( slam, "SLAM %p could not allocate bitmap for %ld "
528 if ( bitmap_test ( &slam->bitmap, packet ) ) {
541 bitmap_set ( &slam->bitmap, packet );
544 if ( bitmap_full ( &slam->bitmap ) )
762 if ( ( rc = bitmap_resize ( &slam->bitmap, 1 ) ) != 0 ) {
763 DBGC ( slam, "SLAM %p could not allocate initial bitmap: "