Searched refs:ssfdc (Results 1 – 2 of 2) sorted by relevance
240 static int build_logical_block_map(struct ssfdcr_record *ssfdc) in build_logical_block_map() argument245 struct mtd_info *mtd = ssfdc->mbd.mtd; in build_logical_block_map()248 ssfdc->map_len, in build_logical_block_map()249 (unsigned long)ssfdc->map_len * ssfdc->erase_size / 1024); in build_logical_block_map()252 for (phys_block = ssfdc->cis_block + 1; phys_block < ssfdc->map_len; in build_logical_block_map()254 offset = (unsigned long)phys_block * ssfdc->erase_size; in build_logical_block_map()273 ssfdc->logic_block_map[block_address] = in build_logical_block_map()286 struct ssfdcr_record *ssfdc; in ssfdcr_add_mtd() local299 ssfdc = kzalloc(sizeof(struct ssfdcr_record), GFP_KERNEL); in ssfdcr_add_mtd()300 if (!ssfdc) in ssfdcr_add_mtd()[all …]
20 obj-$(CONFIG_SSFDC) += ssfdc.o