Searched refs:c_ctx (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/lightnvm/ |
D | pblk-write.c | 21 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 …]
|
D | pblk-rb.c | 518 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()
|
D | pblk.h | 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() argument 950 return c_ctx - sizeof(struct nvm_rq); in nvm_rq_from_c_ctx()
|
/Linux-v4.19/drivers/crypto/chelsio/ |
D | chcr_algo.c | 743 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(tfm)); in create_cipher_wr() 756 struct adapter *adap = padap(c_ctx(tfm)->dev); in create_cipher_wr() 776 FILL_SEC_CPL_OP_IVINSR(c_ctx(tfm)->dev->rx_channel_id, 2, 1); in create_cipher_wr() 820 create_wreq(c_ctx(tfm), chcr_req, &(wrparam->req->base), reqctx->imm, 0, in create_cipher_wr() 856 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(cipher)); in chcr_cipher_fallback_setkey() 874 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(cipher)); in chcr_aes_cbc_setkey() 906 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(cipher)); in chcr_aes_ctr_setkey() 937 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(cipher)); in chcr_aes_rfc3686_setkey() 1005 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(tfm)); in chcr_update_tweak() 1096 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); in chcr_handle_cipher_resp() [all …]
|
D | chcr_crypto.h | 162 static inline struct chcr_context *c_ctx(struct crypto_ablkcipher *tfm) in c_ctx() function
|