Searched refs:dun (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/fs/crypto/ |
D | inline_crypt.c | 240 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]) in fscrypt_generate_dun() 248 memset(dun, 0, BLK_CRYPTO_MAX_IV_SIZE); in fscrypt_generate_dun() 249 for (i = 0; i < ci->ci_mode->ivsize/sizeof(dun[0]); i++) in fscrypt_generate_dun() 250 dun[i] = le64_to_cpu(iv.dun[i]); in fscrypt_generate_dun() 273 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; in fscrypt_set_bio_crypt_ctx() local 279 fscrypt_generate_dun(ci, first_lblk, dun); in fscrypt_set_bio_crypt_ctx() 280 bio_crypt_set_ctx(bio, ci->ci_enc_key.blk_key, dun, gfp_mask); in fscrypt_set_bio_crypt_ctx() 464 u32 dun; in fscrypt_limit_io_blocks() local 479 dun = ci->ci_hashed_ino + lblk; in fscrypt_limit_io_blocks() 481 return min_t(u64, nr_blocks, (u64)U32_MAX + 1 - dun); in fscrypt_limit_io_blocks()
|
D | fscrypt_private.h | 293 __le64 dun[FSCRYPT_MAX_IV_SIZE / sizeof(__le64)]; member
|
/Linux-v6.1/drivers/md/ |
D | dm-io-rewind.c | 79 static void dm_bio_crypt_dun_decrement(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], in dm_bio_crypt_dun_decrement() 85 u64 prev = dun[i]; in dm_bio_crypt_dun_decrement() 87 dun[i] -= dec; in dm_bio_crypt_dun_decrement() 88 if (dun[i] > prev) in dm_bio_crypt_dun_decrement()
|
/Linux-v6.1/block/ |
D | blk-crypto.c | 85 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], gfp_t gfp_mask) in bio_crypt_set_ctx() 98 memcpy(bc->bc_dun, dun, sizeof(bc->bc_dun)); in bio_crypt_set_ctx() 119 void bio_crypt_dun_increment(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], in bio_crypt_dun_increment() 125 dun[i] += inc; in bio_crypt_dun_increment() 130 if (dun[i] < inc) in bio_crypt_dun_increment()
|
D | blk-crypto-fallback.c | 241 __le64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; member 245 static void blk_crypto_dun_to_iv(const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], in blk_crypto_dun_to_iv() 251 iv->dun[i] = cpu_to_le64(dun[i]); in blk_crypto_dun_to_iv()
|
D | blk-crypto-internal.h | 28 void bio_crypt_dun_increment(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],
|
/Linux-v6.1/include/linux/ |
D | blk-crypto.h | 85 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],
|