Lines Matching full:fs
10 #include <zephyr/fs/fs.h>
11 #include <zephyr/fs/ext2.h>
17 void error_behavior(struct ext2_data *fs, const char *msg);
24 int ext2_init_disk_access_backend(struct ext2_data *fs, const void *storage_dev, int flags);
29 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);
42 * (fs::sync function).
44 int ext2_write_block(struct ext2_data *fs, struct ext2_block *b);
46 void ext2_init_blocks_slab(struct ext2_data *fs);
52 * (fs::sync function).
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);
58 /* FS operations */
63 * @param fs File system data structure to initialize
90 int ext2_init_fs(struct ext2_data *fs);
96 int ext2_close_fs(struct ext2_data *fs);
102 int ext2_close_struct(struct ext2_data *fs);
110 * NOTICE: fs structure must be first initialized with `ext2_init_fs` function.
114 * @param fs File system data (must be initialized before)
121 int ext2_format(struct ext2_data *fs, struct ext2_cfg *cfg);
164 * @param fs File system data
172 int ext2_lookup_inode(struct ext2_data *fs, struct ext2_lookup_args *args);
334 * @param fs File system data
342 int ext2_inode_get(struct ext2_data *fs, uint32_t ino, struct ext2_inode **ret);