Searched refs:blk_crypto_attr (Results 1 – 1 of 1) sorted by relevance
18 struct blk_crypto_attr { struct21 struct blk_crypto_attr *attr, char *page); argument29 static struct blk_crypto_attr *attr_to_crypto_attr(struct attribute *attr) in attr_to_crypto_attr()31 return container_of(attr, struct blk_crypto_attr, attr); in attr_to_crypto_attr()35 struct blk_crypto_attr *attr, char *page) in max_dun_bits_show()41 struct blk_crypto_attr *attr, char *page) in num_keyslots_show()47 static struct blk_crypto_attr _name##_attr = __ATTR_RO(_name)66 static struct blk_crypto_attr __blk_crypto_mode_attrs[BLK_ENCRYPTION_MODE_MAX];73 struct blk_crypto_attr *a = attr_to_crypto_attr(attr); in blk_crypto_mode_is_visible()82 struct blk_crypto_attr *attr, char *page) in blk_crypto_mode_show()[all …]