Lines Matching refs:new_size
1111 loff_t old_size = inode->i_size, new_size = attr->ia_size; in do_truncation() local
1112 int offset = new_size & (UBIFS_BLOCK_SIZE - 1), budgeted = 1; in do_truncation()
1115 dbg_gen("ino %lu, size %lld -> %lld", inode->i_ino, old_size, new_size); in do_truncation()
1123 if (new_size & (UBIFS_BLOCK_SIZE - 1)) in do_truncation()
1135 if (new_size || err != -ENOSPC) in do_truncation()
1140 truncate_setsize(inode, new_size); in do_truncation()
1143 pgoff_t index = new_size >> PAGE_CACHE_SHIFT; in do_truncation()
1161 offset = new_size & in do_truncation()
1189 err = ubifs_jnl_truncate(c, inode, old_size, new_size); in do_truncation()
1216 loff_t new_size = attr->ia_size; in do_setattr() local
1226 dbg_gen("size %lld -> %lld", inode->i_size, new_size); in do_setattr()
1227 truncate_setsize(inode, new_size); in do_setattr()