Lines Matching refs:new_size
1113 loff_t old_size = inode->i_size, new_size = attr->ia_size; in do_truncation() local
1114 int offset = new_size & (UBIFS_BLOCK_SIZE - 1), budgeted = 1; in do_truncation()
1117 dbg_gen("ino %lu, size %lld -> %lld", inode->i_ino, old_size, new_size); in do_truncation()
1125 if (new_size & (UBIFS_BLOCK_SIZE - 1)) in do_truncation()
1137 if (new_size || err != -ENOSPC) in do_truncation()
1142 truncate_setsize(inode, new_size); in do_truncation()
1145 pgoff_t index = new_size >> PAGE_SHIFT; in do_truncation()
1163 offset = new_size & in do_truncation()
1191 err = ubifs_jnl_truncate(c, inode, old_size, new_size); in do_truncation()
1218 loff_t new_size = attr->ia_size; in do_setattr() local
1228 dbg_gen("size %lld -> %lld", inode->i_size, new_size); in do_setattr()
1229 truncate_setsize(inode, new_size); in do_setattr()