Searched refs:nWritten (Results 1 – 2 of 2) sorted by relevance
555 int nWritten = 0; in yaffs_writepage() local599 nWritten = in yaffs_writepage()614 return (nWritten == nBytes) ? 0 : -ENOSPC; in yaffs_writepage()636 int nWritten; in yaffs_commit_write() local645 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 …]
576 int nWritten = -1; in yaffs_write() local603 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()