Home
last modified time | relevance | path

Searched refs:curr_write (Results 1 – 1 of 1) sorted by relevance

/drivers/mtd/
Dmtdswap.c124 struct swap_eb *curr_write; member
282 struct swap_eb *curr_write = d->curr_write; in mtdswap_handle_write_error() local
285 if (curr_write == eb) { in mtdswap_handle_write_error()
286 d->curr_write = NULL; in mtdswap_handle_write_error()
509 if (eb == d->curr_write) in mtdswap_store_eb()
566 struct swap_eb *old_eb = d->curr_write; in mtdswap_map_free_block()
588 d->curr_write = eb; in mtdswap_map_free_block()
593 *block = (d->curr_write - d->eb_data) * d->pages_per_eblk + in mtdswap_map_free_block()
596 d->curr_write->active_count++; in mtdswap_map_free_block()
633 d->curr_write = NULL; in mtdswap_write_block()
[all …]