Home
last modified time | relevance | path

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

/fs/crypto/
Dinline_crypt.c272 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]) in fscrypt_generate_dun()
281 memset(dun, 0, BLK_CRYPTO_MAX_IV_SIZE); in fscrypt_generate_dun()
282 for (i = 0; i < ci->ci_mode->ivsize/sizeof(dun[0]); i++) in fscrypt_generate_dun()
283 dun[i] = le64_to_cpu(iv.dun[i]); in fscrypt_generate_dun()
308 u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE]; in fscrypt_set_bio_crypt_ctx() local
317 fscrypt_generate_dun(ci, first_lblk, dun); in fscrypt_set_bio_crypt_ctx()
318 bio_crypt_set_ctx(bio, ci->ci_enc_key.blk_key, dun, gfp_mask); in fscrypt_set_bio_crypt_ctx()
509 u32 dun; in fscrypt_limit_io_blocks() local
524 dun = ci->ci_hashed_ino + lblk; in fscrypt_limit_io_blocks()
526 return min_t(u64, nr_blocks, (u64)U32_MAX + 1 - dun); in fscrypt_limit_io_blocks()
Dfscrypt_private.h346 __le64 dun[FSCRYPT_MAX_IV_SIZE / sizeof(__le64)]; member