FreeBSD xen subsystem code
|
Container for all state needed to manage a Xenbus Bus attachment. More...
#include <xenbusb.h>
Data Fields | |
struct xs_watch | xbs_device_watch |
struct mtx | xbs_lock |
xenbusb_softc_flag | xbs_flags |
struct task | xbs_probe_children |
struct intr_config_hook | xbs_attach_ch |
u_int | xbs_connecting_children |
device_t | xbs_dev |
const char * | xbs_node |
u_int | xbs_id_components |
Container for all state needed to manage a Xenbus Bus attachment.
struct intr_config_hook xenbusb_softc::xbs_attach_ch |
Config Hook used to block boot processing until XenBus devices complete their connection processing with other VMs.
Definition at line 87 of file xenbusb.h.
Referenced by xenbusb_attach().
u_int xenbusb_softc::xbs_connecting_children |
The number of children for this bus that are still in the connecting (to other VMs) state. This variable is used to determine when to release xbs_attach_ch.
Definition at line 94 of file xenbusb.h.
Referenced by xenbusb_add_device(), and xenbusb_release_confighook().
device_t xenbusb_softc::xbs_dev |
The NewBus device_t for this bus attachment.
Definition at line 97 of file xenbusb.h.
Referenced by xenbusb_attach(), xenbusb_devices_changed(), and xenbusb_enumerate_bus().
struct xs_watch xenbusb_softc::xbs_device_watch |
xenbusb_softc_flag xenbusb_softc::xbs_flags |
State flags.
Definition at line 74 of file xenbusb.h.
Referenced by xenbusb_attach(), xenbusb_back_attach(), and xenbusb_release_confighook().
u_int xenbusb_softc::xbs_id_components |
The number of path components (strings separated by the '/' character) that make up the device ID on this bus.
Definition at line 109 of file xenbusb.h.
Referenced by xenbusb_attach(), and xenbusb_devices_changed().
struct mtx xenbusb_softc::xbs_lock |
Mutex used to protect fields of the xenbusb_softc.
Definition at line 71 of file xenbusb.h.
Referenced by xenbusb_add_device(), xenbusb_attach(), xenbusb_back_attach(), and xenbusb_release_confighook().
const char* xenbusb_softc::xbs_node |
The VM relative path to the XenStore subtree this bus attachment manages.
Definition at line 103 of file xenbusb.h.
Referenced by xenbusb_add_device(), xenbusb_attach(), xenbusb_back_enumerate_type(), xenbusb_enumerate_bus(), and xenbusb_front_enumerate_type().
struct task xenbusb_softc::xbs_probe_children |
A dedicated task for processing child arrival and departure events.
Definition at line 80 of file xenbusb.h.
Referenced by xenbusb_devices_changed().