Home
last modified time | relevance | path

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

/external/yaffs2/yaffs2/
Dyaffs_fs.c555 int nWritten = 0; in yaffs_writepage() local
599 nWritten = in yaffs_writepage()
614 return (nWritten == nBytes) ? 0 : -ENOSPC; in yaffs_writepage()
636 int nWritten; in yaffs_commit_write() local
645 nWritten = yaffs_file_write(f, addr, nBytes, &pos); in yaffs_commit_write()
647 if (nWritten != nBytes) { in yaffs_commit_write()
651 nWritten, nBytes)); in yaffs_commit_write()
660 nWritten == nBytes ? 0 : nWritten)); in yaffs_commit_write()
662 return nWritten == nBytes ? 0 : nWritten; in yaffs_commit_write()
804 int nWritten, ipos; in yaffs_file_write() local
[all …]
/external/yaffs2/yaffs2/direct/
Dyaffsfs.c576 int nWritten = -1; in yaffs_write() local
603 nWritten = yaffs_WriteDataToFile(obj,buf,pos,nbyte,writeThrough); in yaffs_write()
605 if(nWritten >= 0) in yaffs_write()
607 h->position = pos + nWritten; in yaffs_write()
619 return (nWritten >= 0) ? nWritten : -1; in yaffs_write()