Searched refs:erased_size (Results 1 – 2 of 2) sorted by relevance
510 jffs_sync_erase(struct jffs_fmcontrol *fmc, int erased_size) in jffs_sync_erase() argument520 fmc->dirty_size -= erased_size; in jffs_sync_erase()521 fmc->free_size += erased_size; in jffs_sync_erase()523 for (fm = fmc->head; fm && (erased_size > 0);) { in jffs_sync_erase()524 if (erased_size >= fm->size) { in jffs_sync_erase()525 erased_size -= fm->size; in jffs_sync_erase()533 fm->size -= erased_size; in jffs_sync_erase()534 fm->offset += erased_size; in jffs_sync_erase()
136 void jffs_sync_erase(struct jffs_fmcontrol *fmc, int erased_size);