Home
last modified time | relevance | path

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

/linux-2.6.39/fs/jffs2/
Dfile.c242 uint32_t writtenlen = 0; in jffs2_write_end() local
284 end - aligned_start, &writtenlen); in jffs2_write_end()
294 writtenlen -= min(writtenlen, (start - aligned_start)); in jffs2_write_end()
296 if (writtenlen) { in jffs2_write_end()
297 if (inode->i_size < pos + writtenlen) { in jffs2_write_end()
298 inode->i_size = pos + writtenlen; in jffs2_write_end()
307 if (start+writtenlen < end) { in jffs2_write_end()
317 writtenlen > 0 ? writtenlen : ret)); in jffs2_write_end()
320 return writtenlen > 0 ? writtenlen : ret; in jffs2_write_end()
Dwrite.c334 uint32_t writtenlen = 0; in jffs2_write_inode_range() local
418 writtenlen += datalen; in jffs2_write_inode_range()
423 *retlen = writtenlen; in jffs2_write_inode_range()