Searched refs:sector_map (Results 1 – 2 of 2) sorted by relevance
87 u_long *sector_map; member131 if (part->sector_map[entry] != -1) { in build_block_map()139 part->sector_map[entry] = block->offset + in build_block_map()193 part->sector_map = vmalloc(array_size(sizeof(u_long), in scan_header()195 if (!part->sector_map) in scan_header()199 part->sector_map[i] = -1; in scan_header()233 vfree(part->sector_map); in scan_header()250 addr = part->sector_map[sector]; in rfd_ftl_readsect()642 part->sector_map[sector] = addr; in do_writesect()686 old_addr = part->sector_map[sector]; in rfd_ftl_writesect()[all …]
929 const u32 *sector_map; in spi_nor_parse_smpt() local949 sector_map = spi_nor_get_map_in_use(nor, smpt, smpt_header->length); in spi_nor_parse_smpt()950 if (IS_ERR(sector_map)) { in spi_nor_parse_smpt()951 ret = PTR_ERR(sector_map); in spi_nor_parse_smpt()955 ret = spi_nor_init_non_uniform_erase_map(nor, sector_map); in spi_nor_parse_smpt()