Home
last modified time | relevance | path

Searched refs:attr_chg_size (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/fs/vfs/include/
Dvnode.h86 unsigned attr_chg_size; member
/kernel/liteos_a/fs/jffs2/src/
Dvfs_jffs2.c363 attr.attr_chg_size = pos; in VfsJffs2WritePage()
431 attr.attr_chg_size = pos; in VfsJffs2Write()
626 attr.attr_chg_size = len; in Jffs2Truncate()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch2850 + ri->isize = cpu_to_je32((ivalid & CHG_SIZE) ? attr->attr_chg_size : inode->i_size);
2858 + if (ivalid & CHG_SIZE && inode->i_size < attr->attr_chg_size) {
2862 + ri->dsize = cpu_to_je32(attr->attr_chg_size - inode->i_size);
2865 + } else if (ivalid & CHG_SIZE && !attr->attr_chg_size) {
2904 + if (ivalid & CHG_SIZE && inode->i_size > attr->attr_chg_size)
2905 + jffs2_truncate_fragtree (c, &f->fragtree, attr->attr_chg_size);
2911 + if (ivalid & CHG_SIZE && inode->i_size < attr->attr_chg_size) {
2915 + inode->i_size = attr->attr_chg_size;
2926 + if (ivalid & CHG_SIZE && inode->i_size > attr->attr_chg_size) {
2927 + inode->i_size = attr->attr_chg_size; // truncate_setsize