Home
last modified time | relevance | path

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

/linux-6.1.9/fs/jffs2/
Dfile.c260 uint32_t writtenlen = 0; in jffs2_write_end() local
304 end - aligned_start, &writtenlen); in jffs2_write_end()
314 writtenlen -= min(writtenlen, (start - aligned_start)); in jffs2_write_end()
316 if (writtenlen) { in jffs2_write_end()
317 if (inode->i_size < pos + writtenlen) { in jffs2_write_end()
318 inode->i_size = pos + writtenlen; in jffs2_write_end()
327 if (start+writtenlen < end) { in jffs2_write_end()
338 __func__, writtenlen > 0 ? writtenlen : ret); in jffs2_write_end()
341 return writtenlen > 0 ? writtenlen : ret; in jffs2_write_end()
Dwrite.c345 uint32_t writtenlen = 0; in jffs2_write_inode_range() local
432 writtenlen += datalen; in jffs2_write_inode_range()
437 *retlen = writtenlen; in jffs2_write_inode_range()