Lines Matching refs:alloc_count
180 int alloc_count = 0; in udf_bitmap_prealloc_blocks() local
209 alloc_count++; in udf_bitmap_prealloc_blocks()
217 udf_add_free_space(sb, partition, -alloc_count); in udf_bitmap_prealloc_blocks()
219 return alloc_count; in udf_bitmap_prealloc_blocks()
497 int alloc_count = 0; in udf_table_prealloc_blocks() local
535 alloc_count = (elen >> sb->s_blocksize_bits); in udf_table_prealloc_blocks()
536 if (alloc_count > block_count) { in udf_table_prealloc_blocks()
537 alloc_count = block_count; in udf_table_prealloc_blocks()
538 eloc.logicalBlockNum += alloc_count; in udf_table_prealloc_blocks()
539 elen -= (alloc_count << sb->s_blocksize_bits); in udf_table_prealloc_blocks()
545 alloc_count = 0; in udf_table_prealloc_blocks()
551 if (alloc_count) in udf_table_prealloc_blocks()
552 udf_add_free_space(sb, partition, -alloc_count); in udf_table_prealloc_blocks()
554 return alloc_count; in udf_table_prealloc_blocks()