Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/
Dmtdoops.c65 int nextpage; member
117 cxt->nextpage++; in mtdoops_inc_counter()
118 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_inc_counter()
119 cxt->nextpage = 0; in mtdoops_inc_counter()
124 if (page_is_used(cxt, cxt->nextpage)) { in mtdoops_inc_counter()
130 cxt->nextpage, cxt->nextcount); in mtdoops_inc_counter()
145 mod = (cxt->nextpage * record_size) % mtd->erasesize; in mtdoops_workfunc_erase()
147 cxt->nextpage = cxt->nextpage + ((mtd->erasesize - mod) / record_size); in mtdoops_workfunc_erase()
148 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_workfunc_erase()
149 cxt->nextpage = 0; in mtdoops_workfunc_erase()
[all …]
/Linux-v4.19/drivers/md/
Dmd-bitmap.c1233 unsigned long nextpage; in md_bitmap_daemon_work() local
1291 nextpage = 0; in md_bitmap_daemon_work()
1296 if (j == nextpage) { in md_bitmap_daemon_work()
1297 nextpage += PAGE_COUNTER_RATIO; in md_bitmap_daemon_work()