Lines Matching defs:profile
9 #include <linux/blk-crypto-profile.h>
15 struct blk_crypto_profile *profile;
20 ssize_t (*show)(struct blk_crypto_profile *profile,
26 return container_of(kobj, struct blk_crypto_kobj, kobj)->profile;
34 static ssize_t max_dun_bits_show(struct blk_crypto_profile *profile,
37 return sysfs_emit(page, "%u\n", 8 * profile->max_dun_bytes_supported);
40 static ssize_t num_keyslots_show(struct blk_crypto_profile *profile,
43 return sysfs_emit(page, "%u\n", profile->num_slots);
72 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj);
76 if (profile->modes_supported[mode_num])
81 static ssize_t blk_crypto_mode_show(struct blk_crypto_profile *profile,
86 return sysfs_emit(page, "0x%x\n", profile->modes_supported[mode_num]);
104 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj);
107 return a->show(profile, a, page);
141 obj->profile = q->crypto_profile;