Home
last modified time | relevance | path

Searched refs:volume_size (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/sbin/newfs_v7fs/
H A Dmain.c61 determine_ilist_size(v7fs_daddr_t volume_size, int32_t files) in determine_ilist_size() argument
68 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() argument
226 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() local
279 if (volume_size > V7FS_DADDR_MAX + 1) { in v7fs_newfs()
281 volume_size, V7FS_DADDR_MAX + 1); in v7fs_newfs()
[all …]
/netbsd-src/sys/fs/v7fs/
H A Dv7fs_superblock.c123 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()
H A Dv7fs_superblock_util.c69 stat->total_blocks = sb->volume_size - sb->datablock_start_sector; in v7fs_superblock_status()
86 print(volume_size); in v7fs_superblock_dump()
H A Dv7fs.h101 v7fs_daddr_t volume_size; member
H A Dv7fs_datablock.c87 (blk < sb->volume_size); in datablock_number_sanity()
/netbsd-src/sbin/fsck_v7fs/
H A Ddatablock.c115 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()
H A Dfreeblock.c267 v7fs_daddr_t datablock_size = sb->volume_size - in freeblock_check()