Lines Matching refs:b_data
68 if (udf_test_bit(i + off, bh->b_data)) { in read_block_bitmap()
114 lvid = (struct logicalVolIntegrityDesc *)sbi->s_lvid_bh->b_data; in udf_add_free_space()
156 if (udf_set_bit(bit + i, bh->b_data)) { in udf_bitmap_free_blocks()
159 ((__u8 *)bh->b_data)[(bit + i) >> 3]); in udf_bitmap_free_blocks()
206 if (!udf_clear_bit(bit, bh->b_data)) in udf_bitmap_prealloc_blocks()
251 ptr = memscan((char *)bh->b_data + group_start, 0xFF, in udf_bitmap_new_block()
254 if ((ptr - ((char *)bh->b_data)) < sb->s_blocksize) { in udf_bitmap_new_block()
256 if (udf_test_bit(bit, bh->b_data)) in udf_bitmap_new_block()
260 bit = udf_find_next_one_bit(bh->b_data, end_goal, bit); in udf_bitmap_new_block()
264 ptr = memscan((char *)bh->b_data + (bit >> 3), 0xFF, in udf_bitmap_new_block()
266 newbit = (ptr - ((char *)bh->b_data)) << 3; in udf_bitmap_new_block()
272 newbit = udf_find_next_one_bit(bh->b_data, in udf_bitmap_new_block()
291 ptr = memscan((char *)bh->b_data + group_start, 0xFF, in udf_bitmap_new_block()
293 if ((ptr - ((char *)bh->b_data)) < sb->s_blocksize) { in udf_bitmap_new_block()
294 bit = (ptr - ((char *)bh->b_data)) << 3; in udf_bitmap_new_block()
298 bit = udf_find_next_one_bit(bh->b_data, in udf_bitmap_new_block()
312 bit = udf_find_next_one_bit(bh->b_data, sb->s_blocksize << 3, in udf_bitmap_new_block()
322 udf_test_bit(bit - 1, bh->b_data)) { in udf_bitmap_new_block()
342 if (!udf_clear_bit(bit, bh->b_data)) { in udf_bitmap_new_block()