Home
last modified time | relevance | path

Searched refs:block_count (Results 1 – 12 of 12) sorted by relevance

/fs/hfsplus/
A Dextents.c57 count = be32_to_cpu(ext->block_count); in hfsplus_ext_find_block()
72 count += be32_to_cpu(ext->block_count); in hfsplus_ext_block_count()
82 if (ext->block_count) in hfsplus_ext_lastblock()
305 be32_to_cpu(extent[i].block_count)); in hfsplus_dump_extent()
310 u32 alloc_block, u32 block_count) in hfsplus_add_extent() argument
317 count = be32_to_cpu(extent->block_count); in hfsplus_add_extent()
326 block_count += count; in hfsplus_add_extent()
327 extent->block_count = cpu_to_be32(block_count); in hfsplus_add_extent()
347 count = be32_to_cpu(extent->block_count); in hfsplus_free_extents()
366 extent->block_count = 0; in hfsplus_free_extents()
[all …]
A Dhfsplus_raw.h91 __be32 block_count; member
A Dinode.c471 count += be32_to_cpu(fork->extents[i].block_count); in hfsplus_inode_read_fork()
/fs/udf/
A Dballoc.c177 uint32_t block_count) in udf_bitmap_prealloc_blocks() argument
191 if (first_block + block_count > part_len) in udf_bitmap_prealloc_blocks()
192 block_count = part_len - first_block; in udf_bitmap_prealloc_blocks()
208 block_count--; in udf_bitmap_prealloc_blocks()
214 } while (block_count > 0); in udf_bitmap_prealloc_blocks()
494 uint32_t first_block, uint32_t block_count) in udf_table_prealloc_blocks() argument
536 if (alloc_count > block_count) { in udf_table_prealloc_blocks()
537 alloc_count = block_count; in udf_table_prealloc_blocks()
690 uint32_t block_count) in udf_prealloc_blocks() argument
699 block_count); in udf_prealloc_blocks()
[all …]
/fs/f2fs/
A Dgc.c2148 long long block_count; in update_sb_metadata() local
2156 block_count = le64_to_cpu(raw_sb->block_count); in update_sb_metadata()
2161 raw_sb->block_count = cpu_to_le64(block_count + in update_sb_metadata()
2203 int f2fs_resize_fs(struct file *filp, __u64 block_count) in f2fs_resize_fs() argument
2212 old_block_count = le64_to_cpu(F2FS_RAW_SUPER(sbi)->block_count); in f2fs_resize_fs()
2213 if (block_count > old_block_count) in f2fs_resize_fs()
2220 if (block_count + SEGS_TO_BLKS(sbi, last_segs) <= in f2fs_resize_fs()
2226 div_u64_rem(block_count, BLKS_PER_SEC(sbi), &rem); in f2fs_resize_fs()
2230 if (block_count == old_block_count) in f2fs_resize_fs()
2247 shrunk_blocks = old_block_count - block_count; in f2fs_resize_fs()
A Ddebug.c289 si->block_count[i] = sbi->block_count[i]; in update_general_status()
731 si->block_count[SSR], si->segment_count[SSR]); in stat_show()
733 si->block_count[LFS], si->segment_count[LFS]); in stat_show()
A Df2fs.h1756 unsigned int block_count[2]; /* # of allocated blocks */ member
4042 int f2fs_resize_fs(struct file *filp, __u64 block_count);
4136 unsigned int block_count[2]; member
4224 ((sbi)->block_count[(curseg)->alloc_type]++)
A Dfile.c3633 __u64 block_count; in f2fs_ioc_resize_fs() local
3641 if (copy_from_user(&block_count, (void __user *)arg, in f2fs_ioc_resize_fs()
3642 sizeof(block_count))) in f2fs_ioc_resize_fs()
3645 return f2fs_resize_fs(filp, block_count); in f2fs_ioc_resize_fs()
A Dsuper.c2115 total_count = le64_to_cpu(sbi->raw_super->block_count); in f2fs_statfs()
3892 if (segment_count > (le64_to_cpu(raw_super->block_count) >> 9)) { in sanity_check_raw_super()
3894 segment_count, le64_to_cpu(raw_super->block_count)); in sanity_check_raw_super()
/fs/hfs/
A Dextent.c221 u16 alloc_block, u16 block_count) in hfs_add_extent() argument
237 block_count += count; in hfs_add_extent()
238 extent->count = cpu_to_be16(block_count); in hfs_add_extent()
/fs/affs/
A Damigaffs.h80 __be32 block_count; member
A Dfile.c338 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(block + 1); in affs_get_block()
934 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(i); in affs_truncate()

Completed in 55 milliseconds