summaryrefslogtreecommitdiffstats
path: root/sys/dev/xen/blkfront
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2015-06-23 06:50:03 +0000
committercperciva <cperciva@FreeBSD.org>2015-06-23 06:50:03 +0000
commit9ae5ff6d6562b66146273d311380cb93a3471ab0 (patch)
tree5aebc34af9393abc9204d9c36c9682ddc571cb55 /sys/dev/xen/blkfront
parent658120e16bc9a12e730ee16b9b6481e3c7001e20 (diff)
downloadFreeBSD-src-9ae5ff6d6562b66146273d311380cb93a3471ab0.zip
FreeBSD-src-9ae5ff6d6562b66146273d311380cb93a3471ab0.tar.gz
Rename mksegarray to xbd_mksegarray for consistency with other function
names in this file. Submitted by: royger
Diffstat (limited to 'sys/dev/xen/blkfront')
-rw-r--r--sys/dev/xen/blkfront/blkfront.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/xen/blkfront/blkfront.c b/sys/dev/xen/blkfront/blkfront.c
index 530535c..0610732 100644
--- a/sys/dev/xen/blkfront/blkfront.c
+++ b/sys/dev/xen/blkfront/blkfront.c
@@ -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_t *segs, int nsegs, int error)
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);
OpenPOWER on IntegriCloud