Lines Matching refs:new_size
1119 loff_t old_size = inode->i_size, new_size = attr->ia_size; in do_truncation() local
1120 int offset = new_size & (UBIFS_BLOCK_SIZE - 1), budgeted = 1; in do_truncation()
1123 dbg_gen("ino %lu, size %lld -> %lld", inode->i_ino, old_size, new_size); in do_truncation()
1131 if (new_size & (UBIFS_BLOCK_SIZE - 1)) in do_truncation()
1143 if (new_size || err != -ENOSPC) in do_truncation()
1148 truncate_setsize(inode, new_size); in do_truncation()
1151 pgoff_t index = new_size >> PAGE_SHIFT; in do_truncation()
1169 offset = new_size & in do_truncation()
1197 err = ubifs_jnl_truncate(c, inode, old_size, new_size); in do_truncation()
1224 loff_t new_size = attr->ia_size; in do_setattr() local
1234 dbg_gen("size %lld -> %lld", inode->i_size, new_size); in do_setattr()
1235 truncate_setsize(inode, new_size); in do_setattr()