svn commit: r284723 - head/sys/dev/xen/blkfront
Colin Percival
cperciva at FreeBSD.org
Tue Jun 23 06:50:04 UTC 2015
Author: cperciva
Date: Tue Jun 23 06:50:03 2015
New Revision: 284723
URL: https://svnweb.freebsd.org/changeset/base/284723
Log:
Rename mksegarray to xbd_mksegarray for consistency with other function
names in this file.
Submitted by: royger
Modified:
head/sys/dev/xen/blkfront/blkfront.c
Modified: head/sys/dev/xen/blkfront/blkfront.c
==============================================================================
--- head/sys/dev/xen/blkfront/blkfront.c Tue Jun 23 06:48:02 2015 (r284722)
+++ head/sys/dev/xen/blkfront/blkfront.c Tue Jun 23 06:50:03 2015 (r284723)
@@ -156,7 +156,7 @@ xbd_free_command(struct xbd_command *cm)
}
static void
-mksegarray(bus_dma_segment_t *segs, int nsegs,
+xbd_mksegarray(bus_dma_segment_t *segs, int nsegs,
grant_ref_t * gref_head, int otherend_id, int readonly,
grant_ref_t * sg_ref, blkif_request_segment_t * sg)
{
@@ -230,7 +230,7 @@ xbd_queue_cb(void *arg, bus_dma_segment_
ring_req->handle = (blkif_vdev_t)(uintptr_t)sc->xbd_disk;
ring_req->nr_segments = nsegs;
cm->cm_nseg = nsegs;
- mksegarray(segs, nsegs, &cm->cm_gref_head,
+ xbd_mksegarray(segs, nsegs, &cm->cm_gref_head,
xenbus_get_otherend_id(sc->xbd_dev),
cm->cm_operation == BLKIF_OP_WRITE,
cm->cm_sg_refs, ring_req->seg);
More information about the svn-src-all
mailing list