Lines Matching refs:rqd
134 struct nvm_rq *rqd; member
738 unsigned int pblk_rb_read_to_bio(struct pblk_rb *rb, struct nvm_rq *rqd,
765 void pblk_free_rqd(struct pblk *pblk, struct nvm_rq *rqd, int type);
766 int pblk_alloc_rqd_meta(struct pblk *pblk, struct nvm_rq *rqd);
767 void pblk_free_rqd_meta(struct pblk *pblk, struct nvm_rq *rqd);
769 int pblk_setup_w_rec_rq(struct pblk *pblk, struct nvm_rq *rqd,
776 void pblk_log_write_err(struct pblk *pblk, struct nvm_rq *rqd);
777 void pblk_log_read_err(struct pblk *pblk, struct nvm_rq *rqd);
778 int pblk_submit_io(struct pblk *pblk, struct nvm_rq *rqd, void *buf);
779 int pblk_submit_io_sync(struct pblk *pblk, struct nvm_rq *rqd, void *buf);
781 void pblk_check_chunk_state_update(struct pblk *pblk, struct nvm_rq *rqd);
786 void pblk_rq_to_line_put(struct pblk *pblk, struct nvm_rq *rqd);
840 void *pblk_get_meta_for_writes(struct pblk *pblk, struct nvm_rq *rqd);
841 void pblk_get_packed_meta(struct pblk *pblk, struct nvm_rq *rqd);
853 int pblk_map_erase_rq(struct pblk *pblk, struct nvm_rq *rqd,
856 int pblk_map_rq(struct pblk *pblk, struct nvm_rq *rqd, unsigned int sentry,
1212 static inline void pblk_print_failed_rqd(struct pblk *pblk, struct nvm_rq *rqd, in pblk_print_failed_rqd() argument
1217 if (rqd->nr_ppas == 1) { in pblk_print_failed_rqd()
1218 print_ppa(pblk, &rqd->ppa_addr, "rqd", error); in pblk_print_failed_rqd()
1222 while ((bit = find_next_bit((void *)&rqd->ppa_status, rqd->nr_ppas, in pblk_print_failed_rqd()
1223 bit + 1)) < rqd->nr_ppas) { in pblk_print_failed_rqd()
1224 print_ppa(pblk, &rqd->ppa_list[bit], "rqd", error); in pblk_print_failed_rqd()
1227 pblk_err(pblk, "error:%d, ppa_status:%llx\n", error, rqd->ppa_status); in pblk_print_failed_rqd()
1265 static inline int pblk_check_io(struct pblk *pblk, struct nvm_rq *rqd) in pblk_check_io() argument
1268 struct ppa_addr *ppa_list = nvm_rq_to_ppa_list(rqd); in pblk_check_io()
1270 if (pblk_boundary_ppa_checks(dev, ppa_list, rqd->nr_ppas)) { in pblk_check_io()
1275 if (rqd->opcode == NVM_OP_PWRITE) { in pblk_check_io()
1279 for (i = 0; i < rqd->nr_ppas; i++) { in pblk_check_io()