Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/fs/ext2/
Dext2_struct.h73 uint16_t i_mode; member
173 uint16_t i_mode; /* mode */ member
Dext2_impl.c472 if (!(next->i_mode & EXT2_S_IFDIR)) { in ext2_lookup_inode()
887 inode->i_mode = type == FS_DIR_ENTRY_FILE ? EXT2_DEF_FILE_MODE : EXT2_DEF_DIR_MODE; in ext2_create_inode()
1236 ret = ext2_free_inode(inode->i_fs, inode->i_id, IS_DIR(inode->i_mode)); in remove_inode()
1242 if (!IS_DIR(inode->i_mode)) { in can_unlink()
1292 if ((IS_REG_FILE(inode->i_mode) && inode->i_links_count == 1) || in ext2_inode_unlink()
1293 (IS_DIR(inode->i_mode) && inode->i_links_count == 2)) { in ext2_inode_unlink()
Dext2_diskops.c108 inode->i_mode = sys_le16_to_cpu(dino->i_mode); in fill_inode()
119 dino->i_mode = sys_cpu_to_le16(inode->i_mode); in fill_disk_inode()
397 LOG_DBG("mode:%d size:%d links:%d", dino->i_mode, dino->i_size, dino->i_links_count); in ext2_fetch_inode()
Dext2_ops.c88 if ((found_inode->i_mode & EXT2_S_IFMT) != EXT2_S_IFREG) { in ext2_open()
307 if (!(found_inode->i_mode & EXT2_S_IFDIR)) { in ext2_opendir()
Dext2_format.c78 in->i_mode = sys_cpu_to_le16(EXT2_DEF_DIR_MODE); in default_directory_inode()