Lines Matching defs:bdev
360 bool blk_crypto_config_supported_natively(struct block_device *bdev,
363 return __blk_crypto_cfg_supported(bdev_get_queue(bdev)->crypto_profile,
372 bool blk_crypto_config_supported(struct block_device *bdev,
376 blk_crypto_config_supported_natively(bdev, cfg);
381 * @bdev: block device to operate on
394 int blk_crypto_start_using_key(struct block_device *bdev,
397 if (blk_crypto_config_supported_natively(bdev, &key->crypto_cfg))
404 * @bdev: a block_device on which I/O using the key may have been done
417 void blk_crypto_evict_key(struct block_device *bdev,
420 struct request_queue *q = bdev_get_queue(bdev);
423 if (blk_crypto_config_supported_natively(bdev, &key->crypto_cfg))
436 pr_warn_ratelimited("%pg: error %d evicting key\n", bdev, err);