OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PAGES_PER_BLOCK
(Results
1 - 4
of
4
) sorted by null
/external/yaffs2/yaffs2/direct/
yaffs_fileem2k.h
25
#define
PAGES_PER_BLOCK
(64)
26
#define BLOCK_DATA_SIZE (PAGE_DATA_SIZE *
PAGES_PER_BLOCK
)
27
#define BLOCK_SIZE (
PAGES_PER_BLOCK
* (PAGE_SIZE))
37
#define
PAGES_PER_BLOCK
(32)
38
#define BLOCK_DATA_SIZE (PAGE_SIZE *
PAGES_PER_BLOCK
)
39
#define BLOCK_SIZE (
PAGES_PER_BLOCK
* (PAGE_SIZE))
yaffs_ramem2k.c
41
#define
PAGES_PER_BLOCK
(64)
49
#define BLOCK_TOTAL_SIZE (
PAGES_PER_BLOCK
* PAGE_TOTAL_SIZE)
51
#define BLOCKS_PER_MEG ((1<<20)/(
PAGES_PER_BLOCK
* PAGE_DATA_SIZE))
63
nandemul_Page *page[
PAGES_PER_BLOCK
];
102
for(i = 0; i <
PAGES_PER_BLOCK
; i++)
157
for(j = 0; j <
PAGES_PER_BLOCK
; j++)
201
blk = chunkInNAND/
PAGES_PER_BLOCK
;
202
pg = chunkInNAND%
PAGES_PER_BLOCK
;
244
blk = chunkInNAND/
PAGES_PER_BLOCK
;
245
pg = chunkInNAND%
PAGES_PER_BLOCK
;
[
all
...]
yaffs_fileem2k.c
44
yflash_Page page[
PAGES_PER_BLOCK
]; // The pages in the block
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))];
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))];
/external/yaffs2/yaffs2/mtdemul/
nandemul2k.c
51
#define
PAGES_PER_BLOCK
(1 << BLK_SHIFT) // = 64
59
#define BLOCK_TOTAL_SIZE (
PAGES_PER_BLOCK
* PAGE_TOTAL_SIZE)
61
#define BLOCKS_PER_MEG ((1<<20)/(
PAGES_PER_BLOCK
* PAGE_DATA_SIZE))
75
nandemul_Page *page[
PAGES_PER_BLOCK
];
103
int pg = page%
PAGES_PER_BLOCK
;
104
int blk = page/
PAGES_PER_BLOCK
;
114
int pg = page%
PAGES_PER_BLOCK
;
115
int blk = page/
PAGES_PER_BLOCK
;
143
for(i = 0; i <
PAGES_PER_BLOCK
; i++)
198
for(j = 0; j <
PAGES_PER_BLOCK
; j++
[
all
...]
Completed in 383 milliseconds