Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/hyperv/vmbus/hv_vmbus_priv.h
Show First 20 Lines • Show All 633 Lines • ▼ Show 20 Lines | typedef struct hv_vmbus_channel_msg_table_entry { | ||||
vmbus_msg_handler messageHandler; | vmbus_msg_handler messageHandler; | ||||
} hv_vmbus_channel_msg_table_entry; | } hv_vmbus_channel_msg_table_entry; | ||||
extern hv_vmbus_channel_msg_table_entry g_channel_message_table[]; | extern hv_vmbus_channel_msg_table_entry g_channel_message_table[]; | ||||
/* | /* | ||||
* Private, VM Bus functions | * Private, VM Bus functions | ||||
*/ | */ | ||||
void ring_buffer_stat( | |||||
howard0su_gmail.com: Please follow naming conversation in this file. Also I would suggest to consider put this into… | |||||
honzhan_microsoft.comAuthorUnsubmitted Not Done Inline ActionsYou are right. It makes more sense to put it into hv_vmbus_ring_buffer_init. honzhan_microsoft.com: You are right. It makes more sense to put it into hv_vmbus_ring_buffer_init. | |||||
struct sysctl_ctx_list *ctx, | |||||
const char *devname, | |||||
int uint, | |||||
hv_vmbus_channel *channel); | |||||
int hv_vmbus_ring_buffer_init( | int hv_vmbus_ring_buffer_init( | ||||
hv_vmbus_ring_buffer_info *ring_info, | hv_vmbus_ring_buffer_info *ring_info, | ||||
void *buffer, | void *buffer, | ||||
uint32_t buffer_len); | uint32_t buffer_len); | ||||
void hv_ring_buffer_cleanup( | void hv_ring_buffer_cleanup( | ||||
hv_vmbus_ring_buffer_info *ring_info); | hv_vmbus_ring_buffer_info *ring_info); | ||||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |
Please follow naming conversation in this file. Also I would suggest to consider put this into hv_vmbus_ring_buffer_init instead of open another interface.