Searched refs:dun (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/fs/crypto/ |
D | inline_crypt.c | 237 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]) in fscrypt_generate_dun() 246 memset(dun, 0, BLK_CRYPTO_MAX_IV_SIZE); in fscrypt_generate_dun() 247 for (i = 0; i < ci->ci_mode->ivsize/sizeof(dun[0]); i++) in fscrypt_generate_dun() 248 dun[i] = le64_to_cpu(iv.dun[i]); in fscrypt_generate_dun() 271 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; in fscrypt_set_bio_crypt_ctx() local 277 fscrypt_generate_dun(ci, first_lblk, dun); in fscrypt_set_bio_crypt_ctx() 278 bio_crypt_set_ctx(bio, ci->ci_enc_key.blk_key, dun, gfp_mask); in fscrypt_set_bio_crypt_ctx() 462 u32 dun; in fscrypt_limit_io_blocks() local 477 dun = ci->ci_hashed_ino + lblk; in fscrypt_limit_io_blocks() 479 return min_t(u64, nr_blocks, (u64)U32_MAX + 1 - dun); in fscrypt_limit_io_blocks()
|
D | fscrypt_private.h | 327 __le64 dun[FSCRYPT_MAX_IV_SIZE / sizeof(__le64)]; member
|
/linux-6.12.1/drivers/md/ |
D | dm-io-rewind.c | 78 static void dm_bio_crypt_dun_decrement(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], in dm_bio_crypt_dun_decrement() 84 u64 prev = dun[i]; in dm_bio_crypt_dun_decrement() 86 dun[i] -= dec; in dm_bio_crypt_dun_decrement() 87 if (dun[i] > prev) in dm_bio_crypt_dun_decrement()
|
/linux-6.12.1/block/ |
D | blk-crypto.c | 92 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], gfp_t gfp_mask) in bio_crypt_set_ctx() 105 memcpy(bc->bc_dun, dun, sizeof(bc->bc_dun)); in bio_crypt_set_ctx() 126 void bio_crypt_dun_increment(u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], in bio_crypt_dun_increment() 132 dun[i] += inc; in bio_crypt_dun_increment() 137 if (dun[i] < inc) in bio_crypt_dun_increment()
|
D | blk-crypto-fallback.c | 242 __le64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; member 246 static void blk_crypto_dun_to_iv(const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], in blk_crypto_dun_to_iv() 252 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-6.12.1/include/linux/ |
D | blk-crypto.h | 83 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE],
|