int alloc_inode(struct sfuse_superblock *sb, struct sfuse_inode_bitmap *imap)
슈퍼블록 기반으로 아이노드 할당
int bitmap_sync(int fd, uint32_t start_blk, const struct sfuse_bitmaps *bmaps, uint32_t count)
메모리 비트맵을 디스크에 동기화
void free_inode(struct sfuse_superblock *sb, struct sfuse_inode_bitmap *imap, uint32_t ino)
슈퍼블록 기반으로 아이노드 해제
int alloc_block(struct sfuse_superblock *sb, struct sfuse_block_bitmap *bmap)
슈퍼블록 기반으로 데이터 블록 할당
int bitmap_load(int fd, uint32_t start_blk, struct sfuse_bitmaps *bmaps, uint32_t count)
비트맵을 디스크에서 읽어 메모리에 로드
void free_bit(uint8_t *map, uint32_t idx)
비트맵에서 비트를 해제
int alloc_bit(uint8_t *map, uint32_t total_bits)
비트맵에서 비트를 할당
void free_block(struct sfuse_superblock *sb, struct sfuse_block_bitmap *bmap, uint32_t blk)
슈퍼블록 기반으로 데이터 블록 해제
아이노드 비트맵과 블록 비트맵을 함께 담는 구조체
struct sfuse_block_bitmap block
struct sfuse_inode_bitmap inode
SFUSE용 비트맵 구조체 (아이노드/블록 할당 상태 추적)
#define SFUSE_BLOCK_SIZE
블록 크기 (바이트 단위)