summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2013-05-31 22:33:28 +0000
committergibbs <gibbs@FreeBSD.org>2013-05-31 22:33:28 +0000
commitb7eb49ed335865a47f466f72d5ce6597dde950f0 (patch)
tree257ddac2759481f8240b4669824a6fd70edf4bc9
parent9d176aac0a59e74bfafc7447b928c6b8e363a62c (diff)
downloadFreeBSD-src-b7eb49ed335865a47f466f72d5ce6597dde950f0.zip
FreeBSD-src-b7eb49ed335865a47f466f72d5ce6597dde950f0.tar.gz
Style changes. No intended functional changes.
o rename flush_requests => xbd_flush_requests o rename xbd_setup_ring => xbd_alloc_ring Sponsored by: Spectra Logic Corporation MFC after: 1 week
-rw-r--r--sys/dev/xen/blkfront/blkfront.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/xen/blkfront/blkfront.c b/sys/dev/xen/blkfront/blkfront.c
index 3978400..9ccf751 100644
--- a/sys/dev/xen/blkfront/blkfront.c
+++ b/sys/dev/xen/blkfront/blkfront.c
@@ -105,7 +105,7 @@ static MALLOC_DEFINE(M_XENBLOCKFRONT, "xbd", "Xen Block Front driver data");
/*---------------------------- Command Processing ----------------------------*/
static inline void
-flush_requests(struct xbd_softc *sc)
+xbd_flush_requests(struct xbd_softc *sc)
{
int notify;
@@ -232,7 +232,7 @@ xbd_queue_cb(void *arg, bus_dma_segment_t *segs, int nsegs, int error)
* instead of in the startio context, so an explicit flush is needed.
*/
if (cm->cm_flags & XBD_CMD_FROZEN)
- flush_requests(sc);
+ xbd_flush_requests(sc);
return;
}
@@ -344,7 +344,7 @@ xbd_startio(struct xbd_softc *sc)
}
if (queued != 0)
- flush_requests(sc);
+ xbd_flush_requests(sc);
}
static void
@@ -640,7 +640,7 @@ xbd_strategy(struct bio *bp)
/*------------------------------ Ring Management -----------------------------*/
static int
-xbd_setup_ring(struct xbd_softc *sc)
+xbd_alloc_ring(struct xbd_softc *sc)
{
blkif_sring_t *sring;
uintptr_t sring_page_addr;
@@ -1071,7 +1071,7 @@ xbd_initialize(struct xbd_softc *sc)
xbd_free_command(cm);
}
- if (xbd_setup_ring(sc) != 0)
+ if (xbd_alloc_ring(sc) != 0)
return;
/* Support both backend schemes for relaying ring page limits. */
OpenPOWER on IntegriCloud