Lines Matching refs:crypto_modes_supported
338 if (!(ksm->crypto_modes_supported[cfg->crypto_mode] & in blk_ksm_crypto_cfg_supported()
521 for (i = 0; i < ARRAY_SIZE(child->crypto_modes_supported); in blk_ksm_intersect_modes()
523 parent->crypto_modes_supported[i] &= in blk_ksm_intersect_modes()
524 child->crypto_modes_supported[i]; in blk_ksm_intersect_modes()
529 memset(parent->crypto_modes_supported, 0, in blk_ksm_intersect_modes()
530 sizeof(parent->crypto_modes_supported)); in blk_ksm_intersect_modes()
559 for (i = 0; i < ARRAY_SIZE(ksm_superset->crypto_modes_supported); i++) { in blk_ksm_is_superset()
560 if (ksm_subset->crypto_modes_supported[i] & in blk_ksm_is_superset()
561 (~ksm_superset->crypto_modes_supported[i])) { in blk_ksm_is_superset()
604 memcpy(target_ksm->crypto_modes_supported, in blk_ksm_update_capabilities()
605 reference_ksm->crypto_modes_supported, in blk_ksm_update_capabilities()
606 sizeof(target_ksm->crypto_modes_supported)); in blk_ksm_update_capabilities()