Lines Matching refs:ia_size
108 ri->isize = cpu_to_je32((ivalid & ATTR_SIZE)?iattr->ia_size:inode->i_size);
116 if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) {
119 ri->dsize = cpu_to_je32(iattr->ia_size - inode->i_size);
121 } else if (ivalid & ATTR_SIZE && !iattr->ia_size) {
153 if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size)
154 jffs2_truncate_fragtree (c, &f->fragtree, iattr->ia_size);
156 if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) {
158 inode->i_size = iattr->ia_size;
176 back past iattr->ia_size, because do_truncate() holds the
178 if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size) {
179 truncate_setsize(inode, iattr->ia_size);