Home
last modified time | relevance | path

Searched refs:YMALLOC (Results 1 – 9 of 9) sorted by relevance

/external/yaffs2/yaffs2/
Dyportenv.h57 #define YMALLOC(x) kmalloc(x,GFP_KERNEL) macro
61 #define YMALLOC_DMA(x) YMALLOC(x)
99 #define YMALLOC(x) malloc(x) macro
Dyaffs_guts.c216 return YMALLOC(dev->nDataBytesPerChunk); in yaffs_GetTempBuffer()
616 newTnodes = YMALLOC(nTnodes * tnodeSize); in yaffs_CreateTnodes()
662 tnl = YMALLOC(sizeof(yaffs_TnodeList)); in yaffs_CreateTnodes()
1308 newObjects = YMALLOC(nObjects * sizeof(yaffs_Object)); in yaffs_CreateFreeObjects()
1329 list = YMALLOC(sizeof(yaffs_ObjectList)); in yaffs_CreateFreeObjects()
1671 newStr = YMALLOC((yaffs_strlen(str) + 1) * sizeof(YCHAR)); in yaffs_CloneString()
1931 dev->blockInfo = YMALLOC(nBlocks * sizeof(yaffs_BlockInfo)); in yaffs_InitialiseBlocks()
1941 dev->chunkBits = YMALLOC(dev->chunkBitmapStride * nBlocks); in yaffs_InitialiseBlocks()
4689 blockIndex = YMALLOC(nBlocks * sizeof(yaffs_BlockIndex)); in yaffs_Scan()
5225 blockIndex = YMALLOC(nBlocks * sizeof(yaffs_BlockIndex)); in yaffs_ScanBackwards()
[all …]
Dyaffs_checkptrw.c167 dev->checkpointBlockList = YMALLOC(sizeof(int) * dev->checkpointMaxBlocks); in yaffs_CheckpointOpen()
Dyaffs_fs.c1654 dev->spareBuffer = YMALLOC(mtd->oobsize);
/external/yaffs2/yaffs2/direct/
Dyaffs_ramem2k.c138 ned.block = YMALLOC(sizeof(nandemul_Block*) * nBlocks ); in CheckInit()
151 if(!(blk = ned.block[i] = YMALLOC(sizeof(nandemul_Block)))) in CheckInit()
159 if((blk->page[j] = YMALLOC(sizeof(nandemul_Page))) == 0) in CheckInit()
Dyaffs_ramdisk.c80 ramdisk.block = YMALLOC(sizeof(yramdisk_Block *) * ramdisk.nBlocks); in CheckInit()
91 if((ramdisk.block[i] = YMALLOC(sizeof(yramdisk_Block))) == 0) in CheckInit()
Dyaffs_flashif.c75 ramdisk.block = YMALLOC(sizeof(yflash_Block *) * ramdisk.nBlocks); in CheckInit()
86 if((ramdisk.block[i] = YMALLOC(sizeof(yflash_Block))) == 0) in CheckInit()
Dydirectenv.h47 #define YMALLOC(x) malloc(x) macro
Dyaffsfs.c1271 dsc = YMALLOC(sizeof(yaffsfs_DirectorySearchContext)); in yaffs_opendir()