Searched refs:attr_chg_size (Results 1 – 3 of 3) sorted by relevance
86 unsigned attr_chg_size; member
363 attr.attr_chg_size = pos; in VfsJffs2WritePage()431 attr.attr_chg_size = pos; in VfsJffs2Write()626 attr.attr_chg_size = len; in Jffs2Truncate()
2850 + 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