Lines Matching defs:bitmap
35 struct udf_bitmap *bitmap, unsigned int block,
43 loc.logicalBlockNum = bitmap->s_extPosition;
47 bitmap->s_block_bitmap[bitmap_nr] = bh;
55 count = min(max_bits - off, bitmap->s_nr_groups);
58 * Rough check if bitmap number is too big to have any bitmap
62 (bitmap->s_nr_groups >> (sb->s_blocksize_bits + 3)) + 2)
65 count = bitmap->s_nr_groups - bitmap_nr * max_bits +
77 struct udf_bitmap *bitmap,
81 int nr_groups = bitmap->s_nr_groups;
88 if (bitmap->s_block_bitmap[block_group])
91 retval = read_block_bitmap(sb, bitmap, block_group, block_group);
99 struct udf_bitmap *bitmap,
104 slot = __load_block_bitmap(sb, bitmap, block_group);
109 if (!bitmap->s_block_bitmap[slot])
129 struct udf_bitmap *bitmap,
170 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
174 bh = bitmap->s_block_bitmap[bitmap_nr];
195 struct udf_bitmap *bitmap,
218 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
221 bh = bitmap->s_block_bitmap[bitmap_nr];
243 struct udf_bitmap *bitmap, uint16_t partition,
262 nr_groups = bitmap->s_nr_groups;
267 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
270 bh = bitmap->s_block_bitmap[bitmap_nr];
306 bitmap_nr = load_block_bitmap(sb, bitmap, block_group);
309 bh = bitmap->s_block_bitmap[bitmap_nr];
353 * Ran off the end of the bitmap, and bits following are
356 udf_err(sb, "bitmap for partition %d corrupted (block %u marked"