Home
last modified time | relevance | path

Searched refs:ext2_block (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/fs/ext2/
Dext2_impl.h29 struct ext2_block *ext2_get_block(struct ext2_data *fs, uint32_t block);
31 struct ext2_block *ext2_get_empty_block(struct ext2_data *fs);
36 void ext2_drop_block(struct ext2_block *b);
44 int ext2_write_block(struct ext2_data *fs, struct ext2_block *b);
54 int ext2_write_block(struct ext2_data *fs, struct ext2_block *b);
56 int ext2_assign_block_num(struct ext2_data *fs, struct ext2_block *b);
Dext2_struct.h135 struct ext2_block { struct
148 struct ext2_block *inode_table; /* fetched block of inode table */ argument
149 struct ext2_block *inode_bitmap; /* inode bitmap */
150 struct ext2_block *block_bitmap; /* block bitmap */
182 struct ext2_block *blocks[4]; /* fetched blocks for each level */
185 static inline struct ext2_block *inode_current_block(struct ext2_inode *inode) in inode_current_block()
Dext2_format.c195 struct ext2_block *sb_block = ext2_get_block(fs, first_data_block); in ext2_format()
196 struct ext2_block *bg_block = ext2_get_block(fs, bg_block_num); in ext2_format()
197 struct ext2_block *bbitmap_block = ext2_get_block(fs, bbitmap_block_num); in ext2_format()
198 struct ext2_block *ibitmap_block = ext2_get_block(fs, ibitmap_block_num); in ext2_format()
199 struct ext2_block *itable_block1, *itable_block2, *root_dir_blk, *lost_found_dir_blk; in ext2_format()
300 struct ext2_block *blk = ext2_get_block(fs, itable_block_num + i); in ext2_format()
Dext2_impl.c26 #define BLOCK_STRUCT_BUFFER_SIZE (CONFIG_EXT2_MAX_BLOCK_COUNT * sizeof(struct ext2_block))
69 static struct ext2_block *get_block_struct(void) in get_block_struct()
72 struct ext2_block *b; in get_block_struct()
89 struct ext2_block *ext2_get_block(struct ext2_data *fs, uint32_t block) in ext2_get_block()
92 struct ext2_block *b = get_block_struct(); in ext2_get_block()
108 struct ext2_block *ext2_get_empty_block(struct ext2_data *fs) in ext2_get_empty_block()
110 struct ext2_block *b = get_block_struct(); in ext2_get_empty_block()
121 int ext2_write_block(struct ext2_data *fs, struct ext2_block *b) in ext2_write_block()
136 void ext2_drop_block(struct ext2_block *b) in ext2_drop_block()
156 sizeof(struct ext2_block), CONFIG_EXT2_MAX_BLOCK_COUNT); in ext2_init_blocks_slab()
[all …]
Dext2_diskops.c203 struct ext2_block *b; in ext2_fetch_superblock()
261 struct ext2_block *b = ext2_get_block(fs, global_block); in ext2_fetch_block_group()
507 struct ext2_block *list_block = NULL; in delete_blocks()
762 struct ext2_block *b; in ext2_commit_superblock()
799 struct ext2_block *b = ext2_get_block(fs, global_block); in ext2_commit_bg()