Home
last modified time | relevance | path

Searched refs:ino (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/subsys/fs/ext2/
Dext2_diskops.h31 int ext2_fetch_inode(struct ext2_data *fs, uint32_t ino, struct ext2_inode *inode);
107 int ext2_clear_inode(struct ext2_data *fs, uint32_t ino);
212 int ext2_free_inode(struct ext2_data *fs, uint32_t ino, bool directory);
Dext2_impl.c451 int64_t ino = find_dir_entry(cur_dir, name_buf, len, &dir_off); in ext2_lookup_inode() local
459 if (ino < 0) { in ext2_lookup_inode()
465 rc = ext2_inode_get(fs, ino, &next); in ext2_lookup_inode()
491 if (ino < 0 && !(args->flags & LOOKUP_ARG_CREATE)) { in ext2_lookup_inode()
497 if (ino > 0) { in ext2_lookup_inode()
498 rc = ext2_inode_get(fs, ino, &next); in ext2_lookup_inode()
520 if (ino > 0) { in ext2_lookup_inode()
567 int64_t ino = -1; in find_dir_entry() local
589 ino = de->de_inode; in find_dir_entry()
604 return (int64_t)ino; in find_dir_entry()
[all …]
Dext2_diskops.c349 static int32_t get_itable_entry(struct ext2_data *fs, uint32_t ino) in get_itable_entry() argument
352 uint32_t ino_group = (ino - 1) / fs->sblock.s_inodes_per_group; in get_itable_entry()
353 uint32_t ino_index = (ino - 1) % fs->sblock.s_inodes_per_group; in get_itable_entry()
377 int ext2_fetch_inode(struct ext2_data *fs, uint32_t ino, struct ext2_inode *inode) in ext2_fetch_inode() argument
380 int32_t itable_offset = get_itable_entry(fs, ino); in ext2_fetch_inode()
382 LOG_DBG("fetch inode: %d", ino); in ext2_fetch_inode()
395 inode->i_id = ino; in ext2_fetch_inode()
854 int ext2_clear_inode(struct ext2_data *fs, uint32_t ino) in ext2_clear_inode() argument
857 int32_t itable_offset = get_itable_entry(fs, ino); in ext2_clear_inode()
941 static int check_zero_inode(struct ext2_data *fs, uint32_t ino) in check_zero_inode() argument
[all …]
Dext2_impl.h254 struct ext2_direntry *ext2_create_direntry(const char *name, uint8_t namelen, uint32_t ino,
342 int ext2_inode_get(struct ext2_data *fs, uint32_t ino, struct ext2_inode **ret);