Searched refs:check_offs_len (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/mtd/devices/
H A Dmtdram.c35 static int check_offs_len(struct mtd_info *mtd, loff_t ofs, uint64_t len) check_offs_len() function
56 if (check_offs_len(mtd, instr->addr, instr->len)) ram_erase()
/linux-4.4.14/drivers/mtd/nand/
H A Dnand_base.c106 static int check_offs_len(struct mtd_info *mtd, check_offs_len() function
995 if (check_offs_len(mtd, ofs, len)) nand_unlock()
1058 if (check_offs_len(mtd, ofs, len)) nand_lock()
2889 if (check_offs_len(mtd, instr->addr, instr->len)) nand_erase_nand()

Completed in 253 milliseconds