Searched refs:cache_data (Results 1 - 3 of 3) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/ |
H A D | mtdblock.c | 41 unsigned char *cache_data; member in struct:mtdblk_dev 127 mtdblk->cache_size, mtdblk->cache_data); 188 &retlen, mtdblk->cache_data); 200 memcpy (mtdblk->cache_data + offset, buf, size); 242 memcpy (buf, mtdblk->cache_data + offset, size); 270 if (unlikely(!mtdblk->cache_data && mtdblk->cache_size)) { 271 mtdblk->cache_data = vmalloc(mtdblk->mbd.mtd->erasesize); 272 if (!mtdblk->cache_data) 301 mtdblk->cache_data = NULL; 327 vfree(mtdblk->cache_data); [all...] |
H A D | sm_ftl.h | 50 unsigned char *cache_data; /* cached block data */ member in struct:sm_ftl
|
H A D | sm_ftl.c | 893 /*memset(ftl->cache_data, 0xAA, ftl->block_size);*/ 899 memcpy(ftl->cache_data + boffset, buffer, SM_SECTOR_SIZE); 911 memcpy(buffer, ftl->cache_data + boffset, SM_SECTOR_SIZE); 942 ftl->cache_data + sector_num * SM_SECTOR_SIZE, NULL)) 962 if (sm_write_block(ftl, ftl->cache_data, zone_num, write_sector, 1153 ftl->cache_data = kzalloc(ftl->block_size, GFP_KERNEL); 1155 if (!ftl->cache_data) 1203 kfree(ftl->cache_data); 1235 kfree(ftl->cache_data);
|
Completed in 58 milliseconds