Searched refs:dio_size (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/cachefiles/ |
H A D | interface.c | 237 loff_t i_size, dio_size; in cachefiles_shorten_object() local 240 dio_size = round_up(new_size, CACHEFILES_DIO_BLOCK_SIZE); in cachefiles_shorten_object() 243 trace_cachefiles_trunc(object, inode, i_size, dio_size, in cachefiles_shorten_object() 247 ret = vfs_truncate(&file->f_path, dio_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()
|