Lines Matching defs:bitmap
32 struct udf_bitmap *bitmap, unsigned int block,
40 loc.logicalBlockNum = bitmap->s_extPosition;
44 bitmap->s_block_bitmap[bitmap_nr] = bh;
52 count = min(max_bits - off, bitmap->s_nr_groups);
55 * Rough check if bitmap number is too big to have any bitmap
59 (bitmap->s_nr_groups >> (sb->s_blocksize_bits + 3)) + 2)
62 count = bitmap->s_nr_groups - bitmap_nr * max_bits +
69 bitmap->s_block_bitmap[bitmap_nr] =
78 struct udf_bitmap *bitmap,
82 int nr_groups = bitmap->s_nr_groups;
90 if (bitmap->s_block_bitmap[block_group]) {
92 * The bitmap failed verification in the past. No point in
95 if (IS_ERR(bitmap->s_block_bitmap[block_group]))
96 return PTR_ERR(bitmap->s_block_bitmap[block_group]);
100 retval = read_block_bitmap(sb, bitmap, block_group, block_group);
121 struct udf_bitmap *bitmap,
151 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
155 bh = bitmap->s_block_bitmap[bitmap_nr];
176 struct udf_bitmap *bitmap,
199 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
202 bh = bitmap->s_block_bitmap[bitmap_nr];
224 struct udf_bitmap *bitmap, uint16_t partition,
243 nr_groups = bitmap->s_nr_groups;
248 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
251 bh = bitmap->s_block_bitmap[bitmap_nr];
287 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
290 bh = bitmap->s_block_bitmap[bitmap_nr];
334 * Ran off the end of the bitmap, and bits following are
337 udf_err(sb, "bitmap for partition %d corrupted (block %u marked"