Lines Matching refs:alloc_count
177 int alloc_count = 0; in udf_bitmap_prealloc_blocks() local
206 alloc_count++; in udf_bitmap_prealloc_blocks()
214 udf_add_free_space(sb, partition, -alloc_count); in udf_bitmap_prealloc_blocks()
216 return alloc_count; in udf_bitmap_prealloc_blocks()
503 int alloc_count = 0; in udf_table_prealloc_blocks() local
537 alloc_count = (elen >> sb->s_blocksize_bits); in udf_table_prealloc_blocks()
538 if (alloc_count > block_count) { in udf_table_prealloc_blocks()
539 alloc_count = block_count; in udf_table_prealloc_blocks()
540 eloc.logicalBlockNum += alloc_count; in udf_table_prealloc_blocks()
541 elen -= (alloc_count << sb->s_blocksize_bits); in udf_table_prealloc_blocks()
547 alloc_count = 0; in udf_table_prealloc_blocks()
552 if (alloc_count) in udf_table_prealloc_blocks()
553 udf_add_free_space(sb, partition, -alloc_count); in udf_table_prealloc_blocks()
555 return alloc_count; in udf_table_prealloc_blocks()