Searched refs:mdev_type (Results 1 – 8 of 8) sorted by relevance
/linux/include/linux/ |
H A D | mdev.h | 16 struct mdev_type; 22 struct mdev_type *type; 26 struct mdev_type { struct 46 struct mdev_type **types; argument 71 unsigned int (*get_available)(struct mdev_type *mtype); 72 ssize_t (*show_description)(struct mdev_type *mtype, char *buf); 77 struct mdev_driver *mdev_driver, struct mdev_type **types,
|
/linux/drivers/vfio/mdev/ |
H A D | mdev_sysfs.c | 19 ssize_t (*show)(struct mdev_type *mtype, 21 ssize_t (*store)(struct mdev_type *mtype, 35 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_attr_show() 48 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_attr_store() 61 static ssize_t create_store(struct mdev_type *mtype, in create_store() 89 static ssize_t device_api_show(struct mdev_type *mtype, in device_api_show() 96 static ssize_t name_show(struct mdev_type *mtype, in name_show() 105 static ssize_t available_instances_show(struct mdev_type *mtype, in available_instances_show() 118 static ssize_t description_show(struct mdev_type *mtype, in description_show() 156 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_release() [all …]
|
H A D | mdev_private.h | 19 container_of(_kobj, struct mdev_type, kobj) 27 int mdev_device_create(struct mdev_type *kobj, const guid_t *uuid);
|
/linux/Documentation/driver-api/ |
H A D | vfio-mediated-device.rst | 100 unsigned int (*get_available)(struct mdev_type *mtype); 101 ssize_t (*show_description)(struct mdev_type *mtype, char *buf); 230 |--- mdev_type {link to its type}
|
/linux/samples/vfio-mdev/ |
H A D | mdpy.c | 51 struct mdev_type type; 81 static struct mdev_type *mdpy_mdev_types[] = { 654 static ssize_t mdpy_show_description(struct mdev_type *mtype, char *buf) in mdpy_show_description()
|
H A D | mbochs.c | 104 struct mdev_type type; 130 static struct mdev_type *mbochs_mdev_types[] = { 1355 static ssize_t mbochs_show_description(struct mdev_type *mtype, char *buf) in mbochs_show_description() 1364 static unsigned int mbochs_get_available(struct mdev_type *mtype) in mbochs_get_available()
|
H A D | mtty.c | 178 struct mdev_type type; 187 static struct mdev_type *mtty_mdev_types[] = { 1928 static unsigned int mtty_get_available(struct mdev_type *mtype) in mtty_get_available()
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-vfio-mdev | 97 What: /sys/.../<device>/<UUID>/mdev_type
|