Searched refs:volume_size (Results 1 – 7 of 7) sorted by relevance
61 determine_ilist_size(v7fs_daddr_t volume_size, int32_t files) in determine_ilist_size() argument68 ilist_size = volume_size / 25; /* 4% */ in determine_ilist_size()172 if (j == (int32_t)fs->superblock.volume_size) in make_freeblocklist()201 make_filesystem(struct v7fs_self *fs, v7fs_daddr_t volume_size, in make_filesystem() argument226 sb->volume_size = volume_size; in make_filesystem()244 sb->total_freeblock = volume_size - sb->datablock_start_sector; in make_filesystem()257 (volume_size - sb->datablock_start_sector) / PROGRESS_BAR_GRANULE}); in make_filesystem()276 v7fs_daddr_t volume_size = mount->sectors; in v7fs_newfs() local279 if (volume_size > V7FS_DADDR_MAX + 1) { in v7fs_newfs()281 volume_size, V7FS_DADDR_MAX + 1); in v7fs_newfs()[all …]
123 if ((sb->volume_size < 128) || /* smaller than 64KB. */ in v7fs_superblock_sanity()124 (sb->datablock_start_sector > sb->volume_size) || in v7fs_superblock_sanity()128 (sb->total_freeblock > sb->volume_size) || in v7fs_superblock_sanity()131 (!(buf = scratch_read(fs, sb->volume_size - 1)))) { in v7fs_superblock_sanity()242 conv32(volume_size); in v7fs_superblock_endian_convert()
69 stat->total_blocks = sb->volume_size - sb->datablock_start_sector; in v7fs_superblock_status()86 print(volume_size); in v7fs_superblock_dump()
101 v7fs_daddr_t volume_size; member
87 (blk < sb->volume_size); in datablock_number_sanity()
115 int ndata = sb->volume_size - sb->datablock_start_sector - nfree; in datablock_vs_freeblock_check()209 int n = sb->volume_size - sb->total_freeblock; in datablock_vs_datablock_check()
267 v7fs_daddr_t datablock_size = sb->volume_size - in freeblock_check()