Bitmap Operations
-----------------
- Function: void ext2fs_mark_block_bitmap (ext2fs_block_bitmap BITMAP,
blk_t BLOCK)
- Function: void ext2fs_unmark_block_bitmap (ext2fs_block_bitmap
BITMAP, blk_t BLOCK)
- Function: int ext2fs_test_block_bitmap (ext2fs_block_bitmap BITMAP,
blk_t BLOCK)
These functions set, clear, and test bits in a block bitmap BITMAP.
- Function: void ext2fs_mark_inode_bitmap (ext2fs_inode_bitmap BITMAP,
ext2_ino_t INODE)
- Function: void ext2fs_unmark_inode_bitmap (ext2fs_inode_bitmap
BITMAP, ext2_ino_t INODE)
- Function: int ext2fs_test_inode_bitmap (ext2fs_inode_bitmap BITMAP,
ext2_ino_t INODE)
These functions set, clear, and test bits in an inode bitmap
BITMAP.
- Function: void ext2fs_fast_mark_block_bitmap (ext2fs_block_bitmap
BITMAP, blk_t BLOCK)
- Function: void ext2fs_fast_unmark_block_bitmap (ext2fs_block_bitmap
BITMAP, blk_t BLOCK)
- Function: int ext2fs_fast_test_block_bitmap (ext2fs_block_bitmap
BITMAP, blk_t BLOCK)
- Function: void ext2fs_fast_mark_inode_bitmap (ext2fs_inode_bitmap
BITMAP, ext2_ino_t INODE)
- Function: void ext2fs_fast_unmark_inode_bitmap (ext2fs_inode_bitmap
BITMAP, ext2_ino_t INODE)
- Function: int ext2fs_fast_test_inode_bitmap (ext2fs_inode_bitmap
BITMAP, ext2_ino_t INODE)
These "fast" functions are like their normal counterparts; however,
they are implemented as inline functions and do not perform bounds
checks on the inode number or block number; they are assumed to be
correct. They should only be used in speed-critical applications,
where the inode or block number has already been validated by
other means.
- Function: blk_t ext2fs_get_block_bitmap_start (ext2fs_block_bitmap
BITMAP)
- Function: ext2_ino_t ext2fs_get_inode_bitmap_start
(ext2fs_inode_bitmap BITMAP)
Return the first inode or block which is stored in the bitmap.
- Function: blk_t ext2fs_get_block_bitmap_end (ext2fs_block_bitmap
BITMAP)
- Function: ext2_ino_t ext2fs_get_inode_bitmap_end
(ext2fs_inode_bitmap BITMAP)
Return the last inode or block which is stored in the bitmap.