Home
last modified time | relevance | path

Searched refs:YAFFS_FAIL (Results 1 – 12 of 12) sorted by relevance

/external/yaffs2/yaffs2/direct/
Dyaffs_fileem.c90 return YAFFS_FAIL; in CheckInit()
111 return YAFFS_FAIL; in CheckInit()
132 if(written != 512) return YAFFS_FAIL; in yflash_WriteChunkToNAND()
140 if(written != 16) return YAFFS_FAIL; in yflash_WriteChunkToNAND()
162 if(nread != 512) return YAFFS_FAIL; in yflash_ReadChunkFromNAND()
170 if(nread != 16) return YAFFS_FAIL; in yflash_ReadChunkFromNAND()
189 return YAFFS_FAIL; in yflash_EraseBlockInNAND()
Dyaffs_fileem2k.c165 if(written != dev->nDataBytesPerChunk) return YAFFS_FAIL; in yflash_WriteChunkWithTagsToNAND()
178 if(written != sizeof(yaffs_ExtendedTags)) return YAFFS_FAIL; in yflash_WriteChunkWithTagsToNAND()
186 if(written != sizeof(pt)) return YAFFS_FAIL; in yflash_WriteChunkWithTagsToNAND()
228 if(nread != dev->nDataBytesPerChunk) return YAFFS_FAIL; in yflash_ReadChunkWithTagsFromNAND()
240 if(nread != sizeof(yaffs_ExtendedTags)) return YAFFS_FAIL; in yflash_ReadChunkWithTagsFromNAND()
268 if(nread != sizeof(pt)) return YAFFS_FAIL; in yflash_ReadChunkWithTagsFromNAND()
292 if(written != sizeof(pt)) return YAFFS_FAIL; in yflash_MarkNANDBlockBad()
313 return YAFFS_FAIL; in yflash_EraseBlockInNAND()
Dyaffs_ramdisk.c198 return YAFFS_FAIL; in yramdisk_CheckChunkErased()
214 return YAFFS_FAIL; in yramdisk_EraseBlockInNAND()
Dyaffs_flashif.c191 return YAFFS_FAIL; in yflash_CheckChunkErased()
207 return YAFFS_FAIL; in yflash_EraseBlockInNAND()
Dyaffsfs.c710 int result = YAFFS_FAIL; in yaffsfs_DoUnlink()
740 if(result == YAFFS_FAIL && isDirectory) in yaffsfs_DoUnlink()
750 return (result == YAFFS_FAIL) ? -1 : 0; in yaffsfs_DoUnlink()
769 int result= YAFFS_FAIL; in yaffs_rename()
817 return (result == YAFFS_FAIL) ? -1 : 0; in yaffs_rename()
1028 int result=YAFFS_FAIL; in yaffs_mount()
1041 if(result == YAFFS_FAIL) in yaffs_mount()
Dyaffs_ramem2k.c140 if(!ned.block) return YAFFS_FAIL; in CheckInit()
281 return YAFFS_FAIL; in nandemul2k_CheckChunkErased()
/external/yaffs2/yaffs2/
Dyaffs_mtdif2.c177 return YAFFS_FAIL; in nandmtd2_WriteChunkWithTagsToNAND()
248 return YAFFS_FAIL;
266 return YAFFS_FAIL;
311 return YAFFS_FAIL;
Dyaffs_mtdif.c135 return YAFFS_FAIL; in nandmtd_WriteChunkToNAND()
205 return YAFFS_FAIL; in nandmtd_ReadChunkFromNAND()
234 return YAFFS_FAIL; in nandmtd_EraseBlockInNAND()
Dyaffs_tagscompat.c173 return YAFFS_FAIL; in yaffs_WriteChunkToNAND()
323 return YAFFS_FAIL; in yaffs_CheckChunkErased()
325 return YAFFS_FAIL; in yaffs_CheckChunkErased()
478 return YAFFS_FAIL; in yaffs_TagsCompatabilityReadChunkWithTagsFromNAND()
Dyaffs_guts.c375 retval = YAFFS_FAIL; in yaffs_CheckChunkErased()
381 retval = YAFFS_FAIL; in yaffs_CheckChunkErased()
622 return YAFFS_FAIL; in yaffs_CreateTnodes()
1313 return YAFFS_FAIL; in yaffs_CreateFreeObjects()
1867 return YAFFS_FAIL; in yaffs_ChangeObjectName()
1892 return YAFFS_FAIL; in yaffs_RenameObject()
1896 return YAFFS_FAIL; in yaffs_RenameObject()
1907 return YAFFS_FAIL; /* EEXIST or ENOTEMPTY */ in yaffs_RenameObject()
1919 return YAFFS_FAIL; in yaffs_RenameObject()
1955 return YAFFS_FAIL; in yaffs_InitialiseBlocks()
[all …]
Dyaffs_guts.h27 #define YAFFS_FAIL 0 macro
Dyaffs_fs.c1199 int retVal = YAFFS_FAIL; in yaffs_rename()
1220 retVal = YAFFS_FAIL; in yaffs_rename()