FreeBSD kernel /amd64 XEN device code
|
#include <block.h>
Data Fields | |
device_t | xbd_dev |
struct disk * | xbd_disk |
struct bio_queue_head | xbd_bioq |
int | xbd_unit |
xbd_flag_t | xbd_flags |
int | xbd_qfrozen_cnt |
int | xbd_vdevice |
xbd_state_t | xbd_state |
u_int | xbd_ring_pages |
uint32_t | xbd_max_requests |
uint32_t | xbd_max_request_segments |
uint32_t | xbd_max_request_size |
uint32_t | xbd_max_request_indirectpages |
grant_ref_t | xbd_ring_ref [XBD_MAX_RING_PAGES] |
blkif_front_ring_t | xbd_ring |
xen_intr_handle_t | xen_intr_handle |
struct gnttab_free_callback | xbd_callback |
xbd_cm_q_t | xbd_cm_q [XBD_Q_COUNT] |
bus_dma_tag_t | xbd_io_dmat |
int | xbd_users |
struct mtx | xbd_io_lock |
struct xbd_command * | xbd_shadow |
struct bio_queue_head xbd_softc::xbd_bioq |
Definition at line 176 of file block.h.
Referenced by xbd_dequeue_bio(), xbd_enqueue_bio(), xbd_initq_bio(), and xbd_requeue_bio().
struct gnttab_free_callback xbd_softc::xbd_callback |
Definition at line 190 of file block.h.
Referenced by xbd_bio_command().
xbd_cm_q_t xbd_softc::xbd_cm_q[XBD_Q_COUNT] |
Definition at line 191 of file block.h.
Referenced by xbd_added_qentry(), xbd_dequeue_cm(), xbd_enqueue_cm(), xbd_initq_cm(), xbd_int(), xbd_queue_length(), xbd_remove_cm(), xbd_removed_qentry(), xbd_requeue_cm(), and xbd_suspend().
device_t xbd_softc::xbd_dev |
Definition at line 174 of file block.h.
Referenced by xbd_alloc_ring(), xbd_attach(), xbd_close(), xbd_connect(), xbd_dump(), xbd_initialize(), xbd_instance_create(), xbd_queue_cb(), and xbd_setup_sysctl().
struct disk* xbd_softc::xbd_disk |
Definition at line 175 of file block.h.
Referenced by xbd_backend_changed(), xbd_closing(), xbd_connect(), xbd_instance_create(), and xbd_queue_cb().
xbd_flag_t xbd_softc::xbd_flags |
Definition at line 178 of file block.h.
Referenced by xbd_bio_command(), xbd_close(), xbd_connect(), xbd_feature_string(), xbd_freeze(), xbd_instance_create(), xbd_open(), and xbd_thaw().
bus_dma_tag_t xbd_softc::xbd_io_dmat |
Definition at line 192 of file block.h.
Referenced by xbd_connect(), xbd_free(), xbd_int(), xbd_queue_cb(), and xbd_queue_request().
struct mtx xbd_softc::xbd_io_lock |
Definition at line 199 of file block.h.
Referenced by xbd_attach(), xbd_connect(), xbd_detach(), xbd_dump(), xbd_free(), xbd_int(), xbd_restart_queue_callback(), xbd_startio(), xbd_strategy(), and xbd_suspend().
uint32_t xbd_softc::xbd_max_request_indirectpages |
Definition at line 186 of file block.h.
Referenced by xbd_connect(), xbd_free(), and xbd_queue_cb().
uint32_t xbd_softc::xbd_max_request_segments |
Definition at line 184 of file block.h.
Referenced by xbd_bio_command(), xbd_connect(), xbd_dump(), and xbd_setup_sysctl().
uint32_t xbd_softc::xbd_max_request_size |
Definition at line 185 of file block.h.
Referenced by xbd_connect(), xbd_dump(), xbd_instance_create(), and xbd_setup_sysctl().
uint32_t xbd_softc::xbd_max_requests |
Definition at line 183 of file block.h.
Referenced by xbd_connect(), xbd_free(), xbd_initialize(), and xbd_setup_sysctl().
int xbd_softc::xbd_qfrozen_cnt |
Definition at line 179 of file block.h.
Referenced by xbd_freeze(), xbd_startio(), and xbd_thaw().
blkif_front_ring_t xbd_softc::xbd_ring |
Definition at line 188 of file block.h.
Referenced by xbd_alloc_ring(), xbd_flush_requests(), xbd_free_ring(), xbd_int(), xbd_queue_cb(), xbd_quiesce(), and xbd_startio().
u_int xbd_softc::xbd_ring_pages |
Definition at line 182 of file block.h.
Referenced by xbd_alloc_ring(), xbd_free_ring(), xbd_initialize(), and xbd_setup_sysctl().
grant_ref_t xbd_softc::xbd_ring_ref[XBD_MAX_RING_PAGES] |
Definition at line 187 of file block.h.
Referenced by xbd_alloc_ring(), xbd_attach(), and xbd_free_ring().
struct xbd_command* xbd_softc::xbd_shadow |
Definition at line 201 of file block.h.
Referenced by xbd_connect(), xbd_free(), and xbd_int().
xbd_state_t xbd_softc::xbd_state |
Definition at line 181 of file block.h.
Referenced by xbd_attach(), xbd_bio_command(), xbd_connect(), xbd_free(), xbd_int(), xbd_resume(), xbd_startio(), and xbd_suspend().
int xbd_softc::xbd_unit |
Definition at line 177 of file block.h.
Referenced by xbd_instance_create().
int xbd_softc::xbd_users |
The number of people holding this device open. We won't allow a hot-unplug unless this is 0.
Definition at line 198 of file block.h.
Referenced by xbd_backend_changed(), xbd_close(), and xbd_open().
int xbd_softc::xbd_vdevice |
Definition at line 180 of file block.h.
Referenced by xbd_attach(), and xbd_connect().
xen_intr_handle_t xbd_softc::xen_intr_handle |
Definition at line 189 of file block.h.
Referenced by xbd_alloc_ring(), xbd_flush_requests(), xbd_free(), and xbd_initialize().