diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/atomic_add_int.9 | 11 | ||||
-rw-r--r-- | share/man/man9/atomic_cas_uint.9 | 10 | ||||
-rw-r--r-- | share/man/man9/atomic_dec_int.9 | 11 | ||||
-rw-r--r-- | share/man/man9/atomic_inc_int.9 | 11 | ||||
-rw-r--r-- | share/man/man9/atomic_setbits_int.9 | 9 | ||||
-rw-r--r-- | share/man/man9/atomic_sub_int.9 | 11 | ||||
-rw-r--r-- | share/man/man9/atomic_swap_uint.9 | 10 |
7 files changed, 59 insertions, 14 deletions
diff --git a/share/man/man9/atomic_add_int.9 b/share/man/man9/atomic_add_int.9 index 3e7f30b1cf0..6e0fdf1b08a 100644 --- a/share/man/man9/atomic_add_int.9 +++ b/share/man/man9/atomic_add_int.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atomic_add_int.9,v 1.4 2014/02/04 21:26:21 dlg Exp $ +.\" $OpenBSD: atomic_add_int.9,v 1.5 2014/02/13 12:03:47 dlg Exp $ .\" .\" Copyright (c) 2014 David Gwynne <dlg@openbsd.org> .\" All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 4 2014 $ +.Dd $Mdocdate: February 13 2014 $ .Dt ATOMIC_ADD_INT 9 .Os .Sh NAME @@ -43,6 +43,13 @@ The value referenced by the pointer .Fa p is incremented by the value .Fa v . +.Sh CONTEXT +.Fn atomic_add_int , +.Fn atomic_add_int_nv , +.Fn atomic_add_long , +and +.Fn atomic_add_long_nv +can all be called during autoconf, from process context, or from interrupt context. .Sh RETURN VALUES .Nm atomic_add_int and diff --git a/share/man/man9/atomic_cas_uint.9 b/share/man/man9/atomic_cas_uint.9 index 32a2694f97e..a8e5370486a 100644 --- a/share/man/man9/atomic_cas_uint.9 +++ b/share/man/man9/atomic_cas_uint.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atomic_cas_uint.9,v 1.4 2014/02/04 21:26:21 dlg Exp $ +.\" $OpenBSD: atomic_cas_uint.9,v 1.5 2014/02/13 12:03:47 dlg Exp $ .\" .\" Copyright (c) 2014 David Gwynne <dlg@openbsd.org> .\" All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 4 2014 $ +.Dd $Mdocdate: February 13 2014 $ .Dt ATOMIC_CAS_UINT 9 .Os .Sh NAME @@ -44,6 +44,12 @@ If these values are equal then .Fa new replaces the value stored at .Fa p . +.Sh CONTEXT +.Fn atomic_cas_uint , +.Fn atomic_cas_ulong , +and +.Fn atomic_cas_ptr +can all be called during autoconf, from process context, or from interrupt context. .Sh RETURN VALUES These functions return the value at .Fa p diff --git a/share/man/man9/atomic_dec_int.9 b/share/man/man9/atomic_dec_int.9 index 46f568a9c8f..c27844534ec 100644 --- a/share/man/man9/atomic_dec_int.9 +++ b/share/man/man9/atomic_dec_int.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atomic_dec_int.9,v 1.4 2014/02/04 21:26:21 dlg Exp $ +.\" $OpenBSD: atomic_dec_int.9,v 1.5 2014/02/13 12:03:47 dlg Exp $ .\" .\" Copyright (c) 2014 David Gwynne <dlg@openbsd.org> .\" All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 4 2014 $ +.Dd $Mdocdate: February 13 2014 $ .Dt ATOMIC_DEC_INT 9 .Os .Sh NAME @@ -42,6 +42,13 @@ to interrupts and multiple processors in the system. The value referenced by the pointer .Fa p is decremented by 1. +.Sh CONTEXT +.Fn atomic_dec_int , +.Fn atomic_dec_int_nv , +.Fn atomic_dec_long , +and +.Fn atomic_dec_long_nv +can all be called during autoconf, from process context, or from interrupt context. .Sh RETURN VALUES .Nm atomic_dec_int and diff --git a/share/man/man9/atomic_inc_int.9 b/share/man/man9/atomic_inc_int.9 index 5be5b958687..f6576ad8fa6 100644 --- a/share/man/man9/atomic_inc_int.9 +++ b/share/man/man9/atomic_inc_int.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atomic_inc_int.9,v 1.4 2014/02/04 21:26:21 dlg Exp $ +.\" $OpenBSD: atomic_inc_int.9,v 1.5 2014/02/13 12:03:47 dlg Exp $ .\" .\" Copyright (c) 2014 David Gwynne <dlg@openbsd.org> .\" All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 4 2014 $ +.Dd $Mdocdate: February 13 2014 $ .Dt ATOMIC_INC_INT 9 .Os .Sh NAME @@ -42,6 +42,13 @@ to interrupts and multiple processors in the system. The value referenced by the pointer .Fa p is incremented by 1. +.Sh CONTEXT +.Fn atomic_inc_int , +.Fn atomic_inc_int_nv , +.Fn atomic_inc_long , +and +.Fn atomic_inc_long_nv +can all be called during autoconf, from process context, or from interrupt context. .Sh RETURN VALUES .Nm atomic_inc_int and diff --git a/share/man/man9/atomic_setbits_int.9 b/share/man/man9/atomic_setbits_int.9 index d6389208e1c..4bec371d79c 100644 --- a/share/man/man9/atomic_setbits_int.9 +++ b/share/man/man9/atomic_setbits_int.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atomic_setbits_int.9,v 1.1 2014/02/04 20:55:22 dlg Exp $ +.\" $OpenBSD: atomic_setbits_int.9,v 1.2 2014/02/13 12:03:47 dlg Exp $ .\" .\" Copyright (c) 2007 Artur Grabowski <art@openbsd.org> .\" All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 4 2014 $ +.Dd $Mdocdate: February 13 2014 $ .Dt ATOMIC_SETBITS_INT 9 .Os .Sh NAME @@ -52,6 +52,11 @@ It is equivalent to .Bd -literal -offset indent *p &= ~b; .Ed +.Sh CONTEXT +.Fn atomic_setbits_int , +and +.Fn atomic_clearbits_int +can be called during autoconf, from process context, or from interrupt context. .Sh SEE ALSO .Xr atomic_add 9 , .Xr atomic_cas 9 , diff --git a/share/man/man9/atomic_sub_int.9 b/share/man/man9/atomic_sub_int.9 index a8544e96ca3..1c1a5abfb75 100644 --- a/share/man/man9/atomic_sub_int.9 +++ b/share/man/man9/atomic_sub_int.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atomic_sub_int.9,v 1.3 2014/02/04 21:24:55 dlg Exp $ +.\" $OpenBSD: atomic_sub_int.9,v 1.4 2014/02/13 12:03:47 dlg Exp $ .\" .\" Copyright (c) 2014 David Gwynne <dlg@openbsd.org> .\" All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 4 2014 $ +.Dd $Mdocdate: February 13 2014 $ .Dt ATOMIC_SUB_INT 9 .Os .Sh NAME @@ -43,6 +43,13 @@ The value referenced by the pointer .Fa p is incremented by the value .Fa v . +.Sh CONTEXT +.Fn atomic_sub_int , +.Fn atomic_sub_int_nv , +.Fn atomic_sub_long , +and +.Fn atomic_sub_long_nv +can all be called during autoconf, from process context, or from interrupt context. .Sh RETURN VALUES .Nm atomic_sub_int and diff --git a/share/man/man9/atomic_swap_uint.9 b/share/man/man9/atomic_swap_uint.9 index d90bf724f6b..c60dfbc302f 100644 --- a/share/man/man9/atomic_swap_uint.9 +++ b/share/man/man9/atomic_swap_uint.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atomic_swap_uint.9,v 1.4 2014/02/04 21:26:21 dlg Exp $ +.\" $OpenBSD: atomic_swap_uint.9,v 1.5 2014/02/13 12:03:47 dlg Exp $ .\" .\" Copyright (c) 2014 David Gwynne <dlg@openbsd.org> .\" All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 4 2014 $ +.Dd $Mdocdate: February 13 2014 $ .Dt ATOMIC_SWAP_UINT 9 .Os .Sh NAME @@ -40,6 +40,12 @@ The value referenced by the pointer .Fa p is replaced by the value .Fa new . +.Sh CONTEXT +.Fn atomic_swap_uint , +.Fn atomic_swap_ulong , +and +.Fn atomic_swap_ptr +can all be called during autoconf, from process context, or from interrupt context. .Sh RETURN VALUES These functions return the value at .Fa p |