Lines Matching refs:new_size
1117 loff_t old_size = inode->i_size, new_size = attr->ia_size; in do_truncation() local
1118 int offset = new_size & (UBIFS_BLOCK_SIZE - 1), budgeted = 1; in do_truncation()
1121 dbg_gen("ino %lu, size %lld -> %lld", inode->i_ino, old_size, new_size); in do_truncation()
1129 if (new_size & (UBIFS_BLOCK_SIZE - 1)) in do_truncation()
1141 if (new_size || err != -ENOSPC) in do_truncation()
1146 truncate_setsize(inode, new_size); in do_truncation()
1149 pgoff_t index = new_size >> PAGE_SHIFT; in do_truncation()
1167 offset = new_size & in do_truncation()
1195 err = ubifs_jnl_truncate(c, inode, old_size, new_size); in do_truncation()
1222 loff_t new_size = attr->ia_size; in do_setattr() local
1232 dbg_gen("size %lld -> %lld", inode->i_size, new_size); in do_setattr()
1233 truncate_setsize(inode, new_size); in do_setattr()