Searched refs:BLOCKS_PER_HANDLE (Results 1 – 1 of 1) sorted by relevance
51 #define BLOCKS_PER_HANDLE 8000 macro85 requiredSize = BLOCKS_PER_HANDLE * BLOCK_SIZE; in GetBlockFileHandle()87 for(i = 0; i < BLOCKS_PER_HANDLE; i++) in GetBlockFileHandle()127 for(i = 0,blk = 0; blk < filedisk.nBlocks; blk+=BLOCKS_PER_HANDLE,i++) in CheckInit()154 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE; in yflash_WriteChunkWithTagsToNAND()155 h = filedisk.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))]; in yflash_WriteChunkWithTagsToNAND()170 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE + PAGE_DATA_SIZE ; in yflash_WriteChunkWithTagsToNAND()171 h = filedisk.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))]; in yflash_WriteChunkWithTagsToNAND()223 pos = (chunkInNAND % (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE)) * PAGE_SIZE; in yflash_ReadChunkWithTagsFromNAND()224 h = filedisk.handle[(chunkInNAND / (PAGES_PER_BLOCK * BLOCKS_PER_HANDLE))]; in yflash_ReadChunkWithTagsFromNAND()[all …]