Searched refs:fblock (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Dadvfs.h40 hfs_is_bad_block (const PedFileSystem *fs, unsigned int fblock);
46 hfs_find_start_pack (const PedFileSystem *fs, unsigned int fblock);
H A Dadvfs_plus.h40 hfsplus_is_bad_block (const PedFileSystem *fs, unsigned int fblock);
49 hfsplus_find_start_pack (const PedFileSystem *fs, unsigned int fblock);
H A Dreloc.h32 hfs_pack_free_space_from_block (PedFileSystem *fs, unsigned int fblock,
H A Dreloc_plus.h32 hfsplus_pack_free_space_from_block (PedFileSystem *fs, unsigned int fblock,
H A Dadvfs.c241 /* This function check if fblock is a bad block */
243 hfs_is_bad_block (const PedFileSystem *fs, unsigned int fblock) argument
252 if ((fblock >= PED_BE16_TO_CPU (walk->extent.start_block)) &&
253 (fblock < (unsigned int) (PED_BE16_TO_CPU (
306 least free fblock blocks at the end of the volume */
308 hfs_find_start_pack (const PedFileSystem *fs, unsigned int fblock) argument
315 block && fblock;
318 fblock--;
H A Dadvfs_plus.c249 /* This function check if fblock is a bad block */
251 hfsplus_is_bad_block (const PedFileSystem *fs, unsigned int fblock) argument
260 if ((fblock >= PED_BE32_TO_CPU (walk->extent.start_block)) &&
261 (fblock < (unsigned int)(PED_BE32_TO_CPU (
360 at least free fblock blocks at the end of the volume */
362 hfsplus_find_start_pack (const PedFileSystem *fs, unsigned int fblock) argument
369 block && fblock;
372 fblock--;
H A Dreloc.c283 /* This function moves an extent starting at block fblock to block to_fblock
583 starting at fblock block */
586 hfs_pack_free_space_from_block (PedFileSystem *fs, unsigned int fblock, argument
594 unsigned int to_fblock = fblock;
595 unsigned int start = fblock;
639 while (fblock < PED_BE16_TO_CPU (mdb->total_blocks)) {
640 if (TST_BLOC_OCCUPATION(priv_data->alloc_map,fblock)
641 && (!hfs_is_bad_block (fs, fblock))) {
642 if (!(ret = hfs_move_extent_starting_at (fs, &fblock,
644 to_fblock = ++fblock;
[all...]
H A Dreloc_plus.c351 /* This function moves an extent starting at block fblock
853 starting at fblock block */
856 hfsplus_pack_free_space_from_block (PedFileSystem *fs, unsigned int fblock, argument
864 unsigned int to_fblock = fblock;
865 unsigned int start = fblock;
909 while ( fblock < ( priv_data->plus_geom->length - 2 )
912 if (TST_BLOC_OCCUPATION (priv_data->alloc_map, fblock)
913 && (!hfsplus_is_bad_block (fs, fblock))) {
915 &fblock, &to_fblock, cache)))
916 to_fblock = ++fblock;
[all...]

Completed in 56 milliseconds