Searched refs:crypto_profile (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/scsi/ufs/ |
A D | ufshcd-crypto.c | 56 container_of(profile, struct ufs_hba, crypto_profile); in ufshcd_crypto_keyslot_program() 114 container_of(profile, struct ufs_hba, crypto_profile); in ufshcd_crypto_keyslot_evict() 125 blk_crypto_reprogram_all_keys(&hba->crypto_profile); in ufshcd_crypto_enable() 185 hba->dev, &hba->crypto_profile, in ufshcd_hba_init_crypto_capabilities() 190 hba->crypto_profile.ll_ops = ufshcd_crypto_ops; in ufshcd_hba_init_crypto_capabilities() 192 hba->crypto_profile.max_dun_bytes_supported = 8; in ufshcd_hba_init_crypto_capabilities() 193 hba->crypto_profile.dev = hba->dev; in ufshcd_hba_init_crypto_capabilities() 208 hba->crypto_profile.modes_supported[blk_mode_num] |= in ufshcd_hba_init_crypto_capabilities() 239 blk_crypto_register(&hba->crypto_profile, q); in ufshcd_crypto_register()
|
A D | ufshcd.h | 934 struct blk_crypto_profile crypto_profile; member
|
/linux/block/ |
A D | blk-crypto.c | 221 return blk_crypto_get_keyslot(rq->q->crypto_profile, in __blk_crypto_init_request() 285 profile = bdev_get_queue(bio->bi_bdev)->crypto_profile; in __blk_crypto_bio_prep() 362 __blk_crypto_cfg_supported(q->crypto_profile, cfg); in blk_crypto_config_supported() 383 if (__blk_crypto_cfg_supported(q->crypto_profile, &key->crypto_cfg)) in blk_crypto_start_using_key() 404 if (__blk_crypto_cfg_supported(q->crypto_profile, &key->crypto_cfg)) in blk_crypto_evict_key() 405 return __blk_crypto_evict_key(q->crypto_profile, key); in blk_crypto_evict_key()
|
A D | blk-crypto-profile.c | 461 q->crypto_profile = profile; in blk_crypto_register() 468 q->crypto_profile = NULL; in blk_crypto_unregister()
|
A D | blk-integrity.c | 412 if (disk->queue->crypto_profile) { in blk_integrity_register()
|
/linux/drivers/mmc/core/ |
A D | crypto.c | 19 blk_crypto_reprogram_all_keys(&host->crypto_profile); in mmc_crypto_set_initial_state() 25 blk_crypto_register(&host->crypto_profile, q); in mmc_crypto_setup_queue()
|
/linux/drivers/md/ |
A D | dm-table.c | 1246 bdev_get_queue(dev->bdev)->crypto_profile; in device_intersect_crypto_capabilities() 1267 dm_destroy_crypto_profile(t->crypto_profile); in dm_table_destroy_crypto_profile() 1268 t->crypto_profile = NULL; in dm_table_destroy_crypto_profile() 1316 t->md->queue->crypto_profile)) { in dm_table_construct_crypto_profile() 1343 t->crypto_profile = profile; in dm_table_construct_crypto_profile() 1351 if (!t->crypto_profile) in dm_update_crypto_profile() 1355 if (!q->crypto_profile) { in dm_update_crypto_profile() 1356 blk_crypto_register(t->crypto_profile, q); in dm_update_crypto_profile() 1359 t->crypto_profile); in dm_update_crypto_profile() 1360 dm_destroy_crypto_profile(t->crypto_profile); in dm_update_crypto_profile() [all …]
|
A D | dm-core.h | 203 struct blk_crypto_profile *crypto_profile; member
|
A D | dm.c | 1668 dm_destroy_crypto_profile(q->crypto_profile); in dm_queue_destroy_crypto_profile()
|
/linux/drivers/mmc/host/ |
A D | cqhci-crypto.c | 29 container_of(profile, struct mmc_host, crypto_profile); in cqhci_host_from_crypto_profile() 172 struct blk_crypto_profile *profile = &mmc->crypto_profile; in cqhci_crypto_init()
|
/linux/include/linux/mmc/ |
A D | host.h | 498 struct blk_crypto_profile crypto_profile; member
|
/linux/include/linux/ |
A D | blkdev.h | 263 struct blk_crypto_profile *crypto_profile; member
|
Completed in 33 milliseconds