Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A Dmtdswap.c123 unsigned int curr_write_pos; member
288 if (!marked && d->curr_write_pos != 0) { in mtdswap_handle_write_error()
570 if (old_eb == NULL || d->curr_write_pos >= d->pages_per_eblk) { in mtdswap_map_free_block()
587 d->curr_write_pos = 0; in mtdswap_map_free_block()
594 d->curr_write_pos; in mtdswap_map_free_block()
598 d->curr_write_pos++; in mtdswap_map_free_block()
606 d->pages_per_eblk - d->curr_write_pos; in mtdswap_free_page_cnt()
645 d->curr_write_pos--; in mtdswap_write_block()
668 d->curr_write_pos--; in mtdswap_write_block()
1196 cwp = d->curr_write_pos; in mtdswap_show()