Lines Matching refs:alloc_count
181 int alloc_count = 0; in udf_bitmap_prealloc_blocks() local
210 alloc_count++; in udf_bitmap_prealloc_blocks()
218 udf_add_free_space(sb, partition, -alloc_count); in udf_bitmap_prealloc_blocks()
220 return alloc_count; in udf_bitmap_prealloc_blocks()
498 int alloc_count = 0; in udf_table_prealloc_blocks() local
538 alloc_count = (elen >> sb->s_blocksize_bits); in udf_table_prealloc_blocks()
539 if (alloc_count > block_count) { in udf_table_prealloc_blocks()
540 alloc_count = block_count; in udf_table_prealloc_blocks()
541 eloc.logicalBlockNum += alloc_count; in udf_table_prealloc_blocks()
542 elen -= (alloc_count << sb->s_blocksize_bits); in udf_table_prealloc_blocks()
548 alloc_count = 0; in udf_table_prealloc_blocks()
554 if (alloc_count) in udf_table_prealloc_blocks()
555 udf_add_free_space(sb, partition, -alloc_count); in udf_table_prealloc_blocks()
559 return alloc_count; in udf_table_prealloc_blocks()