Searched refs:c_ctx (Results 1 – 3 of 3) sorted by relevance
21 struct pblk_c_ctx *c_ctx) in pblk_end_w_bio() argument28 for (i = 0; i < c_ctx->nr_valid; i++) { in pblk_end_w_bio()30 int pos = c_ctx->sentry + i; in pblk_end_w_bio()50 if (c_ctx->nr_padded) in pblk_end_w_bio()51 pblk_bio_free_pages(pblk, rqd->bio, c_ctx->nr_valid, in pblk_end_w_bio()52 c_ctx->nr_padded); in pblk_end_w_bio()58 ret = pblk_rb_sync_advance(&pblk->rwb, c_ctx->nr_valid); in pblk_end_w_bio()68 struct pblk_c_ctx *c_ctx) in pblk_end_queued_w_bio() argument70 list_del(&c_ctx->list); in pblk_end_queued_w_bio()71 return pblk_end_w_bio(pblk, rqd, c_ctx); in pblk_end_queued_w_bio()[all …]
518 struct pblk_c_ctx *c_ctx = nvm_rq_to_pdu(rqd); in pblk_rb_read_to_bio() local531 c_ctx->sentry = pos; in pblk_rb_read_to_bio()532 c_ctx->nr_valid = to_read; in pblk_rb_read_to_bio()533 c_ctx->nr_padded = pad; in pblk_rb_read_to_bio()
775 struct pblk_c_ctx *c_ctx);948 static inline struct nvm_rq *nvm_rq_from_c_ctx(void *c_ctx) in nvm_rq_from_c_ctx() argument950 return c_ctx - sizeof(struct nvm_rq); in nvm_rq_from_c_ctx()