Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/file_systems/ufs2/
H A DInode.cpp99 ufs2_super_block super_block = fVolume->SuperBlock(); in ReadAt() local
100 int32_t blockSize = super_block.fs_bsize; in ReadAt()
140 ufs2_super_block super_block = fVolume->SuperBlock(); in FindBlock() local
141 int32_t blockSize = super_block.fs_bsize; in FindBlock()
142 int32_t fragmentSize = super_block.fs_fsize; in FindBlock()
H A Dkernel_interface.cpp30 ufs2_super_block super_block; member
45 memcpy(&cookie->super_block, &superBlock, sizeof(ufs2_super_block)); in ufs2_identify_partition()
59 partition->block_size = cookie->super_block.fs_bsize; in ufs2_scan_partition()
60 partition->content_size = cookie->super_block.fs_fsize in ufs2_scan_partition()
61 * cookie->super_block.fs_size; in ufs2_scan_partition()
62 partition->content_name = strdup(cookie->super_block.fs_volname); in ufs2_scan_partition()
/haiku/src/bin/bfs_tools/lib/
H A DDisk.cpp30 disk_super_block super_block; member
298 memcpy(&info->super_block, super, sizeof(disk_super_block)); in ScanForSuperBlock()
319 "\n", i + 1, info->super_block.name, info->offset, in ScanForSuperBlock()
320 1.0 * info->super_block.num_blocks * info->super_block.block_size in ScanForSuperBlock()
322 ValidateSuperBlock(info->super_block) < B_OK ? "in" : ""); in ScanForSuperBlock()
344 if (ValidateSuperBlock(info->super_block)) in ScanForSuperBlock()
345 fSize = info->super_block.block_size * info->super_block.block_size; in ScanForSuperBlock()
/haiku/src/add-ons/kernel/file_systems/exfat/
H A Dkernel_interface.cpp50 exfat_super_block super_block; member
94 memcpy(&cookie->super_block, &superBlock, sizeof(exfat_super_block)); in exfat_identify_partition()
138 partition->content_size = cookie->super_block.NumBlocks() in exfat_scan_partition()
139 << cookie->super_block.BlockShift(); in exfat_scan_partition()
140 partition->block_size = 1 << cookie->super_block.BlockShift(); in exfat_scan_partition()
/haiku/src/add-ons/kernel/file_systems/ext2/
H A Dkernel_interface.cpp44 ext2_super_block super_block; member
63 memcpy(&cookie->super_block, &superBlock, sizeof(ext2_super_block)); in ext2_identify_partition()
77 partition->content_size = cookie->super_block.NumBlocks( in ext2_scan_partition()
78 (cookie->super_block.CompatibleFeatures() in ext2_scan_partition()
80 << cookie->super_block.BlockShift(); in ext2_scan_partition()
81 partition->block_size = 1UL << cookie->super_block.BlockShift(); in ext2_scan_partition()
82 partition->content_name = strdup(cookie->super_block.name); in ext2_scan_partition()
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dkernel_interface.cpp49 btrfs_super_block super_block; member
88 memcpy(&cookie->super_block, &superBlock, sizeof(btrfs_super_block)); in btrfs_identify_partition()
102 partition->content_size = cookie->super_block.TotalSize(); in btrfs_scan_partition()
103 partition->block_size = cookie->super_block.BlockSize(); in btrfs_scan_partition()
104 partition->content_name = strdup(cookie->super_block.label); in btrfs_scan_partition()
/haiku/src/add-ons/kernel/file_systems/bfs/
H A Dkernel_interface.cpp41 disk_super_block super_block; member
136 memcpy(&cookie->super_block, &superBlock, sizeof(disk_super_block)); in bfs_identify_partition()
150 partition->content_size = cookie->super_block.NumBlocks() in bfs_scan_partition()
151 * cookie->super_block.BlockSize(); in bfs_scan_partition()
152 partition->block_size = cookie->super_block.BlockSize(); in bfs_scan_partition()
153 partition->content_name = strdup(cookie->super_block.name); in bfs_scan_partition()