Lines Matching full:block
34 * @brief Fetch block into buffer in the inode structure.
37 * @param block Number of inode block to fetch (0 - first block in that inode)
42 int ext2_fetch_inode_block(struct ext2_inode *inode, uint32_t block);
45 * @brief Fetch block group into buffer in fs structure.
50 * @param group Block group number
58 * @brief Fetch one block of inode table into internal buffer
60 * If the block of inode table was already fetched then this function does nothing and returns
63 * @param bg Block group structure
64 * @param block Number of inode table block to fetch (relative to start of the inode table)
69 int ext2_fetch_bg_itable(struct ext2_bgroup *bg, uint32_t block);
76 * @param bg Block group structure
84 * @brief Fetch block bitmap into internal buffer
88 * @param bg Block group structure
98 * This function triggers fetching of block group and inode table (where the
112 * The changes are committed only to the cached block. They are truly written to
123 * @brief Commit changes made to inode block
125 * The changes are committed only to the cached block. They are truly written to
149 * @brief Commit changes made to block group structure.
161 /* Operations that reserve or free the block or inode in the file system. They
162 * mark an inode or block as used in the bitmap and change free inode/block
163 * count in superblock and block group.
167 * @brief Reserve a block for future use.
169 * Search for a free block. If block is found, proper fields in superblock and
170 * block group are updated and block is marked as used in block bitmap.
174 * @retval >0 number of allocated block
183 * block group are updated and inode is marked as used in inode bitmap.
193 * @brief Free the block
200 int ext2_free_block(struct ext2_data *fs, uint32_t block);