Home
last modified time | relevance | path

Searched refs:dun (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/fs/crypto/
Dinline_crypt.c213 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]) in fscrypt_generate_dun()
221 memset(dun, 0, BLK_CRYPTO_MAX_IV_SIZE); in fscrypt_generate_dun()
222 for (i = 0; i < ci->ci_mode->ivsize/sizeof(dun[0]); i++) in fscrypt_generate_dun()
223 dun[i] = le64_to_cpu(iv.dun[i]); in fscrypt_generate_dun()
246 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; in fscrypt_set_bio_crypt_ctx() local
252 fscrypt_generate_dun(ci, first_lblk, dun); in fscrypt_set_bio_crypt_ctx()
253 bio_crypt_set_ctx(bio, &ci->ci_enc_key.blk_key->base, dun, gfp_mask); in fscrypt_set_bio_crypt_ctx()
Dfscrypt_private.h288 __le64 dun[FSCRYPT_MAX_IV_SIZE / sizeof(__le64)]; member
/kernel/linux/linux-5.10/block/
Dblk-crypto.c82 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], gfp_t gfp_mask) in bio_crypt_set_ctx()
95 memcpy(bc->bc_dun, dun, sizeof(bc->bc_dun)); in bio_crypt_set_ctx()
117 void bio_crypt_dun_increment(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], in bio_crypt_dun_increment()
123 dun[i] += inc; in bio_crypt_dun_increment()
128 if (dun[i] < inc) in bio_crypt_dun_increment()
Dblk-crypto-fallback.c239 __le64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; member
243 static void blk_crypto_dun_to_iv(const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], in blk_crypto_dun_to_iv()
249 iv->dun[i] = cpu_to_le64(dun[i]); in blk_crypto_dun_to_iv()
Dblk-crypto-internal.h23 void bio_crypt_dun_increment(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],
/kernel/linux/linux-5.10/drivers/hyperhold/
Dhp_device.c22 __le64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; member
168 bio_crypt_set_ctx(bio, blk_key, iv.dun, GFP_NOIO); in inline_crypt_bio()
/kernel/linux/linux-5.10/include/linux/
Dblk-crypto.h85 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],