Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mtd/
Dmtdoops.c58 int nextpage; member
111 cxt->nextpage++; in mtdoops_inc_counter()
112 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_inc_counter()
113 cxt->nextpage = 0; in mtdoops_inc_counter()
118 if (page_is_used(cxt, cxt->nextpage)) { in mtdoops_inc_counter()
124 cxt->nextpage, cxt->nextcount); in mtdoops_inc_counter()
139 mod = (cxt->nextpage * record_size) % mtd->erasesize; in mtdoops_workfunc_erase()
141 cxt->nextpage = cxt->nextpage + ((mtd->erasesize - mod) / record_size); in mtdoops_workfunc_erase()
142 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_workfunc_erase()
143 cxt->nextpage = 0; in mtdoops_workfunc_erase()
[all …]
/linux-5.19.10/drivers/md/
Dmd-bitmap.c1230 unsigned long nextpage; in md_bitmap_daemon_work() local
1288 nextpage = 0; in md_bitmap_daemon_work()
1293 if (j == nextpage) { in md_bitmap_daemon_work()
1294 nextpage += PAGE_COUNTER_RATIO; in md_bitmap_daemon_work()