Home
last modified time | relevance | path

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

/Linux-v6.1/fs/cachefiles/
Dinterface.c113 uint64_t ni_size; in cachefiles_adjust_size() local
117 ni_size = object->cookie->object_size; in cachefiles_adjust_size()
118 ni_size = round_up(ni_size, CACHEFILES_DIO_BLOCK_SIZE); in cachefiles_adjust_size()
121 object->debug_id, (unsigned long long) ni_size); in cachefiles_adjust_size()
127 if (oi_size == ni_size) in cachefiles_adjust_size()
135 if (oi_size & ~PAGE_MASK && ni_size > oi_size) { in cachefiles_adjust_size()
148 newattrs.ia_size = ni_size; in cachefiles_adjust_size()
Dnamei.c446 uint64_t ni_size; in cachefiles_create_tmpfile() local
477 ni_size = object->cookie->object_size; in cachefiles_create_tmpfile()
478 ni_size = round_up(ni_size, CACHEFILES_DIO_BLOCK_SIZE); in cachefiles_create_tmpfile()
480 if (ni_size > 0) { in cachefiles_create_tmpfile()
481 trace_cachefiles_trunc(object, file_inode(file), 0, ni_size, in cachefiles_create_tmpfile()
485 ret = vfs_truncate(&file->f_path, ni_size); in cachefiles_create_tmpfile()