Home
last modified time | relevance | path

Searched refs:erase_ppa (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/lightnvm/
Dpblk-map.c109 unsigned int valid_secs, struct ppa_addr *erase_ppa) in pblk_map_erase_rq() argument
144 *erase_ppa = rqd->ppa_list[i]; in pblk_map_erase_rq()
145 erase_ppa->a.blk = e_line->id; in pblk_map_erase_rq()
166 if (unlikely(pblk_ppa_empty(*erase_ppa)) && in pblk_map_erase_rq()
185 *erase_ppa = pblk->luns[bit].bppa; /* set ch and lun */ in pblk_map_erase_rq()
186 erase_ppa->a.blk = e_line->id; in pblk_map_erase_rq()
Dpblk-write.c323 struct ppa_addr *erase_ppa) in pblk_setup_w_rq() argument
349 valid, erase_ppa); in pblk_setup_w_rq()
514 struct ppa_addr erase_ppa; in pblk_submit_io_set() local
518 pblk_ppa_set_empty(&erase_ppa); in pblk_submit_io_set()
521 err = pblk_setup_w_rq(pblk, rqd, &erase_ppa); in pblk_submit_io_set()
536 if (!pblk_ppa_empty(erase_ppa)) { in pblk_submit_io_set()
538 if (pblk_blk_erase_async(pblk, erase_ppa)) { in pblk_submit_io_set()
545 bit = pblk_ppa_to_pos(geo, erase_ppa); in pblk_submit_io_set()
Dpblk.h812 int pblk_blk_erase_async(struct pblk *pblk, struct ppa_addr erase_ppa);
859 unsigned int valid_secs, struct ppa_addr *erase_ppa);