Home
last modified time | relevance | path

Searched refs:key (Results 1 – 14 of 14) sorted by relevance

/block/
A Dblk-crypto-profile.c41 const struct blk_crypto_key *key; member
191 const struct blk_crypto_key *key) in blk_crypto_find_keyslot() argument
198 if (slotp->key == key) in blk_crypto_find_keyslot()
206 const struct blk_crypto_key *key) in blk_crypto_find_and_grab_keyslot() argument
249 const struct blk_crypto_key *key, in blk_crypto_get_keyslot() argument
303 if (slot->key) in blk_crypto_get_keyslot()
305 slot->key = key; in blk_crypto_get_keyslot()
366 const struct blk_crypto_key *key) in __blk_crypto_evict_key() argument
405 slot->key = NULL; in __blk_crypto_evict_key()
430 const struct blk_crypto_key *key = profile->slots[slot].key; in blk_crypto_reprogram_all_keys() local
[all …]
A Dsed-opal.c308 struct key *key; in read_sed_opal_key() local
326 ret = key->type->read(key, (char *)buffer, buflen); in read_sed_opal_key()
345 ret = read_sed_opal_key(OPAL_AUTH_KEY, key->key, OPAL_KEY_MAX); in opal_get_key()
363 if (key->key_type != OPAL_INCLUDED || key->key_len == 0) { in opal_get_key()
1752 if (!key) { in start_SIDASP_opal_session()
1757 okey->key, in start_SIDASP_opal_session()
1763 kfree(key); in start_SIDASP_opal_session()
1776 key->key, key->key_len); in start_admin1LSP_opal_session()
1796 u8 *key = session->opal_key.key; in start_auth_opal_session() local
2027 if (generic_pw_cmd(key->key, key->key_len, cpin_uid, dev)) { in set_sid_cpin_pin()
[all …]
A Dblk-crypto.c101 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, in bio_crypt_set_ctx() argument
114 bc->bc_key = key; in bio_crypt_set_ctx()
424 const struct blk_crypto_key *key) in blk_crypto_start_using_key() argument
426 if (blk_crypto_config_supported_natively(bdev, &key->crypto_cfg)) in blk_crypto_start_using_key()
428 if (key->crypto_cfg.key_type != BLK_CRYPTO_KEY_TYPE_RAW) { in blk_crypto_start_using_key()
432 return blk_crypto_fallback_start_using_mode(key->crypto_cfg.crypto_mode); in blk_crypto_start_using_key()
451 const struct blk_crypto_key *key) in blk_crypto_evict_key() argument
456 if (blk_crypto_config_supported_natively(bdev, &key->crypto_cfg)) in blk_crypto_evict_key()
457 err = __blk_crypto_evict_key(q->crypto_profile, key); in blk_crypto_evict_key()
459 err = blk_crypto_fallback_evict_key(key); in blk_crypto_evict_key()
A Dblk-crypto-internal.h75 const struct blk_crypto_key *key,
81 const struct blk_crypto_key *key);
224 int blk_crypto_fallback_evict_key(const struct blk_crypto_key *key);
243 blk_crypto_fallback_evict_key(const struct blk_crypto_key *key) in blk_crypto_fallback_evict_key() argument
A Dblk-crypto-fallback.c109 const struct blk_crypto_key *key, in blk_crypto_fallback_keyslot_program() argument
114 key->crypto_cfg.crypto_mode; in blk_crypto_fallback_keyslot_program()
122 err = crypto_skcipher_setkey(slotp->tfms[crypto_mode], key->bytes, in blk_crypto_fallback_keyslot_program()
123 key->size); in blk_crypto_fallback_keyslot_program()
132 const struct blk_crypto_key *key, in blk_crypto_fallback_keyslot_evict() argument
529 int blk_crypto_fallback_evict_key(const struct blk_crypto_key *key) in blk_crypto_fallback_evict_key() argument
531 return __blk_crypto_evict_key(blk_crypto_fallback_profile, key); in blk_crypto_fallback_evict_key()
A Dblk-rq-qos.c208 unsigned int mode, int wake_flags, void *key) in rq_qos_wake_function() argument
227 default_wake_function(curr, mode, wake_flags, key); in rq_qos_wake_function()
A Dblk-flush.c534 struct lock_class_key *key) in blk_mq_hctx_set_fq_lock_class() argument
536 lockdep_set_class(&hctx->fq->mq_flush_lock, key); in blk_mq_hctx_set_fq_lock_class()
A Dioctl.c369 return ops->pr_reserve(bdev, rsv.key, rsv.type, rsv.flags); in blkdev_pr_reserve()
387 return ops->pr_release(bdev, rsv.key, rsv.type); in blkdev_pr_release()
423 return ops->pr_clear(bdev, c.key); in blkdev_pr_clear()
A Dblk-iolatency.c867 char key[16]; in iolatency_set_limit() local
870 if (sscanf(tok, "%15[^=]=%20s", key, val) != 2) in iolatency_set_limit()
873 if (!strcmp(key, "target")) { in iolatency_set_limit()
A Dblk-cgroup.h478 static inline struct blkcg_gq *blkg_lookup(struct blkcg *blkcg, void *key) { return NULL; } in blkg_lookup() argument
A Dkyber-iosched.c191 void *key);
684 void *key) in kyber_domain_wake() argument
A Dblk-throttle.c409 unsigned long key = tg->disptime; in tg_service_queue_add() local
416 if (time_before(key, __tg->disptime)) in tg_service_queue_add()
A Dblk-iocost.c1469 int flags, void *key) in iocg_wake_fn() argument
1472 struct iocg_wake_ctx *ctx = key; in iocg_wake_fn()
1490 default_wake_function(wq_entry, mode, flags, key); in iocg_wake_fn()
A Dblk-mq.c1865 int flags, void *key) in blk_mq_dispatch_wake() argument

Completed in 67 milliseconds