Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/mtdutils/
H A Dmtdutils.c51 off_t* bad_block_offsets; member
374 ctx->bad_block_offsets = NULL; in mtd_write_partition()
401 ctx->bad_block_offsets = realloc(ctx->bad_block_offsets, in add_bad_block_offset()
404 ctx->bad_block_offsets[ctx->bad_block_count++] = pos; in add_bad_block_offset()
552 free(ctx->bad_block_offsets); in mtd_write_close()
564 if (ctx->bad_block_offsets[i] == pos) { in mtd_find_write_start()
566 } else if (ctx->bad_block_offsets[i] > pos) { in mtd_find_write_start()
/OK3568_Linux_fs/external/recovery/mtdutils/
H A Dmtdutils.c44 off_t* bad_block_offsets; member
395 ctx->bad_block_offsets = NULL; in mtd_write_partition()
424 ctx->bad_block_offsets = realloc(ctx->bad_block_offsets, in add_bad_block_offset()
427 ctx->bad_block_offsets[ctx->bad_block_count++] = pos; in add_bad_block_offset()
575 free(ctx->bad_block_offsets); in mtd_write_close()
588 if (ctx->bad_block_offsets[i] == pos) { in mtd_find_write_start()
590 } else if (ctx->bad_block_offsets[i] > pos) { in mtd_find_write_start()