/external/yaffs2/yaffs2/direct/ |
D | yaffs_ramem2k.c | 72 int nBlocks; member 95 if(blockNumber < 0 || blockNumber >= ned.nBlocks) in nandemul_ReallyEraseBlock() 125 int nBlocks; in CheckInit() local 135 ned.nBlocks = nBlocks = nandemul2k_CalcNBlocks(); in CheckInit() 138 ned.block = YMALLOC(sizeof(nandemul_Block*) * nBlocks ); in CheckInit() 146 for(i=fail=0; i <nBlocks; i++) in CheckInit() 185 ned.nBlocks = nBlocks; in CheckInit() 293 if(blockNumber < 0 || blockNumber >= ned.nBlocks) in nandemul2k_EraseBlockInNAND()
|
D | yaffs_ramdisk.c | 56 int nBlocks; member 78 ramdisk.nBlocks = (SIZE_IN_MB * 1024 * 1024)/(16 * 1024); in CheckInit() 80 ramdisk.block = YMALLOC(sizeof(yramdisk_Block *) * ramdisk.nBlocks); in CheckInit() 84 for(i=0; i <ramdisk.nBlocks; i++) in CheckInit() 89 for(i=0; i <ramdisk.nBlocks && !fail; i++) in CheckInit() 111 nAllocated/64,ramdisk.nBlocks * 528)); in CheckInit() 211 if(blockNumber < 0 || blockNumber >= ramdisk.nBlocks) in yramdisk_EraseBlockInNAND()
|
D | yaffs_flashif.c | 52 int nBlocks; member 73 ramdisk.nBlocks = (SIZE_IN_MB * 1024 * 1024)/(16 * 1024); in CheckInit() 75 ramdisk.block = YMALLOC(sizeof(yflash_Block *) * ramdisk.nBlocks); in CheckInit() 79 for(i=0; i <ramdisk.nBlocks; i++) in CheckInit() 84 for(i=0; i <ramdisk.nBlocks && !fail; i++) in CheckInit() 106 nAllocated/64,ramdisk.nBlocks * YAFFS_BYTES_PER_BLOCK)); in CheckInit() 204 if(blockNumber < 0 || blockNumber >= ramdisk.nBlocks) in yflash_EraseBlockInNAND()
|
D | yaffs_fileem2k.c | 56 int nBlocks; member 122 filedisk.nBlocks = SIZE_IN_MB * BLOCKS_PER_MB; in CheckInit() 127 for(i = 0,blk = 0; blk < filedisk.nBlocks; blk+=BLOCKS_PER_HANDLE,i++) in CheckInit() 139 return filedisk.nBlocks; in yflash_GetNumberOfBlocks() 310 if(blockNumber < 0 || blockNumber >= filedisk.nBlocks) in yflash_EraseBlockInNAND()
|
D | yaffs_fileem.c | 58 int nBlocks; member 83 filedisk.nBlocks = (SIZE_IN_MB * 1024 * 1024)/(16 * 1024); in CheckInit() 186 if(blockNumber < 0 || blockNumber >= filedisk.nBlocks) in yflash_EraseBlockInNAND()
|
/external/yaffs2/yaffs2/mtdemul/ |
D | nandemul2k.c | 84 int nBlocks; member 136 if(blockNumber < 0 || blockNumber >= ned.nBlocks) in nandemul2k_DoErase() 166 int nBlocks; in CheckInit() local 176 ned.nBlocks = nBlocks = nandemul2k_CalcNBlocks(); in CheckInit() 179 ned.block = ALLOCATE(sizeof(nandemul_Block*) * nBlocks ); in CheckInit() 187 for(i=fail=0; i <nBlocks; i++) in CheckInit() 224 ned.nBlocks = nBlocks; in CheckInit() 237 for(i = 0; i < ned.nBlocks; i++) in nandemul2k_CleanUp() 534 int i, nBlocks,block; in nand_erase() local 561 nBlocks = instr->len >> (NAND_SHIFT + BLK_SHIFT); in nand_erase() [all …]
|
/external/yaffs2/yaffs2/ |
D | yaffsinterface.h | 21 int yaffs_Initialise(unsigned nBlocks);
|
D | yaffs_guts.c | 1926 int nBlocks = dev->internalEndBlock - dev->internalStartBlock + 1; in yaffs_InitialiseBlocks() local 1931 dev->blockInfo = YMALLOC(nBlocks * sizeof(yaffs_BlockInfo)); in yaffs_InitialiseBlocks() 1933 dev->blockInfo = YMALLOC_ALT(nBlocks * sizeof(yaffs_BlockInfo)); in yaffs_InitialiseBlocks() 1941 dev->chunkBits = YMALLOC(dev->chunkBitmapStride * nBlocks); in yaffs_InitialiseBlocks() 1943 dev->chunkBits = YMALLOC_ALT(dev->chunkBitmapStride * nBlocks); in yaffs_InitialiseBlocks() 1950 memset(dev->blockInfo, 0, nBlocks * sizeof(yaffs_BlockInfo)); in yaffs_InitialiseBlocks() 1951 memset(dev->chunkBits, 0, dev->chunkBitmapStride * nBlocks); in yaffs_InitialiseBlocks() 3489 __u32 nBlocks = (dev->internalEndBlock - dev->internalStartBlock + 1); in yaffs_WriteCheckpointDevice() local 3501 nBytes = nBlocks * sizeof(yaffs_BlockInfo); in yaffs_WriteCheckpointDevice() 3507 nBytes = nBlocks * dev->chunkBitmapStride; in yaffs_WriteCheckpointDevice() [all …]
|
D | yaffs_fs.c | 1455 int nBlocks; local 1638 nBlocks = mtd->size / (YAFFS_CHUNKS_PER_BLOCK * YAFFS_BYTES_PER_CHUNK); 1640 dev->endBlock = nBlocks - 1; 1663 nBlocks = mtd->size / mtd->erasesize; 1667 dev->endBlock = nBlocks - 1; 1703 for(i = 0; i < nBlocks; i++)
|
/external/valgrind/main/coregrind/m_debuginfo/ |
D | readpdb.c | 995 unsigned blocksize, nBlocks; in pdb_ds_read() local 1007 nBlocks = (size + blocksize - 1) / blocksize; in pdb_ds_read() 1008 buffer = ML_(dinfo_zalloc)("di.readpe.pdr.1", nBlocks * blocksize); in pdb_ds_read() 1009 for (i = 0; i < nBlocks; i++) in pdb_ds_read() 1021 unsigned blocksize, nBlocks; in pdb_jg_read() local 1028 nBlocks = (size + blocksize-1) / blocksize; in pdb_jg_read() 1029 buffer = ML_(dinfo_zalloc)("di.readpe.pjr.1", nBlocks * blocksize); in pdb_jg_read() 1030 for ( i = 0; i < nBlocks; i++ ) in pdb_jg_read()
|
/external/valgrind/main/coregrind/ |
D | m_mallocfree.c | 1135 typedef struct { ULong nBytes; ULong nBlocks; HChar* cc; } AnCC; member 1211 anCCs[k].nBlocks = 0; in cc_analyse_alloc_arena() 1217 anCCs[k].nBlocks++; in cc_analyse_alloc_arena() 1230 anCCs[k].nBytes, anCCs[k].nBlocks, anCCs[k].cc ); in cc_analyse_alloc_arena()
|
/external/valgrind/main/memcheck/ |
D | mc_include.h | 376 /*OUT*/UWord* nBlocks );
|
D | mc_main.c | 4927 /*OUT*/UWord* nBlocks ) in MC_() 4930 *nBlocks = cgb_used; in MC_()
|
/external/valgrind/main/exp-ptrcheck/ |
D | sg_main.c | 1465 Word i, nBlocks = VG_(sizeXA)( thisInstrBlocks ); in classify_address() local 1466 if (nBlocks == 0) stats__t_i_b_empty++; in classify_address() 1467 for (i = 0; i < nBlocks; i++) { in classify_address()
|