Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2018 13:08:07 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Andriy Gapon <avg@FreeBSD.org>, jhb@freebsd.org
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r331666 - in head/sys: cddl/contrib/opensolaris/uts/common/fs kern sys
Message-ID:  <20180328100807.GC76926@kib.kiev.ua>
In-Reply-To: <201803280855.w2S8tVxE029241@repo.freebsd.org>
References:  <201803280855.w2S8tVxE029241@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 28, 2018 at 08:55:31AM +0000, Andriy Gapon wrote:
> +static __inline int
> +refcount_acquire_if_not_zero(volatile u_int *count)
What about refcount_acquire_nz()

> +static __inline int
> +refcount_release_if_not_last(volatile u_int *count)
refcount_release_nz()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180328100807.GC76926>