Lines Matching defs:bad_block
224 fbl::RefPtr<BadBlock> bad_block;
225 zx_status_t status = BadBlock::Create(MakeBadBlockConfig(&context), &bad_block);
229 status = bad_block->GetBadBlockList(4, 10, &bad_blocks);
247 fbl::RefPtr<BadBlock> bad_block;
248 zx_status_t status = BadBlock::Create(MakeBadBlockConfig(&context), &bad_block);
251 auto check_expected = [&bad_block](uint32_t start_block, uint32_t end_block,
255 zx_status_t status = bad_block->GetBadBlockList(start_block, end_block, &bad_blocks);
287 fbl::RefPtr<BadBlock> bad_block;
288 zx_status_t status = BadBlock::Create(MakeBadBlockConfig(&context), &bad_block);
292 status = bad_block->GetBadBlockList(4, 10, &bad_blocks);
316 fbl::RefPtr<BadBlock> bad_block;
317 zx_status_t status = BadBlock::Create(MakeBadBlockConfig(&context), &bad_block);
321 status = bad_block->GetBadBlockList(4, 10, &bad_blocks);
338 fbl::RefPtr<BadBlock> bad_block;
339 zx_status_t status = BadBlock::Create(MakeBadBlockConfig(&context), &bad_block);
342 status = bad_block->MarkBlockBad(8);
345 status = bad_block->GetBadBlockList(4, 10, &bad_blocks);
375 fbl::RefPtr<BadBlock> bad_block;
376 zx_status_t status = BadBlock::Create(MakeBadBlockConfig(&context), &bad_block);
380 status = bad_block->GetBadBlockList(4, 10, &bad_blocks);
408 fbl::RefPtr<BadBlock> bad_block;
409 zx_status_t status = BadBlock::Create(MakeBadBlockConfig(&context), &bad_block);
412 status = bad_block->MarkBlockBad(4);
433 fbl::RefPtr<BadBlock> bad_block;
434 zx_status_t status = BadBlock::Create(MakeBadBlockConfig(&context), &bad_block);
438 status = bad_block->GetBadBlockList(4, 10, &bad_blocks);
456 fbl::RefPtr<BadBlock> bad_block;
457 zx_status_t status = BadBlock::Create(MakeBadBlockConfig(&context), &bad_block);
460 status = bad_block->MarkBlockBad(8);
463 status = bad_block->GetBadBlockList(4, 10, &bad_blocks);