Home | History | Annotate | Download | only in block

Lines Matching refs:bitmap

94  * We should just read the whole bitmap we'll need in one go instead.
99 uint8_t bitmap;
102 ret = bdrv_pread(bs->file, offset, &bitmap, sizeof(bitmap));
107 bitmap |= (1 << (bitnum % 8));
109 ret = bdrv_pwrite_sync(bs->file, offset, &bitmap, sizeof(bitmap));
119 uint8_t bitmap;
122 ret = bdrv_pread(bs->file, offset, &bitmap, sizeof(bitmap));
127 return !!(bitmap & (1 << (bitnum % 8)));
273 /* resize to include at least all the bitmap */