Lines Matching refs:i_size
115 ri->isize = cpu_to_je32((ivalid & ATTR_SIZE)?iattr->ia_size:inode->i_size);
123 if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) {
126 ri->dsize = cpu_to_je32(iattr->ia_size - inode->i_size);
127 ri->offset = cpu_to_je32(inode->i_size);
160 if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size)
163 if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) {
165 inode->i_size = iattr->ia_size;
166 inode->i_blocks = (inode->i_size + 511) >> 9;
182 We are protected from a simultaneous write() extending i_size
185 if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size) {
187 inode->i_blocks = (inode->i_size + 511) >> 9;
283 inode->i_size = je32_to_cpu(latest_node.isize);
290 inode->i_blocks = (inode->i_size + 511) >> 9;
481 inode->i_size = 0;