Home
last modified time | relevance | path

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

/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 …]
/drivers/crypto/nx/
Dnx-842.c164 unsigned long nextpage; in nx842_build_scatterlist() local
172 nextpage = ALIGN(buf + 1, NX842_HW_PAGE_SIZE); in nx842_build_scatterlist()
173 if (nextpage < buf + len) { in nx842_build_scatterlist()
180 entry->len = nextpage - buf; in nx842_build_scatterlist()
/drivers/md/
Dbitmap.c1105 unsigned long nextpage; in bitmap_daemon_work() local
1159 nextpage = 0; in bitmap_daemon_work()
1164 if (j == nextpage) { in bitmap_daemon_work()
1165 nextpage += PAGE_COUNTER_RATIO; in bitmap_daemon_work()