Searched refs:YMALLOC (Results 1 – 9 of 9) sorted by relevance
57 #define YMALLOC(x) kmalloc(x,GFP_KERNEL) macro61 #define YMALLOC_DMA(x) YMALLOC(x)99 #define YMALLOC(x) malloc(x) macro
216 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 …]
167 dev->checkpointBlockList = YMALLOC(sizeof(int) * dev->checkpointMaxBlocks); in yaffs_CheckpointOpen()
1654 dev->spareBuffer = YMALLOC(mtd->oobsize);
138 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()
80 ramdisk.block = YMALLOC(sizeof(yramdisk_Block *) * ramdisk.nBlocks); in CheckInit()91 if((ramdisk.block[i] = YMALLOC(sizeof(yramdisk_Block))) == 0) in CheckInit()
75 ramdisk.block = YMALLOC(sizeof(yflash_Block *) * ramdisk.nBlocks); in CheckInit()86 if((ramdisk.block[i] = YMALLOC(sizeof(yflash_Block))) == 0) in CheckInit()
47 #define YMALLOC(x) malloc(x) macro
1271 dsc = YMALLOC(sizeof(yaffsfs_DirectorySearchContext)); in yaffs_opendir()