Home
last modified time | relevance | path

Searched refs:blk_key (Results 1 – 24 of 24) sorted by relevance

/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/crypto/
H A Dinline_crypt.c139 blk_key = kzalloc(struct_size(blk_key, devs, num_devs), GFP_KERNEL); in fscrypt_prepare_inline_crypt_key()
140 if (!blk_key) in fscrypt_prepare_inline_crypt_key()
143 blk_key->num_devs = num_devs; in fscrypt_prepare_inline_crypt_key()
169 blk_key->devs[i]); in fscrypt_prepare_inline_crypt_key()
182 smp_store_release(&prep_key->blk_key, blk_key); in fscrypt_prepare_inline_crypt_key()
187 blk_put_queue(blk_key->devs[i]); in fscrypt_prepare_inline_crypt_key()
188 kfree_sensitive(blk_key); in fscrypt_prepare_inline_crypt_key()
194 struct fscrypt_blk_crypto_key *blk_key = prep_key->blk_key; in fscrypt_destroy_inline_crypt_key() local
197 if (blk_key) { in fscrypt_destroy_inline_crypt_key()
199 blk_crypto_evict_key(blk_key->devs[i], &blk_key->base); in fscrypt_destroy_inline_crypt_key()
[all …]
H A Dfscrypt_private.h182 struct fscrypt_blk_crypto_key *blk_key; member
364 return smp_load_acquire(&prep_key->blk_key) != NULL; in fscrypt_is_key_prepared()
/dports/multimedia/libv4l/linux-5.13-rc2/fs/crypto/
H A Dinline_crypt.c139 blk_key = kzalloc(struct_size(blk_key, devs, num_devs), GFP_KERNEL); in fscrypt_prepare_inline_crypt_key()
140 if (!blk_key) in fscrypt_prepare_inline_crypt_key()
143 blk_key->num_devs = num_devs; in fscrypt_prepare_inline_crypt_key()
169 blk_key->devs[i]); in fscrypt_prepare_inline_crypt_key()
182 smp_store_release(&prep_key->blk_key, blk_key); in fscrypt_prepare_inline_crypt_key()
187 blk_put_queue(blk_key->devs[i]); in fscrypt_prepare_inline_crypt_key()
188 kfree_sensitive(blk_key); in fscrypt_prepare_inline_crypt_key()
194 struct fscrypt_blk_crypto_key *blk_key = prep_key->blk_key; in fscrypt_destroy_inline_crypt_key() local
197 if (blk_key) { in fscrypt_destroy_inline_crypt_key()
199 blk_crypto_evict_key(blk_key->devs[i], &blk_key->base); in fscrypt_destroy_inline_crypt_key()
[all …]
H A Dfscrypt_private.h182 struct fscrypt_blk_crypto_key *blk_key; member
364 return smp_load_acquire(&prep_key->blk_key) != NULL; in fscrypt_is_key_prepared()
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/crypto/
H A Dinline_crypt.c139 blk_key = kzalloc(struct_size(blk_key, devs, num_devs), GFP_KERNEL); in fscrypt_prepare_inline_crypt_key()
140 if (!blk_key) in fscrypt_prepare_inline_crypt_key()
143 blk_key->num_devs = num_devs; in fscrypt_prepare_inline_crypt_key()
169 blk_key->devs[i]); in fscrypt_prepare_inline_crypt_key()
182 smp_store_release(&prep_key->blk_key, blk_key); in fscrypt_prepare_inline_crypt_key()
187 blk_put_queue(blk_key->devs[i]); in fscrypt_prepare_inline_crypt_key()
188 kfree_sensitive(blk_key); in fscrypt_prepare_inline_crypt_key()
194 struct fscrypt_blk_crypto_key *blk_key = prep_key->blk_key; in fscrypt_destroy_inline_crypt_key() local
197 if (blk_key) { in fscrypt_destroy_inline_crypt_key()
199 blk_crypto_evict_key(blk_key->devs[i], &blk_key->base); in fscrypt_destroy_inline_crypt_key()
[all …]
H A Dfscrypt_private.h182 struct fscrypt_blk_crypto_key *blk_key; member
364 return smp_load_acquire(&prep_key->blk_key) != NULL; in fscrypt_is_key_prepared()
/dports/multimedia/v4l-utils/linux-5.13-rc2/block/
H A Dblk-crypto.c319 int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key, in blk_crypto_init_key() argument
326 memset(blk_key, 0, sizeof(*blk_key)); in blk_crypto_init_key()
341 blk_key->crypto_cfg.crypto_mode = crypto_mode; in blk_crypto_init_key()
342 blk_key->crypto_cfg.dun_bytes = dun_bytes; in blk_crypto_init_key()
343 blk_key->crypto_cfg.data_unit_size = data_unit_size; in blk_crypto_init_key()
344 blk_key->data_unit_size_bits = ilog2(data_unit_size); in blk_crypto_init_key()
345 blk_key->size = mode->keysize; in blk_crypto_init_key()
346 memcpy(blk_key->raw, raw_key, mode->keysize); in blk_crypto_init_key()
/dports/multimedia/v4l_compat/linux-5.13-rc2/block/
H A Dblk-crypto.c319 int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key, in blk_crypto_init_key() argument
326 memset(blk_key, 0, sizeof(*blk_key)); in blk_crypto_init_key()
341 blk_key->crypto_cfg.crypto_mode = crypto_mode; in blk_crypto_init_key()
342 blk_key->crypto_cfg.dun_bytes = dun_bytes; in blk_crypto_init_key()
343 blk_key->crypto_cfg.data_unit_size = data_unit_size; in blk_crypto_init_key()
344 blk_key->data_unit_size_bits = ilog2(data_unit_size); in blk_crypto_init_key()
345 blk_key->size = mode->keysize; in blk_crypto_init_key()
346 memcpy(blk_key->raw, raw_key, mode->keysize); in blk_crypto_init_key()
/dports/multimedia/libv4l/linux-5.13-rc2/block/
H A Dblk-crypto.c319 int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key, in blk_crypto_init_key() argument
326 memset(blk_key, 0, sizeof(*blk_key)); in blk_crypto_init_key()
341 blk_key->crypto_cfg.crypto_mode = crypto_mode; in blk_crypto_init_key()
342 blk_key->crypto_cfg.dun_bytes = dun_bytes; in blk_crypto_init_key()
343 blk_key->crypto_cfg.data_unit_size = data_unit_size; in blk_crypto_init_key()
344 blk_key->data_unit_size_bits = ilog2(data_unit_size); in blk_crypto_init_key()
345 blk_key->size = mode->keysize; in blk_crypto_init_key()
346 memcpy(blk_key->raw, raw_key, mode->keysize); in blk_crypto_init_key()
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/librocksdb-sys-6.7.4/rocksdb/utilities/persistent_cache/
H A Dblock_cache_tier.cc291 Slice blk_key; in Lookup() local
294 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
303 assert(blk_key == key); in Lookup()
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/rocksdb/utilities/persistent_cache/
H A Dblock_cache_tier.cc291 Slice blk_key; in Lookup() local
294 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
303 assert(blk_key == key); in Lookup()
/dports/databases/rocksdb/rocksdb-6.26.1/utilities/persistent_cache/
H A Dblock_cache_tier.cc290 Slice blk_key; in Lookup() local
293 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
302 assert(blk_key == key); in Lookup()
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/rocksdb/utilities/persistent_cache/
H A Dblock_cache_tier.cc291 Slice blk_key; in Lookup() local
294 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
303 assert(blk_key == key); in Lookup()
/dports/databases/rocksdb-lite/rocksdb-6.26.1/utilities/persistent_cache/
H A Dblock_cache_tier.cc290 Slice blk_key; in Lookup() local
293 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
302 assert(blk_key == key); in Lookup()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/rocksdb/rocksdb/utilities/persistent_cache/
H A Dblock_cache_tier.cc291 Slice blk_key; in Lookup() local
294 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
303 assert(blk_key == key); in Lookup()
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/rocksdb/rocksdb/utilities/persistent_cache/
H A Dblock_cache_tier.cc291 Slice blk_key; in Lookup() local
294 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
303 assert(blk_key == key); in Lookup()
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/rocksdb/rocksdb/utilities/persistent_cache/
H A Dblock_cache_tier.cc291 Slice blk_key; in Lookup() local
294 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
303 assert(blk_key == key); in Lookup()
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/rocksdb/rocksdb/utilities/persistent_cache/
H A Dblock_cache_tier.cc291 Slice blk_key; in Lookup() local
294 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
303 assert(blk_key == key); in Lookup()
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/rocksdb/rocksdb/utilities/persistent_cache/
H A Dblock_cache_tier.cc291 Slice blk_key; in Lookup() local
294 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
303 assert(blk_key == key); in Lookup()
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/rocksdb/rocksdb/utilities/persistent_cache/
H A Dblock_cache_tier.cc291 Slice blk_key; in Lookup() local
294 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
303 assert(blk_key == key); in Lookup()
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/rocksdb/rocksdb/utilities/persistent_cache/
H A Dblock_cache_tier.cc291 Slice blk_key; in Lookup() local
294 status = file->Read(lba, &blk_key, &blk_val, scratch.get()); in Lookup()
303 assert(blk_key == key); in Lookup()
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/
H A Dblk-crypto.h92 int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key,
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/
H A Dblk-crypto.h92 int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key,
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/
H A Dblk-crypto.h92 int blk_crypto_init_key(struct blk_crypto_key *blk_key, const u8 *raw_key,