Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/fs/ext2/
Dext2_impl.c571 while (offset < inode->i_size) { in find_dir_entry()
615 while (read < nbytes && offset < inode->i_size) { in ext2_inode_read()
626 uint32_t left_in_file = inode->i_size - offset; in ext2_inode_read()
652 inode->i_id, block, offset, offset + nbytes, inode->i_size); in ext2_inode_write()
677 if (offset + written > inode->i_size) { in ext2_inode_write()
678 LOG_DBG("New inode size: %d -> %zd", inode->i_size, offset + written); in ext2_inode_write()
679 inode->i_size = offset + written; in ext2_inode_write()
697 uint32_t old_size = inode->i_size; in ext2_inode_trunc()
755 inode->i_size = new_size; in ext2_inode_trunc()
757 LOG_DBG("New inode size: %d (blocks: %d)", inode->i_size, inode->i_blocks); in ext2_inode_trunc()
[all …]
Dext2_struct.h75 uint32_t i_size; member
175 uint32_t i_size; /* size */ member
Dext2_ops.c161 f->f_off = f->f_inode->i_size; in ext2_write()
189 new_off = f->f_inode->i_size + off; in ext2_lseek()
197 if (new_off < 0 || new_off > f->f_inode->i_size) { in ext2_lseek()
Dext2_diskops.c109 inode->i_size = sys_le32_to_cpu(dino->i_size); in fill_inode()
120 dino->i_size = sys_cpu_to_le32(inode->i_size); 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_format.c80 in->i_size = sys_cpu_to_le32(nblocks * cfg->block_size); in default_directory_inode()