Commit e98cb276 authored by Haiyang Zhang's avatar Haiyang Zhang Committed by Greg Kroah-Hartman

staging: hv: Convert camel cased functions in channel_mgmt.c to lower case

Convert camel cased functions in channel_mgmt.c to lower case
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 188963ec
...@@ -698,7 +698,7 @@ void vmbus_close(struct vmbus_channel *channel) ...@@ -698,7 +698,7 @@ void vmbus_close(struct vmbus_channel *channel)
list_del(&channel->ListEntry); list_del(&channel->ListEntry);
spin_unlock_irqrestore(&gVmbusConnection.channel_lock, flags); spin_unlock_irqrestore(&gVmbusConnection.channel_lock, flags);
FreeVmbusChannel(channel); free_channel(channel);
} }
} }
......
This diff is collapsed.
...@@ -307,14 +307,14 @@ struct vmbus_channel_msginfo { ...@@ -307,14 +307,14 @@ struct vmbus_channel_msginfo {
}; };
struct vmbus_channel *AllocVmbusChannel(void); struct vmbus_channel *alloc_channel(void);
void FreeVmbusChannel(struct vmbus_channel *Channel); void free_channel(struct vmbus_channel *channel);
void VmbusOnChannelMessage(void *Context); void vmbus_onmessage(void *context);
int VmbusChannelRequestOffers(void); int vmbus_request_offers(void);
void VmbusChannelReleaseUnattachedChannels(void); void vmbus_release_unattached_channels(void);
#endif /* _CHANNEL_MGMT_H_ */ #endif /* _CHANNEL_MGMT_H_ */
...@@ -57,7 +57,7 @@ static struct hv_device *gDevice; /* vmbus root device */ ...@@ -57,7 +57,7 @@ static struct hv_device *gDevice; /* vmbus root device */
*/ */
static void VmbusGetChannelOffers(void) static void VmbusGetChannelOffers(void)
{ {
VmbusChannelRequestOffers(); vmbus_request_offers();
} }
/* /*
...@@ -134,7 +134,7 @@ static int VmbusOnDeviceRemove(struct hv_device *dev) ...@@ -134,7 +134,7 @@ static int VmbusOnDeviceRemove(struct hv_device *dev)
{ {
int ret = 0; int ret = 0;
VmbusChannelReleaseUnattachedChannels(); vmbus_release_unattached_channels();
VmbusDisconnect(); VmbusDisconnect();
on_each_cpu(HvSynicCleanup, NULL, 1); on_each_cpu(HvSynicCleanup, NULL, 1);
return ret; return ret;
...@@ -171,7 +171,7 @@ static void VmbusOnMsgDPC(struct hv_driver *drv) ...@@ -171,7 +171,7 @@ static void VmbusOnMsgDPC(struct hv_driver *drv)
continue; continue;
osd_schedule_callback(gVmbusConnection.WorkQueue, osd_schedule_callback(gVmbusConnection.WorkQueue,
VmbusOnChannelMessage, vmbus_onmessage,
(void *)copied); (void *)copied);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment