Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mtd/
Dmtdoops.c65 int nextpage; member
137 cxt->nextpage++; in mtdoops_inc_counter()
138 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_inc_counter()
139 cxt->nextpage = 0; in mtdoops_inc_counter()
144 if (page_is_used(cxt, cxt->nextpage)) { in mtdoops_inc_counter()
150 cxt->nextpage, cxt->nextcount); in mtdoops_inc_counter()
165 mod = (cxt->nextpage * record_size) % mtd->erasesize; in mtdoops_workfunc_erase()
167 cxt->nextpage = cxt->nextpage + ((mtd->erasesize - mod) / record_size); in mtdoops_workfunc_erase()
168 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_workfunc_erase()
169 cxt->nextpage = 0; in mtdoops_workfunc_erase()
[all …]
/linux-4.4.14/drivers/md/
Dbitmap.c1197 unsigned long nextpage; in bitmap_daemon_work() local
1251 nextpage = 0; in bitmap_daemon_work()
1256 if (j == nextpage) { in bitmap_daemon_work()
1257 nextpage += PAGE_COUNTER_RATIO; in bitmap_daemon_work()