Lines Matching refs:alloc_count
177 int alloc_count = 0; in udf_bitmap_prealloc_blocks() local
208 alloc_count++; in udf_bitmap_prealloc_blocks()
216 udf_add_free_space(sb, partition, -alloc_count); in udf_bitmap_prealloc_blocks()
218 return alloc_count; in udf_bitmap_prealloc_blocks()
580 int alloc_count = 0; in udf_table_prealloc_blocks() local
614 alloc_count = (elen >> sb->s_blocksize_bits); in udf_table_prealloc_blocks()
615 if (alloc_count > block_count) { in udf_table_prealloc_blocks()
616 alloc_count = block_count; in udf_table_prealloc_blocks()
617 eloc.logicalBlockNum += alloc_count; in udf_table_prealloc_blocks()
618 elen -= (alloc_count << sb->s_blocksize_bits); in udf_table_prealloc_blocks()
625 alloc_count = 0; in udf_table_prealloc_blocks()
630 if (alloc_count) in udf_table_prealloc_blocks()
631 udf_add_free_space(sb, partition, -alloc_count); in udf_table_prealloc_blocks()
633 return alloc_count; in udf_table_prealloc_blocks()