Home
last modified time | relevance | path

Searched refs:dio_size (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/fs/cachefiles/
Dinterface.c232 loff_t i_size, dio_size; in cachefiles_shorten_object() local
235 dio_size = round_up(new_size, CACHEFILES_DIO_BLOCK_SIZE); in cachefiles_shorten_object()
238 trace_cachefiles_trunc(object, inode, i_size, dio_size, in cachefiles_shorten_object()
242 ret = vfs_truncate(&file->f_path, dio_size); in cachefiles_shorten_object()
251 if (new_size < dio_size) { in cachefiles_shorten_object()
252 trace_cachefiles_trunc(object, inode, dio_size, new_size, in cachefiles_shorten_object()
257 new_size, dio_size - new_size); in cachefiles_shorten_object()