Home
last modified time | relevance | path

Searched defs:band (Results 1 – 20 of 20) sorted by relevance

/spdk/lib/ftl/
H A Dftl_band.c22 ftl_band_tail_md_offset(const struct ftl_band *band) in ftl_band_tail_md_offset()
29 ftl_band_filled(struct ftl_band *band, size_t offset) in ftl_band_filled()
35 ftl_band_free_p2l_map(struct ftl_band *band) in ftl_band_free_p2l_map()
52 ftl_band_free_md_entry(struct ftl_band *band) in ftl_band_free_md_entry()
66 _ftl_band_set_free(struct ftl_band *band) in _ftl_band_set_free()
82 _ftl_band_set_preparing(struct ftl_band *band) in _ftl_band_set_preparing()
98 _ftl_band_set_closed_cb(struct ftl_band *band, bool valid) in _ftl_band_set_closed_cb()
120 _ftl_band_set_closed(struct ftl_band *band) in _ftl_band_set_closed()
127 ftl_band_tail_md_addr(struct ftl_band *band) in ftl_band_tail_md_addr()
140 ftl_band_get_state_name(struct ftl_band *band) in ftl_band_get_state_name()
[all …]
H A Dftl_band_ops.c44 struct ftl_band *band = rq->io.band; in ftl_band_rq_bdev_write() local
66 ftl_band_rq_write(struct ftl_band *band, struct ftl_rq *rq) in ftl_band_rq_write()
92 struct ftl_band *band = entry->io.band; in read_rq_end() local
136 ftl_band_rq_read(struct ftl_band *band, struct ftl_rq *rq) in ftl_band_rq_read()
160 struct ftl_band *band = brq->io.band; in write_brq_end() local
198 ftl_band_basic_rq_write(struct ftl_band *band, struct ftl_basic_rq *brq) in ftl_band_basic_rq_write()
221 struct ftl_band *band = brq->io.band; in read_brq_end() local
258 ftl_band_basic_rq_read(struct ftl_band *band, struct ftl_basic_rq *brq) in ftl_band_basic_rq_read()
273 struct ftl_band *band = cb_arg; in band_open_cb() local
288 ftl_band_open(struct ftl_band *band, enum ftl_band_type type) in ftl_band_open()
[all …]
H A Dftl_reloc.c52 struct ftl_band *band; member
242 move_get_band_cb(struct ftl_band *band, void *cntx, bool status) in move_get_band_cb()
274 struct ftl_band *band = reloc->band; in move_get_band() local
296 struct ftl_band *band = rq->io.band; in move_advance_rq() local
345 move_read_error_cb(struct ftl_rq *rq, struct ftl_band *band, uint64_t idx, uint64_t count) in move_read_error_cb()
368 move_rq_pad(struct ftl_rq *rq, struct ftl_band *band) in move_rq_pad()
386 move_read(struct ftl_reloc *reloc, struct ftl_reloc_move *mv, struct ftl_band *band) in move_read()
509 struct ftl_band *band; in move_finish_write() local
562 struct ftl_band *band; in move_run() local
608 move_handle_band_error(struct ftl_band *band) in move_handle_band_error()
[all …]
H A Dftl_band.h202 ftl_band_set_owner(struct ftl_band *band, in ftl_band_set_owner()
214 ftl_band_clear_owner(struct ftl_band *band, in ftl_band_clear_owner()
226 ftl_band_empty(const struct ftl_band *band) in ftl_band_empty()
232 ftl_band_qd(const struct ftl_band *band) in ftl_band_qd()
238 ftl_band_block_offset_valid(struct ftl_band *band, size_t block_off) in ftl_band_block_offset_valid()
246 ftl_band_iter_init(struct ftl_band *band) in ftl_band_iter_init()
254 ftl_band_iter_advance(struct ftl_band *band, uint64_t num_blocks) in ftl_band_iter_advance()
262 ftl_band_iter_set(struct ftl_band *band, uint64_t num_blocks) in ftl_band_iter_set()
H A Dftl_p2l.c169 struct ftl_band *band; in ftl_p2l_ckpt_issue() local
221 ftl_p2l_validate_pages(struct ftl_band *band, struct ftl_p2l_ckpt *ckpt, in ftl_p2l_validate_pages()
232 ftl_p2l_validate_ckpt(struct ftl_band *band) in ftl_p2l_validate_ckpt()
259 struct ftl_band *band = NULL; in ftl_get_band_from_region() local
306 struct ftl_band *band = ctx->band; in ftl_mngt_persist_band_p2l() local
346 struct ftl_band *band; in ftl_mngt_persist_bands_p2l() local
399 ftl_mngt_p2l_ckpt_restore(struct ftl_band *band, uint32_t md_region, uint64_t seq_id) in ftl_mngt_p2l_ckpt_restore()
497 ftl_mngt_p2l_ckpt_restore_clean(struct ftl_band *band) in ftl_mngt_p2l_ckpt_restore_clean()
556 ftl_mngt_p2l_ckpt_restore_shm_clean(struct ftl_band *band) in ftl_mngt_p2l_ckpt_restore_shm_clean()
H A Dftl_writer.c35 ftl_writer_band_state_change(struct ftl_band *band) in ftl_writer_band_state_change()
61 struct ftl_band *band, *next; in close_full_bands() local
143 struct ftl_band *band; in ftl_writer_run() local
H A Dftl_debug.c25 struct ftl_band *band; member
41 struct ftl_band *band = ctx->band; in ftl_band_validate_md_pin() local
76 struct ftl_band *band = ctx->band; in _ftl_band_validate_md() local
131 ftl_band_validate_md(struct ftl_band *band, ftl_band_validate_md_cb cb) in ftl_band_validate_md()
H A Dftl_debug.h30 struct ftl_band *band = ctx; in _validate_cb() local
36 ftl_band_validate_md(struct ftl_band *band, ftl_band_validate_md_cb cb) in ftl_band_validate_md()
H A Dftl_trace.h42 #define ftl_trace_reloc_band(dev, band) argument
43 #define ftl_trace_write_band(dev, band) argument
H A Dftl_internal.h107 struct ftl_band *band; global() member
162 ftl_p2l_validate_ckpt(struct ftl_band * band) ftl_p2l_validate_ckpt() argument
H A Dftl_writer.h20 struct ftl_band *band; member
H A Dftl_trace.c133 ftl_trace_reloc_band(struct spdk_ftl_dev * dev,const struct ftl_band * band) ftl_trace_reloc_band() argument
142 ftl_trace_write_band(struct spdk_ftl_dev * dev,const struct ftl_band * band) ftl_trace_write_band() argument
H A Dftl_io.h93 struct ftl_band *band; member
163 struct ftl_band *band; member
237 struct ftl_band *band; member
279 struct ftl_band *band; member
H A Dftl_core.c52 ftl_band_erase(struct ftl_band *band) in ftl_band_erase() argument
141 struct ftl_band *band; in ftl_invalidate_addr() local
771 struct ftl_band *band = NULL; ftl_band_get_next_free() local
[all...]
H A Dftl_nv_cache.c1031 struct ftl_band *band = rq->io.band; compaction_process_ftl_done() local
/spdk/lib/ftl/mngt/
H A Dftl_mngt_band.c12 ftl_band_init_md(struct ftl_band *band) in ftl_band_init_md()
46 struct ftl_band *band; in ftl_dev_init_bands() local
115 struct ftl_band *band = &dev->bands[i]; in ftl_dev_deinit_bands_md() local
168 struct ftl_band *band; in decorate_bands() local
220 struct ftl_band *band; in ftl_mngt_initialize_band_address() local
236 struct ftl_band *band; in ftl_recover_max_seq() local
274 struct ftl_band *result = NULL, *band; in next_high_prio_band() local
290 struct ftl_band *band; in finalize_init_gc() local
335 struct ftl_band *band; in ftl_property_dump_base_dev() local
351 struct ftl_band *band, *temp_band, *open_bands[FTL_MAX_OPEN_BANDS]; in ftl_mngt_finalize_init_bands() local
H A Dftl_mngt_recovery.c206 struct ftl_band *band; in restore_band_state_cb() local
278 struct ftl_band *band = &dev->bands[sctx->id]; in ftl_mngt_recovery_walk_band_tail_md() local
396 restore_band_l2p_cb(struct ftl_band *band, void *cntx, enum ftl_md_status status) in restore_band_l2p_cb()
569 struct ftl_band *band = ftl_band_from_addr(dev, addr); in ftl_mngt_recovery_iteration_restore_valid_map() local
601 p2l_ckpt_restore_p2l(struct ftl_mngt_recovery_ctx *pctx, struct ftl_band *band) in p2l_ckpt_restore_p2l()
647 struct ftl_band *band; in ftl_mngt_recovery_open_bands_p2l() local
/spdk/test/unit/lib/ftl/ftl_p2l.c/
H A Dftl_p2l_ut.c106 ftl_band_block_offset_from_addr(struct ftl_band *band, ftl_addr addr) in ftl_band_block_offset_from_addr()
112 ftl_band_addr_from_block_offset(struct ftl_band *band, uint64_t block_off) in ftl_band_addr_from_block_offset()
121 ftl_band_next_addr(struct ftl_band *band, ftl_addr addr, size_t offset) in ftl_band_next_addr()
135 ftl_band_next_xfer_addr(struct ftl_band *band, ftl_addr addr, size_t num_blocks) in ftl_band_next_xfer_addr()
174 band_free(struct ftl_band *band) in band_free()
355 fill_band_p2l(struct ftl_band *band, uint64_t start_lba) in fill_band_p2l()
439 verify_band_p2l(struct ftl_band *band, uint64_t start_entry, uint64_t num_entries) in verify_band_p2l()
/spdk/test/unit/lib/ftl/common/
H A Dutils.c113 struct ftl_band *band; in test_init_ftl_band() local
159 test_free_ftl_band(struct ftl_band * band) test_free_ftl_band() argument
169 test_offset_from_addr(ftl_addr addr,struct ftl_band * band) test_offset_from_addr() argument
[all...]
/spdk/lib/ftl/upgrade/
H A Dftl_band_upgrade.c48 struct ftl_band_md *band = ftl_md_get_buffer(md); in v2_upgrade_md_restore_cb() local