Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dmemtest.c43 phys_addr_t start_bad, last_bad; in memtest() local
51 last_bad = 0; in memtest()
59 if (start_phys_aligned == last_bad + incr) { in memtest()
60 last_bad += incr; in memtest()
64 reserve_bad_mem(pattern, start_bad, last_bad + incr); in memtest()
65 start_bad = last_bad = start_phys_aligned; in memtest()
68 reserve_bad_mem(pattern, start_bad, last_bad + incr); in memtest()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxc_nand.c670 static int last_bad = -1; local
672 if (last_bad != host->page_addr >> pg2blk_shift) {
673 last_bad = host->page_addr >> pg2blk_shift;
677 last_bad, host->page_addr,