OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:chunkInNAND
(Results
1 - 18
of
18
) sorted by null
/external/yaffs2/yaffs2/direct/
yaffs_flashif.h
26
int yflash_WriteChunkToNAND(yaffs_Device *dev,int
chunkInNAND
,const __u8 *data, const yaffs_Spare *spare);
27
int yflash_WriteChunkWithTagsToNAND(yaffs_Device *dev,int
chunkInNAND
,const __u8 *data, yaffs_ExtendedTags *tags);
28
int yflash_ReadChunkFromNAND(yaffs_Device *dev,int
chunkInNAND
, __u8 *data, yaffs_Spare *spare);
29
int yflash_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int
chunkInNAND
, __u8 *data, yaffs_ExtendedTags *tags);
yaffs_ramdisk.h
26
int yramdisk_WriteChunkWithTagsToNAND(yaffs_Device *dev,int
chunkInNAND
,const __u8 *data, yaffs_ExtendedTags *tags);
27
int yramdisk_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int
chunkInNAND
, __u8 *data, yaffs_ExtendedTags *tags);
yaffs_ramdisk.c
119
int yramdisk_WriteChunkWithTagsToNAND(yaffs_Device *dev,int
chunkInNAND
,const __u8 *data, yaffs_ExtendedTags *tags)
127
blk =
chunkInNAND
/32;
128
pg =
chunkInNAND
%32;
150
int yramdisk_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int
chunkInNAND
, __u8 *data, yaffs_ExtendedTags *tags)
158
blk =
chunkInNAND
/32;
159
pg =
chunkInNAND
%32;
181
int yramdisk_CheckChunkErased(yaffs_Device *dev,int
chunkInNAND
)
190
blk =
chunkInNAND
/32;
191
pg =
chunkInNAND
%32;
yaffs_flashif.c
115
int yflash_WriteChunkWithTagsToNAND(yaffs_Device *dev,int
chunkInNAND
,const __u8 *data, yaffs_ExtendedTags *tags)
123
blk =
chunkInNAND
/32;
124
pg =
chunkInNAND
%32;
145
int yflash_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int
chunkInNAND
, __u8 *data, yaffs_Tags *tags)
153
blk =
chunkInNAND
/32;
154
pg =
chunkInNAND
%32;
174
int yflash_CheckChunkErased(yaffs_Device *dev,int
chunkInNAND
)
183
blk =
chunkInNAND
/32;
184
pg =
chunkInNAND
%32;
yaffs_fileem.c
119
int yflash_WriteChunkToNAND(yaffs_Device *dev,int
chunkInNAND
,const __u8 *data, const yaffs_Spare *spare)
129
lseek(filedisk.handle,
chunkInNAND
* 528,SEEK_SET);
137
lseek(filedisk.handle,
chunkInNAND
* 528 + 512,SEEK_SET);
149
int yflash_ReadChunkFromNAND(yaffs_Device *dev,int
chunkInNAND
, __u8 *data, yaffs_Spare *spare)
159
lseek(filedisk.handle,
chunkInNAND
* 528,SEEK_SET);
167
lseek(filedisk.handle,
chunkInNAND
* 528 + 512,SEEK_SET);
yaffs_fileem2k.c
142
int yflash_WriteChunkWithTagsToNAND(yaffs_Device *dev,int
chunkInNAND
,const __u8 *data, yaffs_ExtendedTags *tags)
154
pos = (
chunkInNAND
% (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE;
155
h = filedisk.handle[(
chunkInNAND
/ (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))];
170
pos = (
chunkInNAND
% (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE + PAGE_DATA_SIZE ;
171
h = filedisk.handle[(
chunkInNAND
/ (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))];
210
int yflash_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int
chunkInNAND
, __u8 *data, yaffs_ExtendedTags *tags)
223
pos = (
chunkInNAND
% (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE;
224
h = filedisk.handle[(
chunkInNAND
/ (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))];
233
pos = (
chunkInNAND
% (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE + PAGE_DATA_SIZE;
234
h = filedisk.handle[(
chunkInNAND
/ (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))];
[
all
...]
yaffs_ramem2k.c
192
int nandemul2k_WriteChunkWithTagsToNAND(yaffs_Device *dev,int
chunkInNAND
,const __u8 *data, yaffs_ExtendedTags *tags)
201
blk =
chunkInNAND
/PAGES_PER_BLOCK;
202
pg =
chunkInNAND
%PAGES_PER_BLOCK;
235
int nandemul2k_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int
chunkInNAND
, __u8 *data, yaffs_ExtendedTags *tags)
244
blk =
chunkInNAND
/PAGES_PER_BLOCK;
245
pg =
chunkInNAND
%PAGES_PER_BLOCK;
265
static int nandemul2k_CheckChunkErased(yaffs_Device *dev,int
chunkInNAND
)
273
blk =
chunkInNAND
/PAGES_PER_BLOCK;
274
pg =
chunkInNAND
%PAGES_PER_BLOCK;
/external/yaffs2/yaffs2/
yaffs_mtdif.h
25
int nandmtd_WriteChunkToNAND(yaffs_Device * dev, int
chunkInNAND
,
27
int nandmtd_ReadChunkFromNAND(yaffs_Device * dev, int
chunkInNAND
, __u8 * data,
yaffs_mtdif2.h
20
int nandmtd2_WriteChunkWithTagsToNAND(yaffs_Device * dev, int
chunkInNAND
,
23
int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int
chunkInNAND
,
yaffs_tagscompat.h
25
int
chunkInNAND
,
30
int
chunkInNAND
,
yaffs_nand.h
21
int yaffs_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int
chunkInNAND
,
26
int
chunkInNAND
,
yaffs_nandemul2k.h
27
int
chunkInNAND
, const __u8 * data,
30
int
chunkInNAND
, __u8 * data,
yaffs_tagscompat.c
20
static void yaffs_HandleReadDataError(yaffs_Device * dev, int
chunkInNAND
);
22
static void yaffs_CheckWrittenBlock(yaffs_Device * dev, int
chunkInNAND
);
23
static void yaffs_HandleWriteChunkOk(yaffs_Device * dev, int
chunkInNAND
,
26
static void yaffs_HandleUpdateChunk(yaffs_Device * dev, int
chunkInNAND
,
28
static void yaffs_HandleWriteChunkError(yaffs_Device * dev, int
chunkInNAND
);
166
int
chunkInNAND
, const __u8 * data,
169
if (
chunkInNAND
< dev->startBlock * dev->nChunksPerBlock) {
172
chunkInNAND
));
177
return dev->writeChunkToNAND(dev,
chunkInNAND
, data, spare);
181
int
chunkInNAND
,
[
all
...]
yaffs_nand.c
23
int yaffs_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int
chunkInNAND
,
30
int realignedChunkInNAND =
chunkInNAND
- dev->chunkOffset;
47
yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev,
chunkInNAND
/dev->nChunksPerBlock);
55
int
chunkInNAND
,
59
chunkInNAND
-= dev->chunkOffset;
71
(TSTR("Writing chunk %d tags %d %d" TENDSTR),
chunkInNAND
,
79
return dev->writeChunkWithTagsToNAND(dev,
chunkInNAND
, buffer,
83
chunkInNAND
,
yaffs_mtdif2.c
119
int nandmtd2_WriteChunkWithTagsToNAND(yaffs_Device * dev, int
chunkInNAND
,
131
loff_t addr = ((loff_t)
chunkInNAND
) * dev->nDataBytesPerChunk;
138
TENDSTR),
chunkInNAND
, data, tags));
180
int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int
chunkInNAND
,
190
loff_t addr = ((loff_t)
chunkInNAND
) * dev->nDataBytesPerChunk;
197
TENDSTR),
chunkInNAND
, data, tags));
yaffs_mtdif.c
74
int nandmtd_WriteChunkToNAND(yaffs_Device * dev, int
chunkInNAND
,
84
loff_t addr = ((loff_t)
chunkInNAND
) * dev->nDataBytesPerChunk;
138
int nandmtd_ReadChunkFromNAND(yaffs_Device * dev, int
chunkInNAND
, __u8 * data,
148
loff_t addr = ((loff_t)
chunkInNAND
) * dev->nDataBytesPerChunk;
yaffs_guts.h
566
int
chunkInNAND
, const __u8 * data,
569
int
chunkInNAND
, __u8 * data,
577
int
chunkInNAND
, const __u8 * data,
580
int
chunkInNAND
, __u8 * data,
yaffs_guts.c
48
static void yaffs_HandleWriteChunkError(yaffs_Device * dev, int
chunkInNAND
, int erasedOk);
49
static void yaffs_HandleWriteChunkOk(yaffs_Device * dev, int
chunkInNAND
,
52
static void yaffs_HandleUpdateChunk(yaffs_Device * dev, int
chunkInNAND
,
66
int
chunkInNAND
, int inScan);
87
int
chunkInNAND
);
364
int
chunkInNAND
)
372
result = yaffs_ReadChunkWithTagsFromNAND(dev,
chunkInNAND
, data, &tags);
380
(TSTR("Chunk %d not erased" TENDSTR),
chunkInNAND
));
503
static void yaffs_HandleWriteChunkOk(yaffs_Device * dev, int
chunkInNAND
,
509
static void yaffs_HandleUpdateChunk(yaffs_Device * dev, int
chunkInNAND
,
[
all
...]
Completed in 72 milliseconds