/drivers/lightnvm/ |
D | pblk-core.c | 29 struct pblk *pblk = line_ws->pblk; in pblk_line_mark_bb() local 50 static void pblk_mark_bb(struct pblk *pblk, struct pblk_line *line, in pblk_mark_bb() 79 static void __pblk_end_io_erase(struct pblk *pblk, struct nvm_rq *rqd) in __pblk_end_io_erase() 115 struct pblk *pblk = rqd->private; in pblk_end_io_erase() local 126 struct nvm_chk_meta *pblk_get_chunk_meta(struct pblk *pblk) in pblk_get_chunk_meta() 151 struct nvm_chk_meta *pblk_chunk_get_off(struct pblk *pblk, in pblk_chunk_get_off() 164 void __pblk_map_invalidate(struct pblk *pblk, struct pblk_line *line, in __pblk_map_invalidate() 204 void pblk_map_invalidate(struct pblk *pblk, struct ppa_addr ppa) in pblk_map_invalidate() 221 static void pblk_invalidate_range(struct pblk *pblk, sector_t slba, in pblk_invalidate_range() 241 int pblk_alloc_rqd_meta(struct pblk *pblk, struct nvm_rq *rqd) in pblk_alloc_rqd_meta() [all …]
|
D | pblk-gc.c | 31 static int pblk_gc_write(struct pblk *pblk) in pblk_gc_write() 62 void pblk_put_line_back(struct pblk *pblk, struct pblk_line *line) in pblk_put_line_back() 90 struct pblk *pblk = gc_rq_ws->pblk; in pblk_gc_line_ws() local 131 static __le64 *get_lba_list_from_emeta(struct pblk *pblk, in get_lba_list_from_emeta() 180 struct pblk *pblk = line_ws->pblk; in pblk_gc_line_prepare_ws() local 302 static int pblk_gc_line(struct pblk *pblk, struct pblk_line *line) in pblk_gc_line() 328 static void pblk_gc_kick(struct pblk *pblk) in pblk_gc_kick() 343 static int pblk_gc_read(struct pblk *pblk) in pblk_gc_read() 371 static struct pblk_line *pblk_gc_get_victim_line(struct pblk *pblk, in pblk_gc_get_victim_line() 407 void pblk_gc_free_full_lines(struct pblk *pblk) in pblk_gc_free_full_lines() [all …]
|
D | pblk.h | 126 struct pblk *pblk; member 133 struct pblk *pblk; member 433 struct pblk *pblk; member 592 struct pblk { struct 598 struct pblk_lun *luns; argument 600 struct pblk_line *lines; /* Line array */ argument 601 struct pblk_line_mgmt l_mg; /* Line management */ argument 602 struct pblk_line_meta lm; /* Line metadata */ argument 605 struct pblk_addrf uaddrf; /* Unaligned address format */ argument 608 struct pblk_rb rwb; argument [all …]
|
D | pblk-init.c | 52 struct pblk *pblk = bio->bi_disk->queue->queuedata; in pblk_submit_bio() local 88 static size_t pblk_trans_map_size(struct pblk *pblk) in pblk_trans_map_size() 99 static u32 pblk_l2p_crc(struct pblk *pblk) in pblk_l2p_crc() 110 static void pblk_l2p_free(struct pblk *pblk) in pblk_l2p_free() 115 static int pblk_l2p_recover(struct pblk *pblk, bool factory_init) in pblk_l2p_recover() 146 static int pblk_l2p_init(struct pblk *pblk, bool factory_init) in pblk_l2p_init() 174 static void pblk_rwb_free(struct pblk *pblk) in pblk_rwb_free() 182 static int pblk_rwb_init(struct pblk *pblk) in pblk_rwb_init() 201 static int pblk_set_addrf_12(struct pblk *pblk, struct nvm_geo *geo, in pblk_set_addrf_12() 274 static int pblk_set_addrf(struct pblk *pblk) in pblk_set_addrf() [all …]
|
D | pblk-write.c | 22 static unsigned long pblk_end_w_bio(struct pblk *pblk, struct nvm_rq *rqd, in pblk_end_w_bio() 68 static unsigned long pblk_end_queued_w_bio(struct pblk *pblk, in pblk_end_queued_w_bio() 76 static void pblk_complete_write(struct pblk *pblk, struct nvm_rq *rqd, in pblk_complete_write() 108 static void pblk_map_remaining(struct pblk *pblk, struct ppa_addr *ppa, in pblk_map_remaining() 147 static void pblk_prepare_resubmit(struct pblk *pblk, unsigned int sentry, in pblk_prepare_resubmit() 186 static void pblk_queue_resubmit(struct pblk *pblk, struct pblk_c_ctx *c_ctx) in pblk_queue_resubmit() 212 struct pblk *pblk = recovery->pblk; in pblk_submit_rec() local 235 static void pblk_end_w_fail(struct pblk *pblk, struct nvm_rq *rqd) in pblk_end_w_fail() 254 struct pblk *pblk = rqd->private; in pblk_end_io_write() local 274 struct pblk *pblk = rqd->private; in pblk_end_io_write_meta() local [all …]
|
D | pblk-sysfs.c | 24 static ssize_t pblk_sysfs_luns_show(struct pblk *pblk, char *page) in pblk_sysfs_luns_show() 51 static ssize_t pblk_sysfs_rate_limiter(struct pblk *pblk, char *page) in pblk_sysfs_rate_limiter() 83 static ssize_t pblk_sysfs_gc_state_show(struct pblk *pblk, char *page) in pblk_sysfs_gc_state_show() 92 static ssize_t pblk_sysfs_stats(struct pblk *pblk, char *page) in pblk_sysfs_stats() 108 static ssize_t pblk_sysfs_write_buffer(struct pblk *pblk, char *page) in pblk_sysfs_write_buffer() 113 static ssize_t pblk_sysfs_ppaf(struct pblk *pblk, char *page) in pblk_sysfs_ppaf() 164 static ssize_t pblk_sysfs_lines(struct pblk *pblk, char *page) in pblk_sysfs_lines() 309 static ssize_t pblk_sysfs_lines_info(struct pblk *pblk, char *page) in pblk_sysfs_lines_info() 337 static ssize_t pblk_sysfs_get_sec_per_write(struct pblk *pblk, char *page) in pblk_sysfs_get_sec_per_write() 368 static ssize_t pblk_sysfs_get_write_amp_mileage(struct pblk *pblk, char *page) in pblk_sysfs_get_write_amp_mileage() [all …]
|
D | pblk-read.c | 28 static int pblk_read_from_cache(struct pblk *pblk, struct bio *bio, in pblk_read_from_cache() 40 static int pblk_read_ppalist_rq(struct pblk *pblk, struct nvm_rq *rqd, in pblk_read_ppalist_rq() 109 static void pblk_read_check_seq(struct pblk *pblk, struct nvm_rq *rqd, in pblk_read_check_seq() 142 static void pblk_read_check_rand(struct pblk *pblk, struct nvm_rq *rqd, in pblk_read_check_rand() 187 static void __pblk_end_io_read(struct pblk *pblk, struct nvm_rq *rqd, in __pblk_end_io_read() 216 struct pblk *pblk = rqd->private; in pblk_end_io_read() local 224 static void pblk_read_rq(struct pblk *pblk, struct nvm_rq *rqd, struct bio *bio, in pblk_read_rq() 263 void pblk_submit_read(struct pblk *pblk, struct bio *bio) in pblk_submit_read() 349 static int read_ppalist_rq_gc(struct pblk *pblk, struct nvm_rq *rqd, in read_ppalist_rq_gc() 380 static int read_rq_gc(struct pblk *pblk, struct nvm_rq *rqd, in read_rq_gc() [all …]
|
D | pblk-recovery.c | 24 int pblk_recov_check_emeta(struct pblk *pblk, struct line_emeta *emeta_buf) in pblk_recov_check_emeta() 38 static int pblk_recov_l2p_from_emeta(struct pblk *pblk, struct pblk_line *line) in pblk_recov_l2p_from_emeta() 93 static void pblk_update_line_wp(struct pblk *pblk, struct pblk_line *line, in pblk_update_line_wp() 116 static u64 pblk_sec_in_open_line(struct pblk *pblk, struct pblk_line *line) in pblk_sec_in_open_line() 162 struct pblk *pblk = pad_rq->pblk; in pblk_end_io_recov() local 173 static int pblk_recov_pad_line(struct pblk *pblk, struct pblk_line *line, in pblk_recov_pad_line() 291 static int pblk_pad_distance(struct pblk *pblk, struct pblk_line *line) in pblk_pad_distance() 301 static struct nvm_chk_meta *pblk_get_stripe_chunk(struct pblk *pblk, in pblk_get_stripe_chunk() 318 static int pblk_line_wps_are_unbalanced(struct pblk *pblk, in pblk_line_wps_are_unbalanced() 354 static int pblk_recov_scan_oob(struct pblk *pblk, struct pblk_line *line, in pblk_recov_scan_oob() [all …]
|
D | pblk-rb.c | 75 struct pblk *pblk = container_of(rb, struct pblk, rwb); in pblk_rb_init() local 239 struct pblk *pblk = container_of(rb, struct pblk, rwb); in __pblk_rb_update_l2p() local 340 struct pblk *pblk = container_of(rb, struct pblk, rwb); in pblk_rb_write_entry_user() local 364 struct pblk *pblk = container_of(rb, struct pblk, rwb); in pblk_rb_write_entry_gc() local 454 struct pblk *pblk = container_of(rb, struct pblk, rwb); in pblk_rb_flush() local 476 struct pblk *pblk = container_of(rb, struct pblk, rwb); in pblk_rb_may_write_flush() local 497 struct pblk *pblk = container_of(rb, struct pblk, rwb); in pblk_rb_may_write_user() local 524 struct pblk *pblk = container_of(rb, struct pblk, rwb); in pblk_rb_may_write_gc() local 554 struct pblk *pblk = container_of(rb, struct pblk, rwb); in pblk_rb_read_to_bio() local 647 struct pblk *pblk = container_of(rb, struct pblk, rwb); in pblk_rb_copy_to_bio() local [all …]
|
D | pblk-map.c | 22 static int pblk_map_page_data(struct pblk *pblk, unsigned int sentry, in pblk_map_page_data() 96 int pblk_map_rq(struct pblk *pblk, struct nvm_rq *rqd, unsigned int sentry, in pblk_map_rq() 122 int pblk_map_erase_rq(struct pblk *pblk, struct nvm_rq *rqd, in pblk_map_erase_rq()
|
D | pblk-cache.c | 21 void pblk_write_to_cache(struct pblk *pblk, struct bio *bio, in pblk_write_to_cache() 91 int pblk_write_gc_to_cache(struct pblk *pblk, struct pblk_gc_rq *gc_rq) in pblk_write_gc_to_cache()
|
D | pblk-rl.c | 111 struct pblk *pblk = container_of(rl, struct pblk, rl); in __pblk_rl_update_rates() local 212 struct pblk *pblk = container_of(rl, struct pblk, rl); in pblk_rl_init() local
|
/drivers/xen/ |
D | xen-acpi-processor.c | 333 acpi_io_address pblk = 0; in read_acpi_id() local
|
/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
D | pearl_pcie.c | 908 int blk, const u8 *pblk, const u8 *fw) in qtnf_ep_fw_send() 959 const u8 *pblk = fw; in qtnf_ep_fw_load() local
|