/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | pblk-trace.h | 42 TP_PROTO(const char *name, struct ppa_addr *ppa, int state), 44 TP_ARGS(name, ppa, state), 48 __field(u64, ppa) 54 __entry->ppa = ppa->ppa; 59 (u64)(((struct ppa_addr *)(&__entry->ppa))->m.grp), 60 (u64)(((struct ppa_addr *)(&__entry->ppa))->m.pu), 61 (u64)(((struct ppa_addr *)(&__entry->ppa))->m.chk), 68 TP_PROTO(const char *name, struct ppa_addr *ppa, int state), 70 TP_ARGS(name, ppa, state), 74 __field(u64, ppa) [all …]
|
D | pblk.h | 144 struct ppa_addr ppa; /* Physic addr. associated with entry */ member 742 struct ppa_addr ppa); 775 struct ppa_addr ppa); 785 void pblk_ppa_to_line_put(struct pblk *pblk, struct ppa_addr ppa); 817 void pblk_down_rq(struct pblk *pblk, struct ppa_addr ppa, 819 void pblk_down_chunk(struct pblk *pblk, struct ppa_addr ppa); 820 void pblk_up_chunk(struct pblk *pblk, struct ppa_addr ppa); 826 void pblk_map_invalidate(struct pblk *pblk, struct ppa_addr ppa); 829 void pblk_update_map(struct pblk *pblk, sector_t lba, struct ppa_addr ppa); 831 struct ppa_addr ppa); [all …]
|
D | pblk-core.c | 31 struct ppa_addr *ppa = line_ws->priv; in pblk_line_mark_bb() local 34 ret = nvm_set_chunk_meta(dev, ppa, 1, NVM_BLK_T_GRWN_BAD); in pblk_line_mark_bb() 39 line = pblk_ppa_to_line(pblk, *ppa); in pblk_line_mark_bb() 40 pos = pblk_ppa_to_pos(&dev->geo, *ppa); in pblk_line_mark_bb() 46 kfree(ppa); in pblk_line_mark_bb() 55 struct ppa_addr *ppa; in pblk_mark_bb() local 70 ppa = kmalloc(sizeof(struct ppa_addr), GFP_ATOMIC); in pblk_mark_bb() 71 if (!ppa) in pblk_mark_bb() 74 *ppa = ppa_addr; in pblk_mark_bb() 75 pblk_gen_run_ws(pblk, NULL, ppa, pblk_line_mark_bb, in pblk_mark_bb() [all …]
|
D | core.c | 186 luns[lunid].ppa = 0; in nvm_create_tgt_dev() 677 struct ppa_addr ppa; in nvm_set_rqd_ppalist() local 698 ppa = ppas[i]; in nvm_set_rqd_ppalist() 699 ppa.g.pl = pl_idx; in nvm_set_rqd_ppalist() 700 rqd->ppa_list[(pl_idx * nr_ppas) + i] = ppa; in nvm_set_rqd_ppalist() 824 static int nvm_bb_chunk_sense(struct nvm_dev *dev, struct ppa_addr ppa) in nvm_bb_chunk_sense() argument 844 rqd.ppa_addr = generic_to_dev_addr(dev, ppa); in nvm_bb_chunk_sense() 859 static int nvm_bb_chunk_scan(struct nvm_dev *dev, struct ppa_addr ppa, in nvm_bb_chunk_scan() argument 866 ret = nvm_bb_chunk_sense(dev, ppa); in nvm_bb_chunk_scan() 891 ppa.g.pg = geo->num_pg - 1; in nvm_bb_chunk_scan() [all …]
|
D | pblk-read.c | 29 sector_t lba, struct ppa_addr ppa) in pblk_read_from_cache() argument 33 BUG_ON(pblk_ppa_empty(ppa)); in pblk_read_from_cache() 34 BUG_ON(!pblk_addr_in_cache(ppa)); in pblk_read_from_cache() 37 return pblk_rb_copy_to_bio(&pblk->rwb, bio, lba, ppa); in pblk_read_from_cache() 228 struct ppa_addr ppa; in pblk_read_rq() local 230 pblk_lookup_l2p_seq(pblk, &ppa, lba, 1, from_cache); in pblk_read_rq() 237 if (pblk_ppa_empty(ppa)) { in pblk_read_rq() 247 if (pblk_addr_in_cache(ppa)) { in pblk_read_rq() 248 if (!pblk_read_from_cache(pblk, bio, lba, ppa)) { in pblk_read_rq() 249 pblk_lookup_l2p_seq(pblk, &ppa, lba, 1, from_cache); in pblk_read_rq() [all …]
|
D | pblk-recovery.c | 59 struct ppa_addr ppa; in pblk_recov_l2p_from_emeta() local 62 ppa = addr_to_gen_ppa(pblk, i, line->id); in pblk_recov_l2p_from_emeta() 63 pos = pblk_ppa_to_pos(geo, ppa); in pblk_recov_l2p_from_emeta() 80 pblk_update_map(pblk, le64_to_cpu(lba_list[i]), ppa); in pblk_recov_l2p_from_emeta() 233 struct ppa_addr ppa; in pblk_recov_pad_line() local 237 ppa = addr_to_gen_ppa(pblk, w_ptr, line->id); in pblk_recov_pad_line() 238 pos = pblk_ppa_to_pos(geo, ppa); in pblk_recov_pad_line() 242 ppa = addr_to_gen_ppa(pblk, w_ptr, line->id); in pblk_recov_pad_line() 243 pos = pblk_ppa_to_pos(geo, ppa); in pblk_recov_pad_line() 308 struct ppa_addr ppa; in pblk_get_stripe_chunk() local [all …]
|
D | pblk-rb.c | 180 pblk_ppa_set_empty(&w_ctx->ppa); in clean_wctx() 259 pblk_update_map_dev(pblk, w_ctx->lba, w_ctx->ppa, in __pblk_rb_update_l2p() 262 line = pblk_ppa_to_line(pblk, w_ctx->ppa); in __pblk_rb_update_l2p() 334 entry->w_ctx.ppa = w_ctx.ppa; in __pblk_rb_write_entry() 645 struct ppa_addr ppa) in pblk_rb_copy_to_bio() argument 651 u64 pos = pblk_addr_to_cacheline(ppa); in pblk_rb_copy_to_bio() 671 if (!pblk_ppa_comp(l2p_ppa, ppa) || w_ctx->lba != lba || in pblk_rb_copy_to_bio()
|
D | pblk-write.c | 108 static void pblk_map_remaining(struct pblk *pblk, struct ppa_addr *ppa, in pblk_map_remaining() argument 112 struct ppa_addr map_ppa = *ppa; in pblk_map_remaining() 119 line = pblk_ppa_to_line(pblk, *ppa); in pblk_map_remaining() 179 line = pblk_ppa_to_line(pblk, w_ctx->ppa); in pblk_prepare_resubmit() 441 struct ppa_addr ppa, ppa_opt; in pblk_valid_meta_ppa() local 455 ppa = addr_to_gen_ppa(pblk, paddr, 0); in pblk_valid_meta_ppa() 463 if (unlikely(pblk_ppa_comp(ppa_opt, ppa))) in pblk_valid_meta_ppa()
|
D | pblk-cache.c | 49 pblk_ppa_set_empty(&w_ctx.ppa); in pblk_write_to_cache() 109 pblk_ppa_set_empty(&w_ctx.ppa); in pblk_write_gc_to_cache()
|
D | pblk-init.c | 149 struct ppa_addr ppa; in pblk_l2p_init() local 162 pblk_ppa_set_empty(&ppa); in pblk_l2p_init() 165 pblk_trans_map_set(pblk, i, ppa); in pblk_l2p_init() 721 struct ppa_addr ppa; in pblk_setup_line_meta_chk() local 724 ppa = rlun->bppa; in pblk_setup_line_meta_chk() 725 pos = pblk_ppa_to_pos(geo, ppa); in pblk_setup_line_meta_chk() 728 ppa.m.chk = line->id; in pblk_setup_line_meta_chk() 729 chunk_meta = pblk_chunk_get_off(pblk, meta, ppa); in pblk_setup_line_meta_chk() 738 trace_pblk_chunk_state(pblk_disk_name(pblk), &ppa, in pblk_setup_line_meta_chk()
|
D | pblk-map.c | 78 w_ctx->ppa = ppa_list[i]; in pblk_map_page_data()
|
/kernel/linux/linux-5.10/include/linux/ |
D | lightnvm.h | 76 u64 ppa; member 449 l.ppa = ((u64)r.g.ch) << ppaf->ch_offset; in generic_to_dev_addr() 450 l.ppa |= ((u64)r.g.lun) << ppaf->lun_offset; in generic_to_dev_addr() 451 l.ppa |= ((u64)r.g.blk) << ppaf->blk_offset; in generic_to_dev_addr() 452 l.ppa |= ((u64)r.g.pg) << ppaf->pg_offset; in generic_to_dev_addr() 453 l.ppa |= ((u64)r.g.pl) << ppaf->pln_offset; in generic_to_dev_addr() 454 l.ppa |= ((u64)r.g.sec) << ppaf->sec_offset; in generic_to_dev_addr() 458 l.ppa = ((u64)r.m.grp) << lbaf->ch_offset; in generic_to_dev_addr() 459 l.ppa |= ((u64)r.m.pu) << lbaf->lun_offset; in generic_to_dev_addr() 460 l.ppa |= ((u64)r.m.chk) << lbaf->chk_offset; in generic_to_dev_addr() [all …]
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | lightnvm.c | 475 static int nvme_nvm_get_bb_tbl(struct nvm_dev *nvmdev, struct ppa_addr ppa, in nvme_nvm_get_bb_tbl() argument 490 c.get_bb.spba = cpu_to_le64(ppa.ppa); in nvme_nvm_get_bb_tbl() 540 c.set_bb.spba = cpu_to_le64(ppas->ppa); in nvme_nvm_set_bb_tbl() 563 struct ppa_addr ppa; in nvme_nvm_get_chk_meta() local 580 ppa.ppa = slba; in nvme_nvm_get_chk_meta() 581 ppa = dev_to_generic_addr(ndev, ppa); in nvme_nvm_get_chk_meta() 583 log_pos = ppa.m.chk; in nvme_nvm_get_chk_meta() 584 log_pos += ppa.m.pu * geo->num_chk; in nvme_nvm_get_chk_meta() 585 log_pos += ppa.m.grp * geo->num_lun * geo->num_chk; in nvme_nvm_get_chk_meta() 629 c->ph_rw.spba = cpu_to_le64(rqd->ppa_addr.ppa); in nvme_nvm_rqtocmd()
|
/kernel/linux/linux-5.10/Documentation/scsi/ |
D | index.rst | 33 ppa
|
D | ppa.rst | 11 http://web.archive.org/web/%2E/http://www.torque.net/~campbell/ppa
|
/kernel/liteos_a/arch/arm/arm/src/ |
D | los_arch_mmu.c | 609 STATIC STATUS_T OsGetL2Table(LosArchMmu *archMmu, UINT32 l1Index, paddr_t *ppa) in OsGetL2Table() argument 620 …*ppa = (PADDR_T)ROUNDDOWN(MMU_DESCRIPTOR_L1_PAGE_TABLE_ADDR(ttEntry), MMU_DESCRIPTOR_L2_SMALL_SIZE… in OsGetL2Table() 645 *ppa = OsKVaddrToPaddr((VADDR_T)kvaddr) + l2Offset; in OsGetL2Table()
|
/kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
D | avic.c | 200 phys_addr_t ppa = __sme_set(page_to_phys(kvm_svm->avic_physical_id_table_page)); in avic_init_vmcb() local 204 vmcb->control.avic_physical_id = ppa & AVIC_HPA_MASK; in avic_init_vmcb()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | Makefile | 117 obj-$(CONFIG_SCSI_PPA) += ppa.o
|
D | Kconfig | 791 tristate "IOMEGA parallel port (ppa - older drives)" 807 read the file <file:Documentation/scsi/ppa.rst>. You should also read 815 module will be called ppa. 831 here and Y to "IOMEGA Parallel Port (ppa - older drives)", above. 834 read the file <file:Documentation/scsi/ppa.rst>. You should also read 845 bool "ppa/imm option - Use slow (but safe) EPP-16" 860 bool "ppa/imm option - Assume slow parport control register"
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | parport.rst | 127 | `-- ppa
|
/kernel/linux/linux-5.10/arch/s390/tools/ |
D | opcodes.txt | 296 b2e8 ppa RRF_U0RR
|
/kernel/linux/linux-5.10/ |
D | CREDITS | 1394 D: original author of ppa driver for parallel port ZIP drive
|