Lines Matching refs:err
159 int err = blk_crypto_profile_init(profile, num_slots); in devm_blk_crypto_profile_init() local
161 if (err) in devm_blk_crypto_profile_init()
162 return err; in devm_blk_crypto_profile_init()
254 int err; in blk_crypto_get_keyslot() local
295 err = profile->ll_ops.keyslot_program(profile, key, slot_idx); in blk_crypto_get_keyslot()
296 if (err) { in blk_crypto_get_keyslot()
299 return errno_to_blk_status(err); in blk_crypto_get_keyslot()
369 int err; in __blk_crypto_evict_key() local
374 err = profile->ll_ops.keyslot_evict(profile, key, -1); in __blk_crypto_evict_key()
376 return err; in __blk_crypto_evict_key()
388 err = 0; in __blk_crypto_evict_key()
394 err = -EBUSY; in __blk_crypto_evict_key()
397 err = profile->ll_ops.keyslot_evict(profile, key, in __blk_crypto_evict_key()
408 return err; in __blk_crypto_evict_key()
431 int err; in blk_crypto_reprogram_all_keys() local
436 err = profile->ll_ops.keyslot_program(profile, key, slot); in blk_crypto_reprogram_all_keys()
437 WARN_ON(err); in blk_crypto_reprogram_all_keys()
490 int err; in blk_crypto_derive_sw_secret() local
499 err = profile->ll_ops.derive_sw_secret(profile, eph_key, eph_key_size, in blk_crypto_derive_sw_secret()
502 return err; in blk_crypto_derive_sw_secret()