Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/mtd/
Dmtdoops.c51 int nextpage; member
104 cxt->nextpage++; in mtdoops_inc_counter()
105 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_inc_counter()
106 cxt->nextpage = 0; in mtdoops_inc_counter()
111 if (page_is_used(cxt, cxt->nextpage)) { in mtdoops_inc_counter()
117 cxt->nextpage, cxt->nextcount); in mtdoops_inc_counter()
132 mod = (cxt->nextpage * record_size) % mtd->erasesize; in mtdoops_workfunc_erase()
134 cxt->nextpage = cxt->nextpage + ((mtd->erasesize - mod) / record_size); in mtdoops_workfunc_erase()
135 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_workfunc_erase()
136 cxt->nextpage = 0; in mtdoops_workfunc_erase()
[all …]
/Linux-v5.15/drivers/md/
Dmd-bitmap.c1229 unsigned long nextpage; in md_bitmap_daemon_work() local
1287 nextpage = 0; in md_bitmap_daemon_work()
1292 if (j == nextpage) { in md_bitmap_daemon_work()
1293 nextpage += PAGE_COUNTER_RATIO; in md_bitmap_daemon_work()