OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ramdisk
(Results
1 - 2
of
2
) sorted by null
/external/yaffs2/yaffs2/direct/
yaffs_flashif.c
55
static yflash_Device
ramdisk
;
variable
73
ramdisk
.nBlocks = (SIZE_IN_MB * 1024 * 1024)/(16 * 1024);
75
ramdisk
.block = YMALLOC(sizeof(yflash_Block *) *
ramdisk
.nBlocks);
77
if(!
ramdisk
.block) return 0;
79
for(i=0; i <
ramdisk
.nBlocks; i++)
81
ramdisk
.block[i] = NULL;
84
for(i=0; i <
ramdisk
.nBlocks && !fail; i++)
86
if((
ramdisk
.block[i] = YMALLOC(sizeof(yflash_Block))) == 0)
101
YFREE(
ramdisk
.block[i])
[
all
...]
yaffs_ramdisk.c
59
static yramdisk_Device
ramdisk
;
variable
78
ramdisk
.nBlocks = (SIZE_IN_MB * 1024 * 1024)/(16 * 1024);
80
ramdisk
.block = YMALLOC(sizeof(yramdisk_Block *) *
ramdisk
.nBlocks);
82
if(!
ramdisk
.block) return 0;
84
for(i=0; i <
ramdisk
.nBlocks; i++)
86
ramdisk
.block[i] = NULL;
89
for(i=0; i <
ramdisk
.nBlocks && !fail; i++)
91
if((
ramdisk
.block[i] = YMALLOC(sizeof(yramdisk_Block))) == 0)
106
YFREE(
ramdisk
.block[i])
[
all
...]
Completed in 33 milliseconds