nand_block_checkbad
if (nand_block_checkbad(chip, ((loff_t) page) <<
ret = nand_block_checkbad(chip, offs, 0);