Lines Matching refs:alloc_count
196 int alloc_count = 0; in udf_bitmap_prealloc_blocks() local
225 alloc_count++; in udf_bitmap_prealloc_blocks()
233 udf_add_free_space(sb, partition, -alloc_count); in udf_bitmap_prealloc_blocks()
235 return alloc_count; in udf_bitmap_prealloc_blocks()
522 int alloc_count = 0; in udf_table_prealloc_blocks() local
556 alloc_count = (elen >> sb->s_blocksize_bits); in udf_table_prealloc_blocks()
557 if (alloc_count > block_count) { in udf_table_prealloc_blocks()
558 alloc_count = block_count; in udf_table_prealloc_blocks()
559 eloc.logicalBlockNum += alloc_count; in udf_table_prealloc_blocks()
560 elen -= (alloc_count << sb->s_blocksize_bits); in udf_table_prealloc_blocks()
566 alloc_count = 0; in udf_table_prealloc_blocks()
571 if (alloc_count) in udf_table_prealloc_blocks()
572 udf_add_free_space(sb, partition, -alloc_count); in udf_table_prealloc_blocks()
574 return alloc_count; in udf_table_prealloc_blocks()