Searched refs:dun (Results 1 - 7 of 7) sorted by relevance
/linux-master/drivers/md/ |
H A D | dm-io-rewind.c | 77 /* 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 D | inline_crypt.c | 237 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 D | fscrypt_private.h | 327 __le64 dun[FSCRYPT_MAX_IV_SIZE / sizeof(__le64)]; member in union:fscrypt_iv
|
/linux-master/block/ |
H A D | blk-crypto.c | 92 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 D | blk-crypto-internal.h | 28 void bio_crypt_dun_increment(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],
|
H A D | blk-crypto-fallback.c | 242 __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 D | blk-crypto.h | 83 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],
|
Completed in 214 milliseconds