Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A Dnftlmount.c259 static int check_free_sectors(struct NFTLrecord *nftl, unsigned int address, int len, in check_free_sectors() function
345 if (check_free_sectors(nftl, instr->addr, nftl->EraseSize, 1) != 0) in NFTL_formatblock()
393 check_free_sectors(nftl, block * nftl->EraseSize + i * SECTORSIZE, in check_sectors_in_chain()
504 if (check_free_sectors (nftl, block * nftl->EraseSize, nftl->EraseSize, 1) != 0) in check_and_mark_free_block()
520 if (check_free_sectors (nftl, block * nftl->EraseSize + i, in check_and_mark_free_block()
H A Dinftlmount.c316 static int check_free_sectors(struct INFTLrecord *inftl, unsigned int address, in check_free_sectors() function
398 if (check_free_sectors(inftl, instr->addr, instr->len, 1) != 0) in INFTL_formatblock()