Home
last modified time | relevance | path

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

/openbmc/linux/fs/cachefiles/
H A Dinterface.c118 uint64_t ni_size; in cachefiles_adjust_size() local
122 ni_size = object->cookie->object_size; in cachefiles_adjust_size()
123 ni_size = round_up(ni_size, CACHEFILES_DIO_BLOCK_SIZE); in cachefiles_adjust_size()
126 object->debug_id, (unsigned long long) ni_size); in cachefiles_adjust_size()
132 if (oi_size == ni_size) in cachefiles_adjust_size()
140 if (oi_size & ~PAGE_MASK && ni_size > oi_size) { in cachefiles_adjust_size()
153 newattrs.ia_size = ni_size; in cachefiles_adjust_size()
H A Dnamei.c446 uint64_t ni_size; in cachefiles_create_tmpfile() local
478 ni_size = object->cookie->object_size; in cachefiles_create_tmpfile()
479 ni_size = round_up(ni_size, CACHEFILES_DIO_BLOCK_SIZE); in cachefiles_create_tmpfile()
481 if (ni_size > 0) { in cachefiles_create_tmpfile()
482 trace_cachefiles_trunc(object, file_inode(file), 0, ni_size, in cachefiles_create_tmpfile()
486 ret = vfs_truncate(&file->f_path, ni_size); in cachefiles_create_tmpfile()