Lines Matching refs:new_size
1110 loff_t old_size = inode->i_size, new_size = attr->ia_size; in do_truncation() local
1111 int offset = new_size & (UBIFS_BLOCK_SIZE - 1), budgeted = 1; in do_truncation()
1114 dbg_gen("ino %lu, size %lld -> %lld", inode->i_ino, old_size, new_size); in do_truncation()
1122 if (new_size & (UBIFS_BLOCK_SIZE - 1)) in do_truncation()
1134 if (new_size || err != -ENOSPC) in do_truncation()
1139 truncate_setsize(inode, new_size); in do_truncation()
1142 pgoff_t index = new_size >> PAGE_CACHE_SHIFT; in do_truncation()
1160 offset = new_size & in do_truncation()
1188 err = ubifs_jnl_truncate(c, inode, old_size, new_size); in do_truncation()
1215 loff_t new_size = attr->ia_size; in do_setattr() local
1225 dbg_gen("size %lld -> %lld", inode->i_size, new_size); in do_setattr()
1226 truncate_setsize(inode, new_size); in do_setattr()