search for: driver_to_hyperv_driver

Displaying 6 results from an estimated 6 matches for "driver_to_hyperv_driver".

2011 Feb 26
2
[PATCH 6/6] Staging: hv: Cleanup hyperv_driver variable names
...drv_obj->base); - vmbus_child_driver_unregister(drv_ctx); + vmbus_child_driver_unregister(drv); return; } @@ -243,12 +243,12 @@ static void blkvsc_drv_exit(void) */ static int blkvsc_probe(struct device *device) { - struct hyperv_driver *driver_ctx = + struct hyperv_driver *drv = driver_to_hyperv_driver(device->driver); - struct blkvsc_hyperv_driver *blkvsc_drv_ctx = - (struct blkvsc_hyperv_driver *)driver_ctx; + struct blkvsc_hyperv_driver *blkvsc_drv = + (struct blkvsc_hyperv_driver *)drv; struct storvsc_driver_object *storvsc_drv_obj = - &blkvsc_drv_ctx->drv_obj; + &...
2011 Feb 26
2
[PATCH 6/6] Staging: hv: Cleanup hyperv_driver variable names
...drv_obj->base); - vmbus_child_driver_unregister(drv_ctx); + vmbus_child_driver_unregister(drv); return; } @@ -243,12 +243,12 @@ static void blkvsc_drv_exit(void) */ static int blkvsc_probe(struct device *device) { - struct hyperv_driver *driver_ctx = + struct hyperv_driver *drv = driver_to_hyperv_driver(device->driver); - struct blkvsc_hyperv_driver *blkvsc_drv_ctx = - (struct blkvsc_hyperv_driver *)driver_ctx; + struct blkvsc_hyperv_driver *blkvsc_drv = + (struct blkvsc_hyperv_driver *)drv; struct storvsc_driver_object *storvsc_drv_obj = - &blkvsc_drv_ctx->drv_obj; + &...
2011 Feb 26
1
[PATCH 5/6] Staging: hv: Rename driver_context to hyperv_driver
..._drv_exit(void) */ static int blkvsc_probe(struct device *device) { - struct driver_context *driver_ctx = - driver_to_driver_context(device->driver); - struct blkvsc_driver_context *blkvsc_drv_ctx = - (struct blkvsc_driver_context *)driver_ctx; + struct hyperv_driver *driver_ctx = + driver_to_hyperv_driver(device->driver); + struct blkvsc_hyperv_driver *blkvsc_drv_ctx = + (struct blkvsc_hyperv_driver *)driver_ctx; struct storvsc_driver_object *storvsc_drv_obj = &blkvsc_drv_ctx->drv_obj; struct hyperv_device *device_obj = device_to_hyperv_device(device); @@ -727,10 +727,10 @@ sta...
2011 Feb 26
1
[PATCH 5/6] Staging: hv: Rename driver_context to hyperv_driver
..._drv_exit(void) */ static int blkvsc_probe(struct device *device) { - struct driver_context *driver_ctx = - driver_to_driver_context(device->driver); - struct blkvsc_driver_context *blkvsc_drv_ctx = - (struct blkvsc_driver_context *)driver_ctx; + struct hyperv_driver *driver_ctx = + driver_to_hyperv_driver(device->driver); + struct blkvsc_hyperv_driver *blkvsc_drv_ctx = + (struct blkvsc_hyperv_driver *)driver_ctx; struct storvsc_driver_object *storvsc_drv_obj = &blkvsc_drv_ctx->drv_obj; struct hyperv_device *device_obj = device_to_hyperv_device(device); @@ -727,10 +727,10 @@ sta...
2011 Feb 24
4
[PATCH ] Staging: hv: Hyper-V driver cleanup
...blkvsc_drv_exit(void) */ static int blkvsc_probe(struct device *device) { - struct driver_context *driver_ctx = - driver_to_driver_context(device->driver); - struct blkvsc_driver_context *blkvsc_drv_ctx = - (struct blkvsc_driver_context *)driver_ctx; + struct hyperv_driver *drv = + driver_to_hyperv_driver(device->driver); + struct blkvsc_hyperv_driver *blkvsc_drv = + (struct blkvsc_hyperv_driver *)drv; struct storvsc_driver_object *storvsc_drv_obj = - &blkvsc_drv_ctx->drv_obj; - struct vm_device *device_ctx = device_to_vm_device(device); - struct hv_device *device_obj = &device...
2011 Feb 24
4
[PATCH ] Staging: hv: Hyper-V driver cleanup
...blkvsc_drv_exit(void) */ static int blkvsc_probe(struct device *device) { - struct driver_context *driver_ctx = - driver_to_driver_context(device->driver); - struct blkvsc_driver_context *blkvsc_drv_ctx = - (struct blkvsc_driver_context *)driver_ctx; + struct hyperv_driver *drv = + driver_to_hyperv_driver(device->driver); + struct blkvsc_hyperv_driver *blkvsc_drv = + (struct blkvsc_hyperv_driver *)drv; struct storvsc_driver_object *storvsc_drv_obj = - &blkvsc_drv_ctx->drv_obj; - struct vm_device *device_ctx = device_to_vm_device(device); - struct hv_device *device_obj = &device...