Lines Matching defs:bitmap
31 struct udf_bitmap *bitmap, unsigned int block,
39 loc.logicalBlockNum = bitmap->s_extPosition;
43 bitmap->s_block_bitmap[bitmap_nr] = bh;
51 count = min(max_bits - off, bitmap->s_nr_groups);
54 * Rough check if bitmap number is too big to have any bitmap
58 (bitmap->s_nr_groups >> (sb->s_blocksize_bits + 3)) + 2)
61 count = bitmap->s_nr_groups - bitmap_nr * max_bits +
73 struct udf_bitmap *bitmap,
77 int nr_groups = bitmap->s_nr_groups;
84 if (bitmap->s_block_bitmap[block_group])
87 retval = read_block_bitmap(sb, bitmap, block_group, block_group);
95 struct udf_bitmap *bitmap,
100 slot = __load_block_bitmap(sb, bitmap, block_group);
105 if (!bitmap->s_block_bitmap[slot])
125 struct udf_bitmap *bitmap,
166 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
170 bh = bitmap->s_block_bitmap[bitmap_nr];
191 struct udf_bitmap *bitmap,
214 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
217 bh = bitmap->s_block_bitmap[bitmap_nr];
239 struct udf_bitmap *bitmap, uint16_t partition,
258 nr_groups = bitmap->s_nr_groups;
263 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
266 bh = bitmap->s_block_bitmap[bitmap_nr];
302 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
305 bh = bitmap->s_block_bitmap[bitmap_nr];
349 * Ran off the end of the bitmap, and bits following are
352 udf_err(sb, "bitmap for partition %d corrupted (block %u marked"