target/linux/generic/files/drivers/mtd/nand/mtk_bmt_nmbm.c
static bool nmbm_check_bad_phys_block(struct nmbm_instance *ni, uint32_t ba)
{
	uint64_t addr = ba2addr(ni, ba);

	return bmtd._block_isbad(bmtd.mtd, addr);
}
/*
 * nmbm_check_bad_phys_block - Check whether a block is marked bad in OOB
 * @ni: NMBM instance structure
 * @ba: block address
 */
Check whether a block is marked bad in OOB
@ni: NMBM instance structure
@ba: block address
Check whether a block is marked bad in OOB @ni : NMBM instance structure @ba : block address
static bool nmbm_check_bad_phys_block(struct nmbm_instance *ni, uint32_t ba)
{
	uint64_t addr = ba2addr(ni, ba);
	return bmtd._block_isbad(bmtd.mtd, addr);
}
static bool nmbm_check_bad_phys_block ( struct nmbm_instance * ni , uint32_t ba ) { uint64_t addr = ba2addr ( ni , ba ) ; return bmtd . _block_isbad ( bmtd . mtd , addr ) ; }
nmbm_check_bad_phys_block - Check whether a block is marked bad in OOB
 @ni: NMBM instance structure
 @ba: block address
nmbm_check_bad_phys_block - Check whether a block is marked bad in OOB @ni : NMBM instance structure @ba : block address