iPXE
|
A VMBus device. More...
#include <vmbus.h>
Data Fields | |
struct device | dev |
Generic iPXE device. More... | |
struct hv_hypervisor * | hv |
Hyper-V hypervisor. More... | |
union uuid | instance |
Channel instance. More... | |
unsigned int | channel |
Channel ID. More... | |
unsigned int | monitor |
Monitor ID. More... | |
void(* | signal )(struct vmbus_device *vmdev) |
Signal channel. More... | |
uint32_t | out_len |
Outbound ring buffer length. More... | |
uint32_t | in_len |
Inbound ring buffer length. More... | |
struct vmbus_ring * | out |
Outbound ring buffer. More... | |
struct vmbus_ring * | in |
Inbound ring buffer. More... | |
unsigned int | gpadl |
Ring buffer GPADL ID. More... | |
struct vmbus_channel_operations * | op |
Channel operations. More... | |
size_t | mtu |
Maximum expected data packet length. More... | |
void * | packet |
Packet buffer. More... | |
struct list_head | pages |
List of transfer page sets. More... | |
struct vmbus_driver * | driver |
Driver. More... | |
void * | priv |
Driver-private data. More... | |
struct device vmbus_device::dev |
Generic iPXE device.
Definition at line 478 of file vmbus.h.
Referenced by netvsc_probe(), vmbus_close(), vmbus_dump_channel(), vmbus_establish_gpadl(), vmbus_gpadl_teardown(), vmbus_open(), vmbus_poll(), vmbus_probe_channels(), vmbus_remove_channels(), vmbus_reset_channels(), vmbus_send(), vmbus_signal_event(), vmbus_xfer_page_iobufs(), and vmbus_xfer_pages().
struct hv_hypervisor* vmbus_device::hv |
Hyper-V hypervisor.
Definition at line 480 of file vmbus.h.
Referenced by vmbus_close(), vmbus_establish_gpadl(), vmbus_gpadl_teardown(), vmbus_open(), vmbus_probe_channels(), vmbus_reset_channels(), vmbus_send(), vmbus_signal_event(), and vmbus_signal_monitor().
union uuid vmbus_device::instance |
unsigned int vmbus_device::channel |
Channel ID.
Definition at line 485 of file vmbus.h.
Referenced by vmbus_close(), vmbus_establish_gpadl(), vmbus_gpadl_teardown(), vmbus_open(), vmbus_probe_channels(), and vmbus_send().
unsigned int vmbus_device::monitor |
Monitor ID.
Definition at line 487 of file vmbus.h.
Referenced by vmbus_probe_channels(), and vmbus_signal_monitor().
void( * vmbus_device::signal) (struct vmbus_device *vmdev) |
Signal channel.
vmdev | VMBus device |
Definition at line 492 of file vmbus.h.
Referenced by vmbus_probe_channels(), and vmbus_send().
uint32_t vmbus_device::out_len |
Outbound ring buffer length.
Definition at line 495 of file vmbus.h.
Referenced by vmbus_close(), vmbus_open(), vmbus_produce(), and vmbus_send().
uint32_t vmbus_device::in_len |
Inbound ring buffer length.
Definition at line 497 of file vmbus.h.
Referenced by vmbus_close(), vmbus_consume(), vmbus_dump_channel(), vmbus_open(), and vmbus_poll().
struct vmbus_ring* vmbus_device::out |
Outbound ring buffer.
Definition at line 499 of file vmbus.h.
Referenced by vmbus_close(), vmbus_dump_channel(), vmbus_open(), vmbus_produce(), vmbus_remove_channels(), and vmbus_send().
struct vmbus_ring* vmbus_device::in |
Inbound ring buffer.
Definition at line 501 of file vmbus.h.
Referenced by vmbus_close(), vmbus_consume(), vmbus_dump_channel(), vmbus_has_data(), vmbus_open(), vmbus_poll(), and vmbus_remove_channels().
unsigned int vmbus_device::gpadl |
Ring buffer GPADL ID.
Definition at line 503 of file vmbus.h.
Referenced by vmbus_close(), and vmbus_open().
struct vmbus_channel_operations* vmbus_device::op |
Channel operations.
Definition at line 506 of file vmbus.h.
Referenced by vmbus_open(), and vmbus_poll().
size_t vmbus_device::mtu |
Maximum expected data packet length.
Definition at line 508 of file vmbus.h.
Referenced by vmbus_open(), vmbus_poll(), and vmbus_send_data().
void* vmbus_device::packet |
Packet buffer.
Definition at line 510 of file vmbus.h.
Referenced by vmbus_close(), vmbus_open(), vmbus_poll(), vmbus_remove_channels(), vmbus_send_cancellation(), vmbus_send_completion(), vmbus_send_control(), and vmbus_send_data().
struct list_head vmbus_device::pages |
List of transfer page sets.
Definition at line 512 of file vmbus.h.
Referenced by vmbus_probe_channels(), vmbus_register_pages(), vmbus_remove_channels(), vmbus_unregister_pages(), and vmbus_xfer_pages().
struct vmbus_driver* vmbus_device::driver |
Driver.
Definition at line 515 of file vmbus.h.
Referenced by vmbus_probe_channels(), vmbus_remove_channels(), and vmbus_reset_channels().
void* vmbus_device::priv |
Driver-private data.
Definition at line 517 of file vmbus.h.
Referenced by vmbus_get_drvdata(), and vmbus_set_drvdata().