Searched refs:blocks (Results 1 – 2 of 2) sorted by relevance
56 off_t mtd_erase_blocks(MtdWriteContext *, int blocks); /* 0 ok, -1 for all */
505 off_t mtd_erase_blocks(MtdWriteContext *ctx, int blocks) in mtd_erase_blocks() argument519 if (blocks < 0) blocks = total; in mtd_erase_blocks()520 if (blocks > total) { in mtd_erase_blocks()526 while (blocks-- > 0) { in mtd_erase_blocks()