From owner-svn-src-head@freebsd.org Thu Mar 23 05:51:56 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25C97D1911C; Thu, 23 Mar 2017 05:51:56 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C76CFC93; Thu, 23 Mar 2017 05:51:55 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2N5ps2l035270; Thu, 23 Mar 2017 05:51:54 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2N5psfe035269; Thu, 23 Mar 2017 05:51:54 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201703230551.v2N5psfe035269@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Thu, 23 Mar 2017 05:51:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r315799 - head/share/man/man9 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.23 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: Thu, 23 Mar 2017 05:51:56 -0000 Author: ngie Date: Thu Mar 23 05:51:54 2017 New Revision: 315799 URL: https://svnweb.freebsd.org/changeset/base/315799 Log: counter(9): fix igor/manlint warnings - Reword description of `counter_enter` slightly to fix wordiness [1]. - Expand "isn't" as "is not" [1]. - Add missing section number with .Xr sysctl calls [2]. MFC after: 1 week Reported by: igor [1], make manlint [2] Sponsored by: Dell EMC Isilon Modified: head/share/man/man9/counter.9 Modified: head/share/man/man9/counter.9 ============================================================================== --- head/share/man/man9/counter.9 Thu Mar 23 05:44:18 2017 (r315798) +++ head/share/man/man9/counter.9 Thu Mar 23 05:51:54 2017 (r315799) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 8, 2016 +.Dd March 22, 2017 .Dt COUNTER 9 .Os .Sh NAME @@ -107,7 +107,7 @@ to .Fa c . The KPI does not guarantee any protection from wraparound. .It Fn counter_enter -Enter mode that would allow to safely update several counters via +Enter mode that would allow the safe update of several counters via .Fn counter_u64_add_protected . On some machines this expands to .Xr critical 9 @@ -136,7 +136,7 @@ The function is a multiprocessor-friendl which uses .Nm internally. -Returns non-negative value if the rate isn't yet reached during the current +Returns non-negative value if the rate is not yet reached during the current second, and a negative value otherwise. If the limit was reached on previous second, but was just reset back to zero, then @@ -144,7 +144,7 @@ then returns number of events since previous reset. .It Fn SYSCTL_COUNTER_U64 parent nbr name access ptr descr Declare a static -.Xr sysctl +.Xr sysctl 9 oid that would represent a .Nm . The @@ -156,7 +156,7 @@ A read of the oid returns value obtained Any write to the oid zeroes it. .It Fn SYSCTL_ADD_COUNTER_U64 ctx parent nbr name access ptr descr Create a -.Xr sysctl +.Xr sysctl 9 oid that would represent a .Nm . The @@ -168,7 +168,7 @@ A read of the oid returns value obtained Any write to the oid zeroes it. .It Fn SYSCTL_COUNTER_U64_ARRAY parent nbr name access ptr len descr Declare a static -.Xr sysctl +.Xr sysctl 9 oid that would represent an array of .Nm . The @@ -185,7 +185,7 @@ values obtained through Any write to the oid zeroes all array elements. .It Fn SYSCTL_ADD_COUNTER_U64_ARRAY ctx parent nbr name access ptr len descr Create a -.Xr sysctl +.Xr sysctl 9 oid that would represent an array of .Nm . The