Home
last modified time | relevance | path

Searched refs:bi_crypt_context (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/block/
A Dblk-crypto.c106 bio->bi_crypt_context = bc; in bio_crypt_set_ctx()
111 mempool_free(bio->bi_crypt_context, bio_crypt_ctx_pool); in __bio_crypt_free_ctx()
112 bio->bi_crypt_context = NULL; in __bio_crypt_free_ctx()
117 dst->bi_crypt_context = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in __bio_crypt_clone()
118 if (!dst->bi_crypt_context) in __bio_crypt_clone()
120 *dst->bi_crypt_context = *src->bi_crypt_context; in __bio_crypt_clone()
145 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in __bio_crypt_advance()
194 return bio_crypt_ctx_compatible(rq->crypt_ctx, bio->bi_crypt_context); in bio_crypt_rq_ctx_compatible()
215 bio->bi_crypt_context->bc_key->crypto_cfg.data_unit_size; in bio_crypt_check_alignment()
275 const struct blk_crypto_key *bc_key = bio->bi_crypt_context->bc_key; in __blk_crypto_bio_prep()
[all …]
A Dblk-crypto-internal.h40 bio->bi_crypt_context); in bio_crypt_ctx_back_mergeable()
46 return bio_crypt_ctx_mergeable(bio->bi_crypt_context, in bio_crypt_ctx_front_mergeable()
143 memcpy(rq->crypt_ctx->bc_dun, bio->bi_crypt_context->bc_dun, in bio_crypt_do_front_merge()
A Dblk-crypto-fallback.c281 bc = src_bio->bi_crypt_context; in blk_crypto_fallback_encrypt_bio()
493 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in blk_crypto_fallback_bio_prep()
A Dbio.c271 bio->bi_crypt_context = NULL; in bio_init()
/linux-6.3-rc2/include/linux/
A Dblk-crypto.h79 return bio->bi_crypt_context; in bio_has_crypt_ctx()
A Dblk_types.h283 struct bio_crypt_ctx *bi_crypt_context; member
/linux-6.3-rc2/fs/crypto/
A Dinline_crypt.c350 const struct bio_crypt_ctx *bc = bio->bi_crypt_context; in fscrypt_mergeable_bio()
388 return !bio->bi_crypt_context; in fscrypt_mergeable_bio_bh()
/linux-6.3-rc2/drivers/md/
A Ddm-io-rewind.c96 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in dm_bio_crypt_rewind()

Completed in 14 milliseconds