Searched refs:bad_block_list (Results 1 - 6 of 6) sorted by relevance

/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/
H A Dbad-block.h13 // Fills in |bad_block_list| with a list of bad blocks, up until
17 // equal to 0 in order to determine how large the |bad_block_list| is.
18 zx_status_t (*get_bad_block_list)(void* ctx, uint32_t* bad_block_list,
32 bad_block_protocol_t* proto, uint32_t* bad_block_list, uint32_t bad_block_list_len,
34 return proto->ops->get_bad_block_list(proto->ctx, bad_block_list, bad_block_list_len,
31 bad_block_get_bad_block_list( bad_block_protocol_t* proto, uint32_t* bad_block_list, uint32_t bad_block_list_len, uint32_t* bad_block_count) argument
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/protocol/
H A Dbad-block.h36 // zx_status_t GetBadBlockList(uint32_t* bad_block_list, uint32_t bad_block_list_len,
59 static zx_status_t GetBadBlockList(void* ctx, uint32_t* bad_block_list, argument
61 return static_cast<D*>(ctx)->GetBadBlockList(bad_block_list, bad_block_list_len,
75 zx_status_t GetBadBlockList(uint32_t* bad_block_list, uint32_t bad_block_list_len, argument
77 return ops_->get_bad_block_list(ctx_, bad_block_list, bad_block_list_len, bad_block_count);
/fuchsia/zircon/system/dev/nand/nandpart/
H A Dnandpart.h52 zx_status_t GetBadBlockList(uint32_t* bad_block_list, uint32_t bad_block_list_len,
H A Dnandpart.cpp231 zx_status_t NandPartDevice::GetBadBlockList(uint32_t* bad_block_list, uint32_t bad_block_list_len, argument
251 if (bad_block_list == NULL) {
256 memcpy(bad_block_list, bad_block_list_.get(), size);
/fuchsia/zircon/system/dev/nand/skip-block/
H A Dskip-block.h58 zx_status_t GetBadBlockList(fbl::Array<uint32_t>* bad_block_list) TA_REQ(lock_);
H A Dskip-block.cpp180 fbl::unique_ptr<uint32_t[]> bad_block_list(new uint32_t[bad_block_count]);
181 status = bad_block_.GetBadBlockList(bad_block_list.get(), bad_block_list_len, &bad_block_count);
188 *bad_blocks = fbl::move(fbl::Array<uint32_t>(bad_block_list.release(), bad_block_count));

Completed in 89 milliseconds