Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/lightnvm/
Dpblk-write.c23 struct pblk_c_ctx *c_ctx) in pblk_end_w_bio() argument
30 for (i = 0; i < c_ctx->nr_valid; i++) { in pblk_end_w_bio()
32 int pos = c_ctx->sentry + i; in pblk_end_w_bio()
52 if (c_ctx->nr_padded) in pblk_end_w_bio()
53 pblk_bio_free_pages(pblk, rqd->bio, c_ctx->nr_valid, in pblk_end_w_bio()
54 c_ctx->nr_padded); in pblk_end_w_bio()
60 ret = pblk_rb_sync_advance(&pblk->rwb, c_ctx->nr_valid); in pblk_end_w_bio()
70 struct pblk_c_ctx *c_ctx) in pblk_end_queued_w_bio() argument
72 list_del(&c_ctx->list); in pblk_end_queued_w_bio()
73 return pblk_end_w_bio(pblk, rqd, c_ctx); in pblk_end_queued_w_bio()
[all …]
Dpblk-rb.c556 struct pblk_c_ctx *c_ctx = nvm_rq_to_pdu(rqd); in pblk_rb_read_to_bio() local
572 c_ctx->sentry = pos; in pblk_rb_read_to_bio()
573 c_ctx->nr_valid = to_read; in pblk_rb_read_to_bio()
574 c_ctx->nr_padded = pad; in pblk_rb_read_to_bio()
Dpblk.h770 struct pblk_c_ctx *c_ctx);
929 static inline struct nvm_rq *nvm_rq_from_c_ctx(void *c_ctx) in nvm_rq_from_c_ctx() argument
931 return c_ctx - sizeof(struct nvm_rq); in nvm_rq_from_c_ctx()
/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_algo.c761 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(tfm)); in create_cipher_wr()
774 struct adapter *adap = padap(c_ctx(tfm)->dev); in create_cipher_wr()
794 FILL_SEC_CPL_OP_IVINSR(c_ctx(tfm)->tx_chan_id, 2, 1); in create_cipher_wr()
838 create_wreq(c_ctx(tfm), chcr_req, &(wrparam->req->base), reqctx->imm, 0, in create_cipher_wr()
874 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(cipher)); in chcr_cipher_fallback_setkey()
893 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(cipher)); in chcr_aes_cbc_setkey()
925 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(cipher)); in chcr_aes_ctr_setkey()
956 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(cipher)); in chcr_aes_rfc3686_setkey()
1024 struct ablk_ctx *ablkctx = ABLK_CTX(c_ctx(tfm)); in chcr_update_tweak()
1115 struct uld_ctx *u_ctx = ULD_CTX(c_ctx(tfm)); in chcr_handle_cipher_resp()
[all …]
Dchcr_crypto.h163 static inline struct chcr_context *c_ctx(struct crypto_ablkcipher *tfm) in c_ctx() function