Searched refs:nextpage (Results 1 – 2 of 2) sorted by relevance
51 int nextpage; member103 cxt->nextpage++; in mtdoops_inc_counter()104 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_inc_counter()105 cxt->nextpage = 0; in mtdoops_inc_counter()110 if (page_is_used(cxt, cxt->nextpage)) { in mtdoops_inc_counter()116 cxt->nextpage, cxt->nextcount); in mtdoops_inc_counter()131 mod = (cxt->nextpage * record_size) % mtd->erasesize; in mtdoops_workfunc_erase()133 cxt->nextpage = cxt->nextpage + ((mtd->erasesize - mod) / record_size); in mtdoops_workfunc_erase()134 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_workfunc_erase()135 cxt->nextpage = 0; in mtdoops_workfunc_erase()[all …]
1234 unsigned long nextpage; in md_bitmap_daemon_work() local1292 nextpage = 0; in md_bitmap_daemon_work()1297 if (j == nextpage) { in md_bitmap_daemon_work()1298 nextpage += PAGE_COUNTER_RATIO; in md_bitmap_daemon_work()