From owner-svn-src-all@FreeBSD.ORG Fri May 31 22:33:29 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 18BBB384; Fri, 31 May 2013 22:33:29 +0000 (UTC) (envelope-from gibbs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 0A05FF9C; Fri, 31 May 2013 22:33:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4VMXSTC095823; Fri, 31 May 2013 22:33:28 GMT (envelope-from gibbs@svn.freebsd.org) Received: (from gibbs@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4VMXStp095822; Fri, 31 May 2013 22:33:28 GMT (envelope-from gibbs@svn.freebsd.org) Message-Id: <201305312233.r4VMXStp095822@svn.freebsd.org> From: "Justin T. Gibbs" Date: Fri, 31 May 2013 22:33:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251206 - head/sys/dev/xen/blkfront X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 22:33:29 -0000 Author: gibbs Date: Fri May 31 22:33:28 2013 New Revision: 251206 URL: http://svnweb.freebsd.org/changeset/base/251206 Log: 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 Modified: head/sys/dev/xen/blkfront/blkfront.c Modified: head/sys/dev/xen/blkfront/blkfront.c ============================================================================== --- head/sys/dev/xen/blkfront/blkfront.c Fri May 31 22:23:17 2013 (r251205) +++ head/sys/dev/xen/blkfront/blkfront.c Fri May 31 22:33:28 2013 (r251206) @@ -105,7 +105,7 @@ static MALLOC_DEFINE(M_XENBLOCKFRONT, "x /*---------------------------- 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_ * 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. */