Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/lightnvm/
Dpblk-write.c21 struct pblk_c_ctx *c_ctx) in pblk_end_w_bio() argument
28 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() argument
70 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 …]
Dpblk-rb.c518 struct pblk_c_ctx *c_ctx = nvm_rq_to_pdu(rqd); in pblk_rb_read_to_bio() local
531 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()
Dpblk.h775 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() argument
950 return c_ctx - sizeof(struct nvm_rq); in nvm_rq_from_c_ctx()