Home
last modified time | relevance | path

Searched refs:blk_crypto_attr (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dblk-crypto-sysfs.c18 struct blk_crypto_attr { struct
21 struct blk_crypto_attr *attr, char *page); argument
29 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)
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()
105 struct blk_crypto_attr *a = attr_to_crypto_attr(attr); in blk_crypto_attr_show()
[all …]