Searched refs:bg (Results 1 – 3 of 3) sorted by relevance
80 uint64_t ext4fs_bg_get_block_id(const struct ext2_block_group *bg,82 uint64_t ext4fs_bg_get_inode_id(const struct ext2_block_group *bg,84 uint64_t ext4fs_bg_get_inode_table_id(const struct ext2_block_group *bg,88 uint32_t ext4fs_bg_get_free_blocks(const struct ext2_block_group *bg,
74 uint32_t free_inodes = le16_to_cpu(bg->free_inodes); in ext4fs_bg_free_inodes_dec()79 bg->free_inodes = cpu_to_le16(free_inodes & 0xffff); in ext4fs_bg_free_inodes_dec()87 uint32_t free_blocks = le16_to_cpu(bg->free_blocks); in ext4fs_bg_free_blocks_dec()92 bg->free_blocks = cpu_to_le16(free_blocks & 0xffff); in ext4fs_bg_free_blocks_dec()126 uint32_t free_blocks = le16_to_cpu(bg->free_blocks); in ext4fs_bg_get_free_blocks()136 uint32_t free_inodes = le16_to_cpu(bg->free_inodes); in ext4fs_bg_get_free_inodes()144 return le16_to_cpu(bg->bg_flags); in ext4fs_bg_get_flags()150 bg->bg_flags = cpu_to_le16(flags); in ext4fs_bg_set_flags()157 uint64_t block_nr = le32_to_cpu(bg->block_id); in ext4fs_bg_get_block_id()167 uint64_t block_nr = le32_to_cpu(bg->inode_id); in ext4fs_bg_get_inode_id()[all …]
43 (struct ext2_block_group *bg, const struct ext_filesystem *fs) in ext4fs_bg_free_inodes_inc() argument45 uint32_t free_inodes = le16_to_cpu(bg->free_inodes); in ext4fs_bg_free_inodes_inc()47 free_inodes += le16_to_cpu(bg->free_inodes_high) << 16; in ext4fs_bg_free_inodes_inc()50 bg->free_inodes = cpu_to_le16(free_inodes & 0xffff); in ext4fs_bg_free_inodes_inc()52 bg->free_inodes_high = cpu_to_le16(free_inodes >> 16); in ext4fs_bg_free_inodes_inc()56 (struct ext2_block_group *bg, const struct ext_filesystem *fs) in ext4fs_bg_free_blocks_inc() argument58 uint32_t free_blocks = le16_to_cpu(bg->free_blocks); in ext4fs_bg_free_blocks_inc()60 free_blocks += le16_to_cpu(bg->free_blocks_high) << 16; in ext4fs_bg_free_blocks_inc()63 bg->free_blocks = cpu_to_le16(free_blocks & 0xffff); in ext4fs_bg_free_blocks_inc()65 bg->free_blocks_high = cpu_to_le16(free_blocks >> 16); in ext4fs_bg_free_blocks_inc()
Completed in 8 milliseconds