Lines Matching refs:new_size
233 struct file *file, loff_t new_size) in cachefiles_shorten_object() argument
240 dio_size = round_up(new_size, CACHEFILES_DIO_BLOCK_SIZE); in cachefiles_shorten_object()
256 if (new_size < dio_size) { in cachefiles_shorten_object()
257 trace_cachefiles_trunc(object, inode, dio_size, new_size, in cachefiles_shorten_object()
262 new_size, dio_size - new_size); in cachefiles_shorten_object()
279 loff_t new_size) in cachefiles_resize_cookie() argument
288 _enter("%llu->%llu", old_size, new_size); in cachefiles_resize_cookie()
290 if (new_size < old_size) { in cachefiles_resize_cookie()
292 cachefiles_shorten_object(object, file, new_size); in cachefiles_resize_cookie()
294 object->cookie->object_size = new_size; in cachefiles_resize_cookie()
302 cookie->object_size = new_size; in cachefiles_resize_cookie()