Home
last modified time | relevance | path

Searched refs:ext2_inode (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.7.0/subsys/fs/ext2/
Dext2_impl.h153 struct ext2_inode *inode; /* (OP, CR, ST, UN) found inode */
154 struct ext2_inode *parent; /* (CR, ST, UN) parent of found inode */
187 ssize_t ext2_inode_read(struct ext2_inode *inode, void *buf, uint32_t offset,
201 ssize_t ext2_inode_write(struct ext2_inode *inode, const void *buf,
214 int ext2_inode_trunc(struct ext2_inode *inode, off_t size);
222 int ext2_inode_sync(struct ext2_inode *inode);
268 int ext2_create_file(struct ext2_inode *parent, struct ext2_inode *inode,
283 int ext2_create_dir(struct ext2_inode *parent, struct ext2_inode *inode,
297 int ext2_inode_unlink(struct ext2_inode *parent, struct ext2_inode *inode,
342 int ext2_inode_get(struct ext2_data *fs, uint32_t ino, struct ext2_inode **ret);
[all …]
Dext2_diskops.h31 int ext2_fetch_inode(struct ext2_data *fs, uint32_t ino, struct ext2_inode *inode);
42 int ext2_fetch_inode_block(struct ext2_inode *inode, uint32_t block);
120 int ext2_commit_inode(struct ext2_inode *inode);
133 int ext2_commit_inode_block(struct ext2_inode *inode);
Dext2_impl.c35 K_MEM_SLAB_DEFINE(inode_struct_slab, sizeof(struct ext2_inode), MAX_INODES, sizeof(void *));
405 static int64_t find_dir_entry(struct ext2_inode *inode, const char *name, size_t len,
413 struct ext2_inode *cur_dir = NULL, *next = NULL; in ext2_lookup_inode()
562 static int64_t find_dir_entry(struct ext2_inode *inode, const char *name, size_t len, in find_dir_entry()
609 ssize_t ext2_inode_read(struct ext2_inode *inode, void *buf, uint32_t offset, size_t nbytes) in ext2_inode_read()
641 ssize_t ext2_inode_write(struct ext2_inode *inode, const void *buf, uint32_t offset, size_t nbytes) in ext2_inode_write()
689 int ext2_inode_trunc(struct ext2_inode *inode, off_t length) in ext2_inode_trunc()
778 int ext2_inode_sync(struct ext2_inode *inode) in ext2_inode_sync()
821 struct ext2_inode *inode = NULL; in ext2_get_direntry()
872 static int ext2_create_inode(struct ext2_data *fs, struct ext2_inode *parent, in ext2_create_inode()
[all …]
Dext2_struct.h167 struct ext2_inode { struct
185 static inline struct ext2_block *inode_current_block(struct ext2_inode *inode) in inode_current_block() argument
190 static inline uint8_t *inode_current_block_mem(struct ext2_inode *inode) in inode_current_block_mem()
208 struct ext2_inode *f_inode;
235 struct ext2_inode *inode_pool[MAX_INODES];
Dext2_ops.c60 struct ext2_inode *found_inode = args.inode; in ext2_open()
63 struct ext2_inode *parent = args.parent; in ext2_open()
70 struct ext2_inode *new_inode; in ext2_open()
260 struct ext2_inode *found_inode = args.inode; in ext2_mkdir()
261 struct ext2_inode *parent = args.parent; in ext2_mkdir()
305 struct ext2_inode *found_inode = args.inode; in ext2_opendir()
599 struct ext2_inode *parent = args.parent; in ext2_stat()
Dext2_diskops.c106 static void fill_inode(struct ext2_inode *inode, struct ext2_disk_inode *dino) in fill_inode()
117 static void fill_disk_inode(struct ext2_disk_inode *dino, struct ext2_inode *inode) in fill_disk_inode()
377 int ext2_fetch_inode(struct ext2_data *fs, uint32_t ino, struct ext2_inode *inode) in ext2_fetch_inode()
405 static int fetch_level_blocks(struct ext2_inode *inode, uint32_t offsets[4], int lvl, int max_lvl, in fetch_level_blocks()
447 int ext2_fetch_inode_block(struct ext2_inode *inode, uint32_t block) in ext2_fetch_inode_block()
662 int64_t ext2_inode_remove_blocks(struct ext2_inode *inode, uint32_t first) in ext2_inode_remove_blocks()
712 static int alloc_level_blocks(struct ext2_inode *inode) in alloc_level_blocks()
817 int ext2_commit_inode(struct ext2_inode *inode) in ext2_commit_inode()
836 int ext2_commit_inode_block(struct ext2_inode *inode) in ext2_commit_inode_block()