From owner-svn-src-head@FreeBSD.ORG Sat Dec 8 09:23:06 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2525E7B; Sat, 8 Dec 2012 09:23:06 +0000 (UTC) (envelope-from pjd@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 08E1E8FC08; Sat, 8 Dec 2012 09:23:06 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB89N5wL009746; Sat, 8 Dec 2012 09:23:05 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB89N5cm009745; Sat, 8 Dec 2012 09:23:05 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <201212080923.qB89N5cm009745@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Sat, 8 Dec 2012 09:23:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r244024 - head/sys/vm X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 09:23:06 -0000 Author: pjd Date: Sat Dec 8 09:23:05 2012 New Revision: 244024 URL: http://svnweb.freebsd.org/changeset/base/244024 Log: White-space cleanups. Modified: head/sys/vm/uma.h Modified: head/sys/vm/uma.h ============================================================================== --- head/sys/vm/uma.h Sat Dec 8 09:14:19 2012 (r244023) +++ head/sys/vm/uma.h Sat Dec 8 09:23:05 2012 (r244024) @@ -50,7 +50,7 @@ typedef struct uma_zone * uma_zone_t; void zone_drain(uma_zone_t); -/* +/* * Item constructor * * Arguments: @@ -58,7 +58,7 @@ void zone_drain(uma_zone_t); * arg The arg field passed to uma_zalloc_arg * size The size of the allocated item * flags See zalloc flags - * + * * Returns: * 0 on success * errno on failure @@ -76,7 +76,7 @@ typedef int (*uma_ctor)(void *mem, int s * item A pointer to the memory which has been allocated. * size The size of the item being destructed. * arg Argument passed through uma_zfree_arg - * + * * Returns: * Nothing * @@ -87,20 +87,20 @@ typedef int (*uma_ctor)(void *mem, int s */ typedef void (*uma_dtor)(void *mem, int size, void *arg); -/* +/* * Item initializer * * Arguments: * item A pointer to the memory which has been allocated. * size The size of the item being initialized. * flags See zalloc flags - * + * * Returns: * 0 on success * errno on failure * * Discussion: - * The initializer is called when the memory is cached in the uma zone. + * The initializer is called when the memory is cached in the uma zone. * The initializer and the destructor should leave the object in the same * state. */ @@ -110,7 +110,7 @@ typedef int (*uma_init)(void *mem, int s * Item discard function * * Arguments: - * item A pointer to memory which has been 'freed' but has not left the + * item A pointer to memory which has been 'freed' but has not left the * zone's cache. * size The size of the item being discarded. * @@ -126,7 +126,7 @@ typedef void (*uma_fini)(void *mem, int /* * What's the difference between initializing and constructing? * - * The item is initialized when it is cached, and this is the state that the + * The item is initialized when it is cached, and this is the state that the * object should be in when returned to the allocator. The purpose of this is * to remove some code which would otherwise be called on each allocation by * utilizing a known, stable state. This differs from the constructor which @@ -211,7 +211,7 @@ uma_zone_t uma_zsecond_create(char *name * the only supported. * * Returns: - * Error on failure, 0 on success. + * Error on failure, 0 on success. */ int uma_zsecond_add(uma_zone_t zone, uma_zone_t master); @@ -403,7 +403,7 @@ void uma_startup(void *bootmem, int boot * Discussion: * uma_startup2 is called by kmeminit() to enable us of uma for malloc. */ - + void uma_startup2(void); /* @@ -583,11 +583,11 @@ void uma_prealloc(uma_zone_t zone, int i * the underlying slab header. * * Arguments: - * zone The UMA_ZONE_REFCNT zone to which the item belongs. + * zone The UMA_ZONE_REFCNT zone to which the item belongs. * item The address of the item for which we want a refcnt. * * Returns: - * A pointer to a u_int32_t reference counter. + * A pointer to a u_int32_t reference counter. */ u_int32_t *uma_find_refcnt(uma_zone_t zone, void *item); @@ -598,7 +598,7 @@ u_int32_t *uma_find_refcnt(uma_zone_t zo * zone The zone to check * * Returns: - * Non-zero if zone is exhausted. + * Non-zero if zone is exhausted. */ int uma_zone_exhausted(uma_zone_t zone); int uma_zone_exhausted_nolock(uma_zone_t zone);