Searched refs:bc1 (Results 1 - 2 of 2) sorted by relevance

/linux-master/block/
H A Dblk-crypto.c184 static bool bio_crypt_ctx_compatible(struct bio_crypt_ctx *bc1, argument
187 if (!bc1)
190 return bc2 && bc1->bc_key == bc2->bc_key;
201 * in the order @bc1 followed by @bc2.
203 bool bio_crypt_ctx_mergeable(struct bio_crypt_ctx *bc1, unsigned int bc1_bytes, argument
206 if (!bio_crypt_ctx_compatible(bc1, bc2))
209 return !bc1 || bio_crypt_dun_is_contiguous(bc1, bc1_bytes, bc2->bc_dun);
H A Dblk-crypto-internal.h33 bool bio_crypt_ctx_mergeable(struct bio_crypt_ctx *bc1, unsigned int bc1_bytes,

Completed in 317 milliseconds