blk_crypto_attr
static struct blk_crypto_attr __blk_crypto_mode_attrs[BLK_ENCRYPTION_MODE_MAX];
const struct blk_crypto_attr *a = attr_to_crypto_attr(attr);
const struct blk_crypto_attr *attr, char *page)
const struct blk_crypto_attr *a = attr_to_crypto_attr(attr);
struct blk_crypto_attr *attr = &__blk_crypto_mode_attrs[i];
const struct blk_crypto_attr *attr, char *page);
static const struct blk_crypto_attr *attr_to_crypto_attr(const struct attribute *attr)
return container_of_const(attr, struct blk_crypto_attr, attr);
const struct blk_crypto_attr *attr, char *page)
const struct blk_crypto_attr *attr, char *page)
const struct blk_crypto_attr *attr, char *page)
const struct blk_crypto_attr *attr, char *page)
static const struct blk_crypto_attr _name##_attr = __ATTR_RO(_name)
const struct blk_crypto_attr *a = attr_to_crypto_attr(attr);