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

/linux-master/drivers/md/
H A Ddm-io-rewind.c77 /* Decrements @dun by @dec, treating @dun as a multi-limb integer. */
78 static void dm_bio_crypt_dun_decrement(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], argument
84 u64 prev = dun[i];
86 dun[i] -= dec;
87 if (dun[i] > prev)
/linux-master/fs/crypto/
H A Dinline_crypt.c237 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE])
246 memset(dun, 0, BLK_CRYPTO_MAX_IV_SIZE);
247 for (i = 0; i < ci->ci_mode->ivsize/sizeof(dun[0]); i++)
248 dun[i] = le64_to_cpu(iv.dun[i]);
271 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; local
277 fscrypt_generate_dun(ci, first_lblk, dun);
278 bio_crypt_set_ctx(bio, ci->ci_enc_key.blk_key, dun, gfp_mask);
462 u32 dun; local
477 dun
235 fscrypt_generate_dun(const struct fscrypt_inode_info *ci, u64 lblk_num, u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]) argument
[all...]
H A Dfscrypt_private.h327 __le64 dun[FSCRYPT_MAX_IV_SIZE / sizeof(__le64)]; member in union:fscrypt_iv
/linux-master/block/
H A Dblk-crypto.c92 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], gfp_t gfp_mask)
105 memcpy(bc->bc_dun, dun, sizeof(bc->bc_dun));
125 /* Increments @dun by @inc, treating @dun as a multi-limb integer. */
126 void bio_crypt_dun_increment(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], argument
132 dun[i] += inc;
137 if (dun[i] < inc)
91 bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], gfp_t gfp_mask) argument
H A Dblk-crypto-internal.h28 void bio_crypt_dun_increment(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],
H A Dblk-crypto-fallback.c242 __le64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; member in union:blk_crypto_iv
246 static void blk_crypto_dun_to_iv(const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], argument
252 iv->dun[i] = cpu_to_le64(dun[i]);
/linux-master/include/linux/
H A Dblk-crypto.h83 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],

Completed in 214 milliseconds