Searched refs:nBytes (Results 1 – 7 of 7) sorted by relevance
/fs/yaffs2/ |
D | yaffs_ecc.c | 251 void yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes, in yaffs_ECCCalculateOther() argument 261 for (i = 0; i < nBytes; i++) { in yaffs_ECCCalculateOther() 278 int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes, in yaffs_ECCCorrectOther() argument 307 if (lDelta >= nBytes) in yaffs_ECCCorrectOther()
|
D | yaffs_ecc.h | 39 void yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes, 41 int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes,
|
D | yaffs_checkptrw.h | 23 int yaffs_CheckpointWrite(yaffs_Device *dev, const void *data, int nBytes); 25 int yaffs_CheckpointRead(yaffs_Device *dev, void *data, int nBytes);
|
D | yaffs_checkptrw.c | 245 int yaffs_CheckpointWrite(yaffs_Device *dev, const void *data, int nBytes) in yaffs_CheckpointWrite() argument 261 while (i < nBytes && ok) { in yaffs_CheckpointWrite() 280 int yaffs_CheckpointRead(yaffs_Device *dev, void *data, int nBytes) in yaffs_CheckpointRead() argument 298 while (i < nBytes && ok) { in yaffs_CheckpointRead()
|
D | yaffs_guts.c | 886 int yaffs_CheckFF(__u8 *buffer, int nBytes) in yaffs_CheckFF() argument 889 while (nBytes--) { in yaffs_CheckFF() 2833 int nBytes = 0; in yaffs_CalcCheckpointBlocksRequired() local 2843 nBytes += sizeof(yaffs_CheckpointValidity); in yaffs_CalcCheckpointBlocksRequired() 2844 nBytes += sizeof(yaffs_CheckpointDevice); in yaffs_CalcCheckpointBlocksRequired() 2845 nBytes += devBlocks * sizeof(yaffs_BlockInfo); in yaffs_CalcCheckpointBlocksRequired() 2846 nBytes += devBlocks * dev->chunkBitmapStride; in yaffs_CalcCheckpointBlocksRequired() 2847 …nBytes += (sizeof(yaffs_CheckpointObject) + sizeof(__u32)) * (dev->nObjectsCreated - dev->nFreeObj… in yaffs_CalcCheckpointBlocksRequired() 2848 nBytes += (tnodeSize + sizeof(__u32)) * (dev->nTnodesCreated - dev->nFreeTnodes); in yaffs_CalcCheckpointBlocksRequired() 2849 nBytes += sizeof(yaffs_CheckpointValidity); in yaffs_CalcCheckpointBlocksRequired() [all …]
|
D | yaffs_guts.h | 120 int nBytes; /* Only valid if the cache is dirty */ member 836 int nBytes); 838 int nBytes, int writeThrough); 898 int yaffs_CheckFF(__u8 *buffer, int nBytes);
|
D | yaffs_fs.c | 680 unsigned nBytes; in yaffs_writepage() local 703 nBytes = PAGE_CACHE_SIZE; in yaffs_writepage() 705 nBytes = inode->i_size & (PAGE_CACHE_SIZE - 1); in yaffs_writepage() 716 (unsigned)(page->index << PAGE_CACHE_SHIFT), nBytes)); in yaffs_writepage() 722 page->index << PAGE_CACHE_SHIFT, nBytes, 0); in yaffs_writepage() 735 return (nWritten == nBytes) ? 0 : -ENOSPC; in yaffs_writepage() 854 int nBytes = to - offset; in yaffs_commit_write() local 867 saddr, spos, nBytes)); in yaffs_commit_write() 869 nWritten = yaffs_file_write(f, addr, nBytes, &pos); in yaffs_commit_write() 871 if (nWritten != nBytes) { in yaffs_commit_write() [all …]
|