aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/refcount.h
Commit message (Expand)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
* Allow sys/refcount.h to be used by standalone builds.Hans Petter Selasky2020-12-071-1/+1
* refcount(9): Add refcount_release_if_last() and refcount_load()Mark Johnston2020-11-041-15/+39
* refcount: make it atomic-cleanMateusz Guzik2020-10-271-8/+9
* Remove an #include erroneously added in r358432.Mark Johnston2020-03-041-1/+0
* Add a blocking counter KPI.Mark Johnston2020-02-281-63/+44
* refcount: update comments about fencing when releasing counts after r357989Mateusz Guzik2020-02-161-0/+6
* refcount: add missing release fence to refcount_release_if_gtMateusz Guzik2020-02-161-1/+1
* Provide an API for interlocked refcount sleeps.Jeff Roberson2020-01-191-1/+16
* Use atomics in more cases for object references. We now can completelyJeff Roberson2019-11-271-15/+16
* Use atomics and a shared object lock to protect the object reference count.Jeff Roberson2019-10-291-0/+18
* Use %u instead of %d to print unsigned integer.Hans Petter Selasky2019-09-121-3/+3
* Fix for undefined behaviour.Hans Petter Selasky2019-09-121-1/+1
* Add a blocking wait bit to refcount. This allows refs to be used as a simpleJeff Roberson2019-08-181-26/+46
* Handle refcount(9) wraparound.Mark Johnston2019-07-301-9/+40
* Switch the rest of the refcount(9) functions to bool return type.Konstantin Belousov2019-07-211-9/+9
* Fix userspace build after r350199.Konstantin Belousov2019-07-211-0/+1
* Check and avoid overflow when incrementing fp->f_count inKonstantin Belousov2019-07-211-0/+14
* Drop "All rights reserved" from my copyright statements.John Baldwin2019-03-061-1/+0
* refcount: remove a stale comment about conditional ref/unref routinesMateusz Guzik2018-12-071-2/+0
* Make sure returned value is checked and assert a valid refcount.Hans Petter Selasky2018-10-221-3/+8
* ZFS vn_rele_async: catch up with the use of refcount(9) for the vnode use countAndriy Gapon2018-03-281-0/+31
* sys/sys: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* Correct fences for sys/refcount.h.Konstantin Belousov2017-06-301-3/+13
* Drop the 3rd clause from all 3 clause BSD licenses where I am the soleJohn Baldwin2014-02-051-3/+0
* Add assertion for refcount overflow.Gleb Smirnoff2012-07-271-0/+2
* Remove debugging cruft.Dag-Erling Smørgrav2008-07-231-1/+0
* pjd@'s r180759 was intended to revert r180755 due to ipfilter breakage,Dag-Erling Smørgrav2008-07-231-1/+14
* Back out this change, as it breaks the build and I don't have time forPawel Jakub Dawidek2008-07-231-13/+1
* Check for negative reference count.Pawel Jakub Dawidek2008-07-231-1/+10
* Add a simple reference count API that is simply a thin wrapper API aroundJohn Baldwin2005-09-271-0/+59