Searched refs:bad_blocks (Results 1 - 17 of 17) sorted by relevance

/fuchsia/zircon/system/dev/nand/skip-block/test/
H A Dlogical-to-physical-map-test.cpp47 fbl::Array<uint32_t> bad_blocks(new uint32_t[1], 1);
48 bad_blocks[0] = 2;
49 LogicalToPhysicalMap ltop_map(1, 5, fbl::move(bad_blocks));
56 fbl::Array<uint32_t> bad_blocks(new uint32_t[1], 1);
57 bad_blocks[0] = 0;
58 LogicalToPhysicalMap ltop_map(1, 5, fbl::move(bad_blocks));
65 fbl::Array<uint32_t> bad_blocks(new uint32_t[1], 1);
66 bad_blocks[0] = 4;
67 LogicalToPhysicalMap ltop_map(1, 5, fbl::move(bad_blocks));
74 fbl::Array<uint32_t> bad_blocks(ne
[all...]
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/protocol/
H A Dnand.h40 // zx_status_t GetFactoryBadBlockList(uint32_t* bad_blocks, uint32_t bad_block_len,
74 static zx_status_t GetFactoryBadBlockList(void* ctx, uint32_t* bad_blocks, argument
76 return static_cast<D*>(ctx)->GetFactoryBadBlockList(bad_blocks, bad_block_len,
94 zx_status_t GetFactoryBadBlockList(uint32_t* bad_blocks, uint32_t bad_block_len, argument
96 return ops_->get_factory_bad_block_list(ctx_, bad_blocks, bad_block_len, num_bad_blocks);
/fuchsia/zircon/system/dev/nand/ram-nand/test/
H A Dram-nand-ctl.cpp73 uint32_t bad_blocks[] = {1, 3, 5}; local
75 ioctl_ram_nand_set_bad_blocks(device.get(), bad_blocks, sizeof(bad_blocks)));
H A Dram-nand.cpp141 uint32_t bad_blocks[] = {1, 3, 5}; local
143 device->DdkIoctl(IOCTL_RAM_NAND_SET_BAD_BLOCKS, bad_blocks, sizeof(bad_blocks),
/fuchsia/zircon/system/dev/nand/nandpart/test/
H A Daml-bad-block-test.cpp54 TableNode(NandPage id, fbl::Vector<uint32_t> bad_blocks, bool valid = true, argument
56 : id_(id), valid_(valid), generation_(generation), bad_blocks_(fbl::move(bad_blocks)) {}
170 fbl::Vector<uint32_t> bad_blocks; local
173 bad_blocks.push_back(block);
176 auto node = fbl::make_unique<TableNode>(op->rw.offset_nand + i, fbl::move(bad_blocks),
228 fbl::Array<uint32_t> bad_blocks; local
229 status = bad_block->GetBadBlockList(4, 10, &bad_blocks);
231 EXPECT_EQ(bad_blocks.size(), 0);
254 fbl::Array<uint32_t> bad_blocks;
255 zx_status_t status = bad_block->GetBadBlockList(start_block, end_block, &bad_blocks);
291 fbl::Array<uint32_t> bad_blocks; local
320 fbl::Array<uint32_t> bad_blocks; local
344 fbl::Array<uint32_t> bad_blocks; local
379 fbl::Array<uint32_t> bad_blocks; local
437 fbl::Array<uint32_t> bad_blocks; local
462 fbl::Array<uint32_t> bad_blocks; local
[all...]
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/
H A Dnand.h125 zx_status_t (*get_factory_bad_block_list)(void* ctx, uint32_t* bad_blocks,
/fuchsia/zircon/system/dev/nand/skip-block/
H A Dlogical-to-physical-map.cpp12 fbl::Array<uint32_t> bad_blocks)
13 : copies_(copies), block_count_(block_count), bad_blocks_(fbl::move(bad_blocks)) {
11 LogicalToPhysicalMap(uint32_t copies, uint32_t block_count, fbl::Array<uint32_t> bad_blocks) argument
H A Dskip-block.cpp169 zx_status_t SkipBlockDevice::GetBadBlockList(fbl::Array<uint32_t>* bad_blocks) { argument
176 bad_blocks->reset();
188 *bad_blocks = fbl::move(fbl::Array<uint32_t>(bad_block_list.release(), bad_block_count));
211 fbl::Array<uint32_t> bad_blocks; local
212 const zx_status_t status = GetBadBlockList(&bad_blocks);
218 fbl::move(bad_blocks)));
346 fbl::Array<uint32_t> bad_blocks; local
348 ZX_ASSERT(GetBadBlockList(&bad_blocks) == ZX_OK);
350 fbl::move(bad_blocks)));
H A Dlogical-to-physical-map.h24 LogicalToPhysicalMap(uint32_t copies, uint32_t block_count, fbl::Array<uint32_t> bad_blocks);
/fuchsia/zircon/system/dev/nand/nandpart/
H A Dbad-block.h38 fbl::Array<uint32_t>* bad_blocks) {
37 GetBadBlockList(uint32_t first_block, uint32_t last_block, fbl::Array<uint32_t>* bad_blocks) argument
H A Dnandpart.h48 zx_status_t GetFactoryBadBlockList(uint32_t* bad_blocks, uint32_t bad_block_len,
H A Daml-bad-block.cpp407 fbl::Array<uint32_t>* bad_blocks) {
430 bad_blocks->reset();
436 bad_blocks->reset(new (&ac) uint32_t[bad_block_count], bad_block_count);
444 (*bad_blocks)[bad_block_count++] = block;
406 GetBadBlockList(uint32_t first_block, uint32_t last_block, fbl::Array<uint32_t>* bad_blocks) argument
H A Daml-bad-block.h38 fbl::Array<uint32_t>* bad_blocks) override;
H A Dnandpart.cpp224 zx_status_t NandPartDevice::GetFactoryBadBlockList(uint32_t* bad_blocks, uint32_t bad_block_len, argument
/fuchsia/zircon/system/dev/nand/ram-nand/
H A Dram-nand.h72 zx_status_t GetFactoryBadBlockList(uint32_t* bad_blocks, uint32_t bad_block_len,
H A Dram-nand.cpp224 zx_status_t NandDevice::GetFactoryBadBlockList(uint32_t* bad_blocks, uint32_t bad_block_len, argument
/fuchsia/zircon/system/dev/nand/nand/
H A Dnand.c373 static zx_status_t nand_get_factory_bad_block_list(void* ctx, uint32_t* bad_blocks, argument

Completed in 109 milliseconds