Searched refs:mdev_type_attribute (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/vfio/mdev/ |
H A D | mdev_sysfs.c | 17 struct mdev_type_attribute { struct 20 struct mdev_type_attribute *attr, char *buf); argument 22 struct mdev_type_attribute *attr, const char *buf, argument 27 struct mdev_type_attribute mdev_type_attr_##_name = __ATTR_RO(_name) 34 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_show() 47 struct mdev_type_attribute *attr = to_mdev_type_attr(__attr); in mdev_type_attr_store() 62 struct mdev_type_attribute *attr, const char *buf, in create_store() 90 struct mdev_type_attribute *attr, char *buf) in device_api_show() 97 struct mdev_type_attribute *attr, char *buf) in name_show() 106 struct mdev_type_attribute *attr, in available_instances_show() [all …]
|
H A D | mdev_private.h | 20 container_of(_attr, struct mdev_type_attribute, attr)
|