You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2015/06/14 00:56:08 UTC

[18/22] trafficserver git commit: TS-3689: Remove libck

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_get_spmc
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_get_spmc b/lib/ck/doc/ck_ht_get_spmc
deleted file mode 100644
index 91b9534..0000000
--- a/lib/ck/doc/ck_ht_get_spmc
+++ /dev/null
@@ -1,177 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd March 29, 2012
-.Dt CK_HT_GET_SPMC 3
-.Sh NAME
-.Nm ck_ht_get_spmc
-.Nd load a key-value pair from a hash table
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft bool
-.Fn ck_ht_get_spmc "ck_ht_t *ht" "ck_ht_hash_t h" "ck_ht_entry_t *entry"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_get_spmc
-function will return the value associated with the key specified in the
-.Fa entry
-argument in the hash table pointed to by the
-.Fa ht
-argument. The key specified in
-.Fa entry
-is expected to have the hash value specified by the
-.Fa h
-argument.
-.Pp
-If
-.Fa ht
-was created with CK_HT_MODE_BYTESTRING then
-.Fa entry
-must have been initialized with the
-.Xr ck_ht_entry_set_key 3
-or
-.Xr ck_ht_entry_set 3
-functions. If
-.Fa ht
-was created with CK_HT_MODE_DIRECT then
-.Fa entry
-must have been initialized with the
-.Xr ck_ht_entry_key_set_direct 3
-or
-.Xr ck_ht_entry_set_direct 3
-functions.
-.Pp
-It is expected that
-.Fa h
-was initialized with
-.Xr ck_ht_hash 3
-if
-.Fa ht
-was created with CK_HT_MODE_BYTESTRING. If
-.Fa ht
-was initialized with CK_HT_MODE_DIRECT then it is
-expected that
-.Fa h
-was initialized with the
-.Xr ck_ht_hash_direct 3
-function.
-.Pp
-If the call to
-.Fn ck_ht_get_spmc
-was successful then the key-value pair in
-.Fa entry
-was successfully found in the hash table pointed
-to by
-.Fa h
-and will fail if the key specified in
-.Fa entry
-does not exist in the hash table. If successful
-.Fa entry
-will contain the key-value pair found in the hash table
-pointed to by the
-.Fa ht
-argument.
-.Pp
-If
-.Fa ht
-was initialized with CK_HT_MODE_BYTESTRING then
-the key/value pair in
-.Fa entry
-may be extracted using the
-.Xr ck_ht_entry_key 3
-and
-.Xr ck_ht_entry_value 3
-functions. The length of the key may be extracted
-using the
-.Xr ck_ht_entry_key_length 3
-function.
-.Pp
-If
-.Fa ht
-was initialized with CK_HT_MODE_DIRECT then the
-key/value pair in
-.Fa entry
-may be extracted using the
-.Xr ck_ht_entry_key_direct 3
-and
-.Xr ck_ht_entry_value_direct 3
-functions.
-.Pp
-This function is safe to call in the presence of a concurrent writer.
-.Sh RETURN VALUES
-Upon successful completion
-.Fn ck_ht_get_spmc
-returns
-.Dv true.
-If successful,
-.Fa entry
-will contain the key/value pair as found
-in the hash table.
-Otherwise the function returns
-.Dv false
-on failure.
-.Sh ERRORS
-.Bl -tag -width Er
-Behavior is undefined if
-.Fa entry
-or
-.Fa ht
-are uninitialized. The function will return
-.Dv false
-if the key as specified in
-.Fa entry
-was not found in the hash table.
-.El
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_reset_spmc 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_grow_spmc
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_grow_spmc b/lib/ck/doc/ck_ht_grow_spmc
deleted file mode 100644
index 70e6055..0000000
--- a/lib/ck/doc/ck_ht_grow_spmc
+++ /dev/null
@@ -1,98 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd March 29, 2012
-.Dt CK_HT_GROW_SPMC 3
-.Sh NAME
-.Nm ck_ht_grow_spmc
-.Nd resize a hash table if necessary
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft bool
-.Fn ck_ht_grow_spmc "ck_ht_t *ht" "uint64_t capacity"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_grow_spmc
-function will resize the hash table in order to be able to
-at least store the number of entries specified by
-.Fa capacity
-at a load factor of one. The default load hash table load factor is
-0.5. If you wish to minimize the likelihood of memory allocations
-for a hash table meant to store n entries then specify a capacity
-of 2n. The default behavior of ck_ht is to round
-.Fa capacity
-to the next available power of two if it is not already a power
-of two.
-.Pp
-This function is safe to call in the presence of concurrent
-.Xr ck_ht_get_spmc 3
-operations.
-.Sh RETURN VALUES
-Upon successful completion
-.Fn ck_ht_grow_spmc
-returns
-.Dv true
-and otherwise returns a
-.Dv false
-value.
-.Sh ERRORS
-.Bl -tag -width Er
-Behavior is undefined if
-.Fa ht
-is uninitialized. The function will only return
-.Dv false
-if there are internal memory allocation failures.
-.El
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_reset_spmc 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_hash
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_hash b/lib/ck/doc/ck_ht_hash
deleted file mode 100644
index 0ac5db9..0000000
--- a/lib/ck/doc/ck_ht_hash
+++ /dev/null
@@ -1,90 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd March 29, 2012
-.Dt CK_HT_HASH 3
-.Sh NAME
-.Nm ck_ht_hash
-.Nd generate a hash value for a hash table
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft void
-.Fn ck_ht_hash "ck_ht_hash_t *h" "ck_ht_t *ht" "const void *key" "uint16_t key_length"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_hash
-function will generate a hash value in the object pointed to by the
-.Fa h
-argument. The hash value is valid for use in the hash table pointed to by the
-.Fa ht
-argument for the key (of bytestring type) specified by the
-.Fa key
-argument. The length of the key is specified by the
-.Fa key_length
-argument.
-.Sh RETURN VALUES
-.Fn ck_ht_hash
-has no return value.
-.Sh ERRORS
-.Bl -tag -width Er
-Behavior is undefined if
-.Fa key
-is
-.Dv NULL
-or if
-.Fa ht
-is uninitialized.
-.El
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_reset_spmc 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_hash_direct
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_hash_direct b/lib/ck/doc/ck_ht_hash_direct
deleted file mode 100644
index 564099c..0000000
--- a/lib/ck/doc/ck_ht_hash_direct
+++ /dev/null
@@ -1,90 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd March 29, 2012
-.Dt CK_HT_HASH_DIRECT 3
-.Sh NAME
-.Nm ck_ht_hash_direct
-.Nd generate a hash value for a hash table
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft void
-.Fn ck_ht_hash_direct "ck_ht_hash_t *h" "ck_ht_t *ht" "uintptr_t key"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_hash_direct
-function will generate a hash value in the object pointed to by the
-.Fa h
-argument. The hash value is valid for use in the hash table pointed to by the
-.Fa ht
-argument for the key (of direct type) specified by the
-.Fa key
-argument.
-.Sh RETURN VALUES
-.Fn ck_ht_hash_direct
-has no return value.
-.Sh ERRORS
-.Bl -tag -width Er
-Behavior is undefined if
-.Fa key
-is a
-.Dv 0
-or
-.Dv UINTPTR_MAX
-value or if
-.Fa ht
-is uninitialized.
-.El
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_reset_spmc 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_init
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_init b/lib/ck/doc/ck_ht_init
deleted file mode 100644
index 602483d..0000000
--- a/lib/ck/doc/ck_ht_init
+++ /dev/null
@@ -1,188 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd March 28, 2012
-.Dt CK_HT_INIT 3
-.Sh NAME
-.Nm ck_ht_init
-.Nd initialize a hash table
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft typedef void
-.Fn ck_ht_hash_cb_t "ck_ht_hash_t *h" "const void *key" "size_t key_length" "uint64_t seed"
-.Ft bool
-.Fn ck_ht_init "ck_ht_t *ht" "enum ck_ht_mode mode" "ck_ht_hash_cb_t *hash_function" "struct ck_malloc *allocator" "uint64_t capacity" "uint64_t seed"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_init
-function initializes the hash table pointed to by the
-.Fa ht
-pointer.
-.Pp
-The argument
-.Fa mode
-specifies the type of key-value pairs to be stored in the
-hash table. The value of
-.Fa mode
-may be one of:
-.Bl -tag -width indent
-.It CK_HT_MODE_BYTESTRING
-The hash table is meant to store key-value pointers where
-key is a region of memory that is up to 65536 bytes long.
-This pointer will be dereferenced during hash table operations
-for key comparison. Entries of this hash table are expected
-to be interacted with using the
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-and
-.Xr ck_ht_entry_set 3
-functions. Attempting a hash table operation with a key of value
-NULL or (void *)UINTPTR_MAX will result in undefined behavior.
-.It CK_HT_MODE_DIRECT
-The hash table is meant to store key-value pointers where
-the key is of fixed width field compatible with the
-.Tn uintptr_t
-type. The key will be directly compared with other keys for
-equality. Entries of this hash table are expected to be interacted
-with using the
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3
-and
-.Xr ck_entry_set_direct 3
-functions. Attempting a hash table operation with a key of value of 0 or
-UINTPTR_MAX will result in undefined behavior.
-.El
-.Pp
-In addition to this, the user may bitwise OR the mode flag with
-CK_HT_WORKLOAD_DELETE to indicate that the hash table will
-have to handle a delete heavy workload, in which case stronger
-bounds on latency can be provided at the cost of approximately
-13% higher memory usage.
-The argument
-.Fa hash_function
-is a pointer to a user-specified hash function. It is optional,
-if
-.Dv NULL
-is specified, then the default hash function implementation will be
-used (
-.Xr ck_ht_hash 3 ).
-A user-specified hash function takes four arguments. The
-.Fa h
-argument is a pointer to a hash value object. The hash function
-is expected to update the
-.Fa value
-object of type
-.Fa uint64_t
-contained with-in the object pointed to by
-.Fa h .
-The
-.Fa key
-argument is a pointer to a key, the
-.Fa key_length
-argument is the length of the key and the
-.Fa seed
-argument is the initial seed associated with the hash table.
-This initial seed is specified by the user in
-.Xr ck_ht_init 3 .
-.Pp
-The
-.Fa allocator
-argument is a pointer to a structure containing
-.Fa malloc
-and
-.Fa free
-function pointers which respectively define the memory allocation and
-destruction functions to be used by the hash table being initialized.
-.Pp
-The argument
-.Fa capacity
-represents the initial number of key-value pairs the hash
-table is expected to contain. This argument is simply a hint
-and the underlying implementation is free to allocate more
-or less memory than necessary to contain the number of entries
-.Fa capacity
-specifies.
-.Pp
-The argument
-.Fa seed
-specifies the initial seed used by the underlying hash function.
-The user is free to choose a value of their choice.
-.Pp
-The hash table is safe to access by multiple readers in the presence
-of one concurrent writer. Behavior is undefined in the presence of
-concurrent writers.
-.Sh RETURN VALUES
-Upon successful completion
-.Fn ck_ht_init
-returns a value of
-.Dv true
-and otherwise returns a value of
-.Dv false
-to indicate an error.
-.Sh ERRORS
-.Bl -tag -width Er
-.Pp
-The behavior of
-.Fn ck_ht_init
-is undefined if
-.Fa ht
-is not a pointer to a
-.Tn ck_ht_t
-object.
-.El
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_reset_spmc 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_iterator_init
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_iterator_init b/lib/ck/doc/ck_ht_iterator_init
deleted file mode 100644
index 14f10c6..0000000
--- a/lib/ck/doc/ck_ht_iterator_init
+++ /dev/null
@@ -1,88 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd March 30, 2012
-.Dt CK_HT_ITERATOR_INIT 3
-.Sh NAME
-.Nm ck_ht_iterator_init
-.Nd initialize hash table iterator
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Pp
-.Dv ck_ht_iterator_t iterator = CK_HT_ITERATOR_INITIALIZER
-.Pp
-.Ft void
-.Fn ck_ht_iterator_init "ck_ht_iterator_t *iterator"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_iterator_init
-function will initialize the object pointed to by
-the
-.Fa iterator
-argument. Alternatively, an iterator may be statically initialized
-by assigning it the
-.Dv CK_HT_ITERATOR_INITIALIZER
-value.
-.Pp
-An iterator is used to iterate through hash table entries
-with the
-.Xr ck_ht_next 3
-function.
-.Sh RETURN VALUES
-The
-.Fn ck_ht_iterator_init
-function does not return a value.
-.Sh ERRORS
-This function will not fail.
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_next
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_next b/lib/ck/doc/ck_ht_next
deleted file mode 100644
index d0365a1..0000000
--- a/lib/ck/doc/ck_ht_next
+++ /dev/null
@@ -1,107 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd March 30, 2012
-.Dt CK_HT_NEXT 3
-.Sh NAME
-.Nm ck_ht_next
-.Nd iterate to next entry in hash table
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft bool
-.Fn ck_ht_next "ck_ht_t *ht" "ck_ht_iterator_t *iterator" "ck_ht_entry_t **entry"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_next
-function will increment the iterator object pointed to by
-.Fa iterator
-to point to the next non-empty hash table entry. If
-.Fn ck_ht_next
-returns
-.Dv true
-then the pointer pointed to by
-.Fa entry
-is initialized to the current hash table entry pointed to by
-the
-.Fa iterator
-object.
-.Pp
-It is expected that
-.Fa iterator
-has been initialized using the
-.Xr ck_ht_iterator_init 3
-function or statically initialized using
-.Dv CK_HT_ITERATOR_INITIALIZER.
-.Sh RETURN VALUES
-If
-.Fn ck_ht_next
-returns
-.Dv true
-then the object pointed to by
-.Fa entry
-points to a valid hash table entry. If
-.Fn ck_ht_next
-returns
-.Dv false
-then value of the object pointed to by
-.Fa entry
-is undefined.
-.Sh ERRORS
-Behavior is undefined if
-.Fa iterator
-or
-.Fa ht
-are uninitialized.
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_reset_spmc 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_put_spmc
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_put_spmc b/lib/ck/doc/ck_ht_put_spmc
deleted file mode 100644
index f5a6389..0000000
--- a/lib/ck/doc/ck_ht_put_spmc
+++ /dev/null
@@ -1,146 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd March 29, 2012
-.Dt CK_HT_PUT_SPMC 3
-.Sh NAME
-.Nm ck_ht_put_spmc
-.Nd store unique key-value pair into hash table
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft bool
-.Fn ck_ht_put_spmc "ck_ht_t *ht" "ck_ht_hash_t h" "ck_ht_entry_t *entry"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_put_spmc
-function will store the key-value pair specified in the
-.Fa entry
-argument in the hash table pointed to by the
-.Fa ht
-argument. The key specified in
-.Fa entry
-is expected to have the hash value specified by the
-.Fa h
-argument.
-.Pp
-If
-.Fa ht
-was created with CK_HT_MODE_BYTESTRING then
-.Fa entry
-must have been initialized with the
-.Xr ck_ht_entry_set 3
-function. If
-.Fa ht
-was created with CK_HT_MODE_DIRECT then
-.Fa entry
-must have been initialized with the
-.Xr ck_ht_entry_set_direct 3
-function.
-.Pp
-It is expected that
-.Fa h
-was initialized with
-.Xr ck_ht_hash 3
-if
-.Fa ht
-was created with CK_HT_MODE_BYTESTRING. If
-.Fa ht
-was initialized with CK_HT_MODE_DIRECT then it is
-expected that
-.Fa h
-was initialized with the
-.Xr ck_ht_hash_direct 3
-function.
-.Pp
-If the call to
-.Fn ck_ht_put_spmc
-was successful then the key-value pair in
-.Fa entry
-was successfully stored in the hash table pointed
-to by
-.Fa ht
-and will fail if the key specified in
-.Fa entry
-already exists with-in the hash table. Replacement semantics
-are provided by the
-.Xr ck_ht_set_spmc 3
-function.
-.Pp
-This function is safe to call in the presence of concurrent
-.Xr ck_ht_get_spmc 3
-operations.
-.Sh RETURN VALUES
-Upon successful completion
-.Fn ck_ht_put_spmc
-returns
-.Dv true
-and otherwise returns
-.Dv false
-on failure.
-.Sh ERRORS
-.Bl -tag -width Er
-Behavior is undefined if
-.Fa entry
-or
-.Fa ht
-are uninitialized. The function will return
-.Dv false
-if the hash table required to be grown but failed
-while attempting to grow or if the key specified
-in
-.Fa entry
-was already present in the hash table.
-.El
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_reset_spmc 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_remove_spmc
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_remove_spmc b/lib/ck/doc/ck_ht_remove_spmc
deleted file mode 100644
index a263866..0000000
--- a/lib/ck/doc/ck_ht_remove_spmc
+++ /dev/null
@@ -1,117 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd March 29, 2012
-.Dt CK_HT_GROW_SPMC 3
-.Sh NAME
-.Nm ck_ht_remove_spmc
-.Nd resize a hash table if necessary
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft bool
-.Fn ck_ht_remove_spmc "ck_ht_t *ht" "ck_ht_hash_t h" "ck_ht_entry_t *entry"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_remove_spmc
-function will remove the key-value pair associated with the
-key specified by the
-.Fa entry
-argument.
-.Pp
-If
-.Fa ht
-was created with CK_HT_MODE_BYTESTRING then
-.Fa entry
-must have been initialized with the
-.Xr ck_ht_entry_set_key 3
-or
-.Xr ck_ht_entry_set 3
-functions. If
-.Fa ht
-was created with CK_HT_MODE_DIRECT then
-.Fa entry
-must have been initialized with the
-.Xr ck_ht_entry_key_set_direct 3
-or
-.Xr ck_ht_entry_set_direct 3
-functions.
-.Pp
-It is expected that
-.Fa h
-was initialized with
-.Xr ck_ht_hash 3
-if
-.Fa ht
-was created with CK_HT_MODE_BYTESTRING. If
-.Fa ht
-was initialized with CK_HT_MODE_DIRECT then it is
-expected that
-.Fa h
-was initialized with the
-.Xr ck_ht_hash_direct 3
-function.
-.Sh RETURN VALUES
-If successful,
-.Fa entry
-will contain the key-value pair that was found in the hash table
-and
-.Fn ck_ht_remove_spmc
-will return
-.Dv true.
-If the entry could not be found then
-.Fn ck_ht_remove_spmc
-will return
-.Dv false.
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_reset_spmc 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_reset_size_spmc
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_reset_size_spmc b/lib/ck/doc/ck_ht_reset_size_spmc
deleted file mode 100644
index 4308380..0000000
--- a/lib/ck/doc/ck_ht_reset_size_spmc
+++ /dev/null
@@ -1,84 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd May 5, 2013
-.Dt CK_HT_RESET_SPMC 3
-.Sh NAME
-.Nm ck_ht_reset_size_spmc
-.Nd remove all entries from a hash table and reset size
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft bool
-.Fn ck_ht_reset_size_spmc "ck_ht_t *ht" "uint64_t capacity"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_reset_size_spmc
-function will remove all key-value pairs stored in the hash
-table pointed to by the
-.Fa ht
-argument and create a new generation of the hash table that
-is preallocated for
-.Fa capacity
-entries.
-.Sh RETURN VALUES
-If successful,
-.Fn ck_ht_reset_size_spmc
-will return
-.Dv true
-and will otherwise return
-.Dv false.
-This function will only fail if a replacement hash table
-could not be allocated internally.
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_reset_spmc 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_reset_spmc
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_reset_spmc b/lib/ck/doc/ck_ht_reset_spmc
deleted file mode 100644
index dc2e601..0000000
--- a/lib/ck/doc/ck_ht_reset_spmc
+++ /dev/null
@@ -1,81 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd March 29, 2012
-.Dt CK_HT_RESET_SPMC 3
-.Sh NAME
-.Nm ck_ht_reset_spmc
-.Nd remove all entries from a hash table
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft bool
-.Fn ck_ht_reset_spmc "ck_ht_t *ht"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_reset_spmc
-function will remove all key-value pairs stored in the hash
-table pointed to by the
-.Fa ht
-argument.
-.Sh RETURN VALUES
-If successful,
-.Fn ck_ht_reset_spmc
-will return
-.Dv true
-and will otherwise return
-.Dv false.
-This function will only fail if a replacement hash table
-could not be allocated internally.
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_set_spmc
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_set_spmc b/lib/ck/doc/ck_ht_set_spmc
deleted file mode 100644
index e0fe1ae..0000000
--- a/lib/ck/doc/ck_ht_set_spmc
+++ /dev/null
@@ -1,140 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd March 29, 2012
-.Dt CK_HT_SET_SPMC 3
-.Sh NAME
-.Nm ck_ht_set_spmc
-.Nd store key-value pair into hash table
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft bool
-.Fn ck_ht_set_spmc "ck_ht_t *ht" "ck_ht_hash_t h" "ck_ht_entry_t *entry"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_set_spmc
-function will store the key-value pair specified in the
-.Fa entry
-argument in the hash table pointed to by the
-.Fa ht
-argument. The key specified in
-.Fa entry
-is expected to have the hash value specified by the
-.Fa h
-argument.
-.Pp
-If
-.Fa ht
-was created with CK_HT_MODE_BYTESTRING then
-.Fa entry
-must have been initialized with the
-.Xr ck_ht_entry_set 3
-function. If
-.Fa ht
-was created with CK_HT_MODE_DIRECT then
-.Fa entry
-must have been initialized with the
-.Xr ck_ht_entry_set_direct 3
-function.
-.Pp
-It is expected that
-.Fa h
-was initialized with
-.Xr ck_ht_hash 3
-if
-.Fa ht
-was created with CK_HT_MODE_BYTESTRING. If
-.Fa ht
-was initialized with CK_HT_MODE_DIRECT then it is
-expected that
-.Fa h
-was initialized with the
-.Xr ck_ht_hash_direct 3
-function.
-.Pp
-If the call to
-.Fn ck_ht_set_spmc
-was successful then the key-value pair in
-.Fa entry
-will contain the previous key-value pair associated
-with the key originally contained in the
-.Fa entry
-argument. If the operation was unsuccessful then
-.Fa entry
-is unmodified.
-.Pp
-This function is safe to call in the presence of concurrent
-.Xr ck_ht_get_spmc
-operations.
-.Sh RETURN VALUES
-Upon successful completion
-.Fn ck_ht_set_spmc
-returns
-.Dv true
-and otherwise returns
-.Dv false
-on failure.
-.Sh ERRORS
-.Bl -tag -width Er
-Behavior is undefined if
-.Fa entry
-or
-.Fa ht
-are uninitialized. The function will return
-.Dv false
-if the hash table required to be grown but failed
-while attempting to grow.
-.El
-.Sh SEE ALSO
-.Xr ck_ht_stat 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_reset_spmc 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_ht_stat
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_ht_stat b/lib/ck/doc/ck_ht_stat
deleted file mode 100644
index 6d2f1cd..0000000
--- a/lib/ck/doc/ck_ht_stat
+++ /dev/null
@@ -1,85 +0,0 @@
-.\"
-.\" Copyright 2012-2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd September 17, 2012
-.Dt CK_HT_STAT 3
-.Sh NAME
-.Nm ck_ht_stat
-.Nd get hash table status
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_ht.h
-.Ft void
-.Fn ck_ht_stat "ck_ht_t *ht" "struct ck_ht_stat *st"
-.Sh DESCRIPTION
-The
-.Fn ck_ht_stat 3
-function will store various hash set statistics in the object
-pointed to by
-.Fa st .
-The ck_ht_stat structure is defined as follows:
-.Bd -literal -offset indent
-struct ck_ht_stat {
-	uint64_t probe_maximum; /* Longest read-side probe sequence. */
-	uint64_t n_entries;     /* Current number of keys in hash set. */
-};
-.Ed
-.Sh RETURN VALUES
-.Fn ck_ht_stat 3
-has no return value.
-.Sh ERRORS
-Behavior is undefined if
-.Fa ht
-has not been initialized.
-.Sh SEE ALSO
-.Xr ck_ht_count 3 ,
-.Xr ck_ht_init 3 ,
-.Xr ck_ht_destroy 3 ,
-.Xr ck_ht_hash 3 ,
-.Xr ck_ht_hash_direct 3 ,
-.Xr ck_ht_set_spmc 3 ,
-.Xr ck_ht_put_spmc 3 ,
-.Xr ck_ht_gc 3 ,
-.Xr ck_ht_get_spmc 3 ,
-.Xr ck_ht_grow_spmc 3 ,
-.Xr ck_ht_remove_spmc 3 ,
-.Xr ck_ht_reset_spmc 3 ,
-.Xr ck_ht_reset_size_spmc 3 ,
-.Xr ck_ht_entry_empty 3 ,
-.Xr ck_ht_entry_key_set 3 ,
-.Xr ck_ht_entry_key_set_direct 3 ,
-.Xr ck_ht_entry_key 3 ,
-.Xr ck_ht_entry_key_length 3 ,
-.Xr ck_ht_entry_value 3 ,
-.Xr ck_ht_entry_set 3 ,
-.Xr ck_ht_entry_set_direct 3 ,
-.Xr ck_ht_entry_key_direct 3 ,
-.Xr ck_ht_entry_value_direct 3 ,
-.Xr ck_ht_iterator_init 3 ,
-.Xr ck_ht_next 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_pflock
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_pflock b/lib/ck/doc/ck_pflock
deleted file mode 100644
index 6fea701..0000000
--- a/lib/ck/doc/ck_pflock
+++ /dev/null
@@ -1,95 +0,0 @@
-.\"
-.\" Copyright 2014 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd April 22, 2014.
-.Dt ck_pflock 3
-.Sh NAME
-.Nm ck_pflock_init ,
-.Nm ck_pflock_write_lock ,
-.Nm ck_pflock_write_unlock ,
-.Nm ck_pflock_read_lock ,
-.Nm ck_pflock_read_unlock ,
-.Nd centralized phase-fair reader-writer locks
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_pflock.h
-.Pp
-.Dv ck_pflock_t lock = CK_PFLOCK_INITIALIZER;
-.Pp
-.Ft void
-.Fn ck_pflock_init "ck_pflock_t *lock"
-.Ft void
-.Fn ck_pflock_write_lock "ck_pflock_t *lock"
-.Ft void
-.Fn ck_pflock_write_unlock "ck_pflock_t *lock"
-.Ft void
-.Fn ck_pflock_read_lock "ck_pflock_t *lock"
-.Ft void
-.Fn ck_pflock_read_unlock "ck_pflock_t *lock"
-.Sh DESCRIPTION
-This is a centralized phase-fair reader-writer lock. It
-requires little space overhead and has a low latency
-fast path.
-.Sh EXAMPLE
-.Bd -literal -offset indent
-#include <ck_pflock.h>
-
-static ck_pflock_t lock = CK_TFLOCK_INITIALIZER;
-
-static void
-reader(void)
-{
-
-	for (;;) {
-		ck_pflock_read_lock(&lock);
-		/* Read-side critical section. */
-		ck_pflock_read_unlock(&lock);
-	}
-
-	return;
-}
-
-static void
-writer(void)
-{
-
-	for (;;) {
-		ck_pflock_write_lock(&lock);
-		/* Write-side critical section. */
-		ck_pflock_write_unlock(&lock);
-	}
-
-	return;
-}
-.Ed
-.Sh SEE ALSO
-.Xr ck_brlock 3 ,
-.Xr ck_rwlock 3 ,
-.Xr ck_tflock 3 ,
-.Xr ck_swlock 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_pr
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_pr b/lib/ck/doc/ck_pr
deleted file mode 100644
index 67c726f..0000000
--- a/lib/ck/doc/ck_pr
+++ /dev/null
@@ -1,71 +0,0 @@
-.\"
-.\" Copyright 2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd April 7, 2013
-.Dt ck_pr 3
-.Sh NAME
-.Nm ck_pr
-.Nd concurrency primitives interface
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_pr.h
-.Sh DESCRIPTION
-ck_pr.h provides an interface to volatile atomic instructions,
-memory barriers and busy-wait facilities as provided by the
-underlying processor. The presence of an atomic operation
-is detected by the presence of a corresponding CK_F_PR macro.
-For example, the availability of
-.Xr ck_pr_add_16 3
-would be determined by the presence of CK_F_PR_ADD_16.
-.Sh SEE ALSO
-.Xr ck_pr_stall 3 ,
-.Xr ck_pr_fence_acquire 3 ,
-.Xr ck_pr_fence_release 3 ,
-.Xr ck_pr_fence_load 3 ,
-.Xr ck_pr_fence_load_depends 3 ,
-.Xr ck_pr_fence_store 3 ,
-.Xr ck_pr_fence_memory 3 ,
-.Xr ck_pr_barrier 3 ,
-.Xr ck_pr_fas 3 ,
-.Xr ck_pr_load 3 ,
-.Xr ck_pr_store 3 ,
-.Xr ck_pr_faa 3 ,
-.Xr ck_pr_inc 3 ,
-.Xr ck_pr_dec 3 ,
-.Xr ck_pr_neg 3 ,
-.Xr ck_pr_not 3 ,
-.Xr ck_pr_add 3 ,
-.Xr ck_pr_sub 3 ,
-.Xr ck_pr_and 3 ,
-.Xr ck_pr_or 3 ,
-.Xr ck_pr_xor 3 ,
-.Xr ck_pr_cas 3 ,
-.Xr ck_pr_btc 3 ,
-.Xr ck_pr_bts 3 ,
-.Xr ck_pr_btr 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_pr_add
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_pr_add b/lib/ck/doc/ck_pr_add
deleted file mode 100644
index b4d394a..0000000
--- a/lib/ck/doc/ck_pr_add
+++ /dev/null
@@ -1,93 +0,0 @@
-.\"
-.\" Copyright 2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd April 11, 2013
-.Dt ck_pr_add 3
-.Sh NAME
-.Nm ck_pr_add_ptr ,
-.Nm ck_pr_add_double ,
-.Nm ck_pr_add_char ,
-.Nm ck_pr_add_uint ,
-.Nm ck_pr_add_int ,
-.Nm ck_pr_add_64 ,
-.Nm ck_pr_add_32 ,
-.Nm ck_pr_add_16 ,
-.Nm ck_pr_add_8
-.Nd atomic addition operations
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_pr.h
-.Ft void
-.Fn ck_pr_add_ptr "void *target" "uintptr_t delta"
-.Ft void
-.Fn ck_pr_add_double "double *target" "double delta"
-.Ft void
-.Fn ck_pr_add_char "char *target" "char delta"
-.Ft void
-.Fn ck_pr_add_uint "unsigned int *target" "unsigned int delta"
-.Ft void
-.Fn ck_pr_add_int "int *target" "int delta"
-.Ft void
-.Fn ck_pr_add_64 "uint64_t *target" "uint64_t delta"
-.Ft void
-.Fn ck_pr_add_32 "uint32_t *target" "uint32_t delta"
-.Ft void
-.Fn ck_pr_add_16 "uint16_t *target" "uint16_t delta"
-.Ft void
-.Fn ck_pr_add_8 "uint8_t *target" "uint8_t delta"
-.Sh DESCRIPTION
-The
-.Fn ck_pr_add 3
-family of functions atomically add the value specified by
-.Fa delta
-to the value pointed to by
-.Fa target .
-.Sh RETURN VALUES
-This family of functions does not have a return value.
-.Sh SEE ALSO
-.Xr ck_pr_fence_load 3 ,
-.Xr ck_pr_fence_load_depends 3 ,
-.Xr ck_pr_fence_store 3 ,
-.Xr ck_pr_fence_memory 3 ,
-.Xr ck_pr_load 3 ,
-.Xr ck_pr_store 3 ,
-.Xr ck_pr_fas 3 ,
-.Xr ck_pr_faa 3 ,
-.Xr ck_pr_inc 3 ,
-.Xr ck_pr_dec 3 ,
-.Xr ck_pr_neg 3 ,
-.Xr ck_pr_not 3 ,
-.Xr ck_pr_sub 3 ,
-.Xr ck_pr_and 3 ,
-.Xr ck_pr_or 3 ,
-.Xr ck_pr_xor 3 ,
-.Xr ck_pr_cas 3 ,
-.Xr ck_pr_btc 3 ,
-.Xr ck_pr_bts 3 ,
-.Xr ck_pr_btr 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_pr_and
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_pr_and b/lib/ck/doc/ck_pr_and
deleted file mode 100644
index 56ce5af..0000000
--- a/lib/ck/doc/ck_pr_and
+++ /dev/null
@@ -1,93 +0,0 @@
-.\"
-.\" Copyright 2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd April 11, 2013
-.Dt ck_pr_and 3
-.Sh NAME
-.Nm ck_pr_and_ptr ,
-.Nm ck_pr_and_char ,
-.Nm ck_pr_and_uint ,
-.Nm ck_pr_and_int ,
-.Nm ck_pr_and_64 ,
-.Nm ck_pr_and_32 ,
-.Nm ck_pr_and_16 ,
-.Nm ck_pr_and_8
-.Nd atomic bitwise-and operations
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_pr.h
-.Ft void
-.Fn ck_pr_and_ptr "void *target" "uintptr_t delta"
-.Ft void
-.Fn ck_pr_and_char "char *target" "char delta"
-.Ft void
-.Fn ck_pr_and_uint "unsigned int *target" "unsigned int delta"
-.Ft void
-.Fn ck_pr_and_int "int *target" "int delta"
-.Ft void
-.Fn ck_pr_and_64 "uint64_t *target" "uint64_t delta"
-.Ft void
-.Fn ck_pr_and_32 "uint32_t *target" "uint32_t delta"
-.Ft void
-.Fn ck_pr_and_16 "uint16_t *target" "uint16_t delta"
-.Ft void
-.Fn ck_pr_and_8 "uint8_t *target" "uint8_t delta"
-.Sh DESCRIPTION
-The
-.Fn ck_pr_and 3
-family of functions atomically compute and store the
-result of a bitwise-and of the value pointed to by
-.Fa target
-and
-.Fa delta
-into the value pointed to by
-.Fa target .
-.Sh RETURN VALUES
-This family of functions does not have a return value.
-.Sh SEE ALSO
-.Xr ck_pr_fence_load 3 ,
-.Xr ck_pr_fence_load_depends 3 ,
-.Xr ck_pr_fence_store 3 ,
-.Xr ck_pr_fence_memory 3 ,
-.Xr ck_pr_load 3 ,
-.Xr ck_pr_store 3 ,
-.Xr ck_pr_fas 3 ,
-.Xr ck_pr_faa 3 ,
-.Xr ck_pr_inc 3 ,
-.Xr ck_pr_dec 3 ,
-.Xr ck_pr_neg 3 ,
-.Xr ck_pr_not 3 ,
-.Xr ck_pr_add 3 ,
-.Xr ck_pr_sub 3 ,
-.Xr ck_pr_or 3 ,
-.Xr ck_pr_xor 3 ,
-.Xr ck_pr_cas 3 ,
-.Xr ck_pr_btc 3 ,
-.Xr ck_pr_bts 3 ,
-.Xr ck_pr_btr 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_pr_barrier
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_pr_barrier b/lib/ck/doc/ck_pr_barrier
deleted file mode 100644
index 3886729..0000000
--- a/lib/ck/doc/ck_pr_barrier
+++ /dev/null
@@ -1,66 +0,0 @@
-.\"
-.\" Copyright 2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd April 7, 2013
-.Dt ck_pr_barrier 3
-.Sh NAME
-.Nm ck_pr_barrier
-.Nd compiler optimization barrier
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_pr.h
-.Ft void
-.Fn ck_pr_barrier void
-.Sh DESCRIPTION
-The
-.Fn ck_pr_barrier 3
-function is used to disable code movement optimizations
-across the invocation of the function.
-.Sh SEE ALSO
-.Xr ck_pr_fence_load 3 ,
-.Xr ck_pr_fence_load_depends 3 ,
-.Xr ck_pr_fence_store 3 ,
-.Xr ck_pr_fence_memory 3 ,
-.Xr ck_pr_fas 3 ,
-.Xr ck_pr_load 3 ,
-.Xr ck_pr_store 3 ,
-.Xr ck_pr_faa 3 ,
-.Xr ck_pr_inc 3 ,
-.Xr ck_pr_dec 3 ,
-.Xr ck_pr_neg 3 ,
-.Xr ck_pr_not 3 ,
-.Xr ck_pr_add 3 ,
-.Xr ck_pr_sub 3 ,
-.Xr ck_pr_and 3 ,
-.Xr ck_pr_or 3 ,
-.Xr ck_pr_xor 3 ,
-.Xr ck_pr_cas 3 ,
-.Xr ck_pr_btc 3 ,
-.Xr ck_pr_bts 3 ,
-.Xr ck_pr_btr 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_pr_btc
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_pr_btc b/lib/ck/doc/ck_pr_btc
deleted file mode 100644
index 5956221..0000000
--- a/lib/ck/doc/ck_pr_btc
+++ /dev/null
@@ -1,90 +0,0 @@
-.\"
-.\" Copyright 2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd April 11, 2013
-.Dt ck_pr_btc 3
-.Sh NAME
-.Nm ck_pr_btc_ptr ,
-.Nm ck_pr_btc_uint ,
-.Nm ck_pr_btc_int ,
-.Nm ck_pr_btc_64 ,
-.Nm ck_pr_btc_32 ,
-.Nm ck_pr_btc_16
-.Nd atomic bit test-and-complement operations
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_pr.h
-.Ft bool
-.Fn ck_pr_btc_ptr "void *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_btc_uint "uint *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_btc_int "int *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_btc_64 "uint64_t *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_btc_32 "uint32_t *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_btc_16 "uint16_t *target" "unsigned int bit_index"
-.Sh DESCRIPTION
-The
-.Fn ck_pr_btc 3
-family of functions atomically fetch the value
-of the bit in
-.Fa target
-at index
-.Fa bit_index
-and set that bit to its complement.
-.Sh RETURN VALUES
-These family of functions return the original value of
-the bit at offset
-.Fa bit_index
-that is in the value pointed to by
-.Fa target .
-.Sh SEE ALSO
-.Xr ck_pr_fence_load 3 ,
-.Xr ck_pr_fence_load_depends 3 ,
-.Xr ck_pr_fence_store 3 ,
-.Xr ck_pr_fence_memory 3 ,
-.Xr ck_pr_load 3 ,
-.Xr ck_pr_store 3 ,
-.Xr ck_pr_fas 3 ,
-.Xr ck_pr_faa 3 ,
-.Xr ck_pr_inc 3 ,
-.Xr ck_pr_dec 3 ,
-.Xr ck_pr_neg 3 ,
-.Xr ck_pr_not 3 ,
-.Xr ck_pr_sub 3 ,
-.Xr ck_pr_and 3 ,
-.Xr ck_pr_or 3 ,
-.Xr ck_pr_xor 3 ,
-.Xr ck_pr_add 3 ,
-.Xr ck_pr_btc 3 ,
-.Xr ck_pr_btr 3 ,
-.Xr ck_pr_cas 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_pr_btr
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_pr_btr b/lib/ck/doc/ck_pr_btr
deleted file mode 100644
index d5e03fd..0000000
--- a/lib/ck/doc/ck_pr_btr
+++ /dev/null
@@ -1,90 +0,0 @@
-.\"
-.\" Copyright 2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd April 11, 2013
-.Dt ck_pr_btr 3
-.Sh NAME
-.Nm ck_pr_btr_ptr ,
-.Nm ck_pr_btr_uint ,
-.Nm ck_pr_btr_int ,
-.Nm ck_pr_btr_64 ,
-.Nm ck_pr_btr_32 ,
-.Nm ck_pr_btr_16
-.Nd atomic bit test-and-reset operations
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_pr.h
-.Ft bool
-.Fn ck_pr_btr_ptr "void *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_btr_uint "uint *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_btr_int "int *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_btr_64 "uint64_t *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_btr_32 "uint32_t *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_btr_16 "uint16_t *target" "unsigned int bit_index"
-.Sh DESCRIPTION
-The
-.Fn ck_pr_btr 3
-family of functions atomically fetch the value
-of the bit in
-.Fa target
-at index
-.Fa bit_index
-and set that bit to 0.
-.Sh RETURN VALUES
-This family of functions returns the original value of
-the bit at offset
-.Fa bit_index
-that is in the value pointed to by
-.Fa target .
-.Sh SEE ALSO
-.Xr ck_pr_fence_load 3 ,
-.Xr ck_pr_fence_load_depends 3 ,
-.Xr ck_pr_fence_store 3 ,
-.Xr ck_pr_fence_memory 3 ,
-.Xr ck_pr_load 3 ,
-.Xr ck_pr_store 3 ,
-.Xr ck_pr_fas 3 ,
-.Xr ck_pr_faa 3 ,
-.Xr ck_pr_inc 3 ,
-.Xr ck_pr_dec 3 ,
-.Xr ck_pr_neg 3 ,
-.Xr ck_pr_not 3 ,
-.Xr ck_pr_sub 3 ,
-.Xr ck_pr_and 3 ,
-.Xr ck_pr_or 3 ,
-.Xr ck_pr_xor 3 ,
-.Xr ck_pr_add 3 ,
-.Xr ck_pr_btc 3 ,
-.Xr ck_pr_bts 3 ,
-.Xr ck_pr_cas 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_pr_bts
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_pr_bts b/lib/ck/doc/ck_pr_bts
deleted file mode 100644
index 955855d..0000000
--- a/lib/ck/doc/ck_pr_bts
+++ /dev/null
@@ -1,90 +0,0 @@
-.\"
-.\" Copyright 2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd April 11, 2013
-.Dt ck_pr_bts 3
-.Sh NAME
-.Nm ck_pr_bts_ptr ,
-.Nm ck_pr_bts_uint ,
-.Nm ck_pr_bts_int ,
-.Nm ck_pr_bts_64 ,
-.Nm ck_pr_bts_32 ,
-.Nm ck_pr_bts_16
-.Nd atomic bit test-and-set operations
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_pr.h
-.Ft bool
-.Fn ck_pr_bts_ptr "void *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_bts_uint "uint *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_bts_int "int *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_bts_64 "uint64_t *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_bts_32 "uint32_t *target" "unsigned int bit_index"
-.Ft bool
-.Fn ck_pr_bts_16 "uint16_t *target" "unsigned int bit_index"
-.Sh DESCRIPTION
-The
-.Fn ck_pr_bts 3
-family of functions atomically fetch the value
-of the bit in
-.Fa target
-at index
-.Fa bit_index
-and set that bit to 1.
-.Sh RETURN VALUES
-This family of functions returns the original value of
-the bit at offset
-.Fa bit_index
-that is in the value pointed to by
-.Fa target .
-.Sh SEE ALSO
-.Xr ck_pr_fence_load 3 ,
-.Xr ck_pr_fence_load_depends 3 ,
-.Xr ck_pr_fence_store 3 ,
-.Xr ck_pr_fence_memory 3 ,
-.Xr ck_pr_load 3 ,
-.Xr ck_pr_store 3 ,
-.Xr ck_pr_fas 3 ,
-.Xr ck_pr_faa 3 ,
-.Xr ck_pr_inc 3 ,
-.Xr ck_pr_dec 3 ,
-.Xr ck_pr_neg 3 ,
-.Xr ck_pr_not 3 ,
-.Xr ck_pr_sub 3 ,
-.Xr ck_pr_and 3 ,
-.Xr ck_pr_or 3 ,
-.Xr ck_pr_xor 3 ,
-.Xr ck_pr_add 3 ,
-.Xr ck_pr_btc 3 ,
-.Xr ck_pr_btr 3 ,
-.Xr ck_pr_cas 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_pr_cas
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_pr_cas b/lib/ck/doc/ck_pr_cas
deleted file mode 100644
index 1fa3a88..0000000
--- a/lib/ck/doc/ck_pr_cas
+++ /dev/null
@@ -1,147 +0,0 @@
-.\"
-.\" Copyright 2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd April 11, 2013
-.Dt ck_pr_cas 3
-.Sh NAME
-.Nm ck_pr_cas_ptr ,
-.Nm ck_pr_cas_ptr_value ,
-.Nm ck_pr_cas_ptr_2 ,
-.Nm ck_pr_cas_ptr_2_value ,
-.Nm ck_pr_cas_double ,
-.Nm ck_pr_cas_double_value ,
-.Nm ck_pr_cas_char ,
-.Nm ck_pr_cas_char_value ,
-.Nm ck_pr_cas_uint ,
-.Nm ck_pr_cas_uint_value ,
-.Nm ck_pr_cas_int ,
-.Nm ck_pr_cas_int_value ,
-.Nm ck_pr_cas_64_2 ,
-.Nm ck_pr_cas_64_2_value ,
-.Nm ck_pr_cas_64 ,
-.Nm ck_pr_cas_64_value ,
-.Nm ck_pr_cas_32 ,
-.Nm ck_pr_cas_32_value ,
-.Nm ck_pr_cas_16 ,
-.Nm ck_pr_cas_16_value ,
-.Nm ck_pr_cas_8 ,
-.Nm ck_pr_cas_8_value
-.Nd atomic compare-and-swap operations
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_pr.h
-.Ft bool
-.Fn ck_pr_cas_ptr "void *target" "void *old_value" "void *new_value"
-.Ft bool
-.Fn ck_pr_cas_ptr_value "void *target" "void *old_value" "void *new_value" "void *original_value"
-.Ft bool
-.Fn ck_pr_cas_ptr_2 "void *target" "void *old_value" "void *new_value"
-.Ft bool
-.Fn ck_pr_cas_ptr_2_value "void *target" "void *old_value" "void *new_value" "void *original_value"
-.Ft bool
-.Fn ck_pr_cas_double "double *target" "double old_value" "double new_value"
-.Ft bool
-.Fn ck_pr_cas_double_value "double *target" "double old_value" "double new_value" "double *original_value"
-.Ft bool
-.Fn ck_pr_cas_char "char *target" "char old_value" "char new_value"
-.Ft bool
-.Fn ck_pr_cas_char_value "char *target" "char old_value" "char new_value" "char *original_value"
-.Ft bool
-.Fn ck_pr_cas_uint "unsigned int *target" "unsigned int old_value" "unsigned int new_value"
-.Ft bool
-.Fn ck_pr_cas_uint_value "unsigned int *target" "unsigned int old_value" "unsigned int new_value" "unsigned int *original_value"
-.Ft bool
-.Fn ck_pr_cas_int "int *target" "int old_value" "int new_value"
-.Ft bool
-.Fn ck_pr_cas_int_value "int *target" "int old_value" "int new_value" "int *original_value"
-.Ft bool
-.Fn ck_pr_cas_64_2 "uint64_t target[static 2]" "uint64_t old_value[static 2]" "uint64_t new_value[static 2]"
-.Ft bool
-.Fn ck_pr_cas_64_2_value "uint64_t target[static 2]" "uint64_t old_value[static 2]" "uint64_t new_value[static 2]" "uint64_t original_value[static 2]"
-.Ft bool
-.Fn ck_pr_cas_64 "uint64_t *target" "uint64_t old_value" "uint64_t new_value"
-.Ft bool
-.Fn ck_pr_cas_64_value "uint64_t *target" "uint64_t old_value" "uint64_t new_value" "uint64_t *original_value"
-.Ft bool
-.Fn ck_pr_cas_32 "uint32_t *target" "uint32_t old_value" "uint32_t new_value"
-.Ft bool
-.Fn ck_pr_cas_32_value "uint32_t *target" "uint32_t old_value" "uint32_t new_value" "uint32_t *original_value"
-.Ft bool
-.Fn ck_pr_cas_16 "uint16_t *target" "uint16_t old_value" "uint16_t new_value"
-.Ft bool
-.Fn ck_pr_cas_16_value "uint16_t *target" "uint16_t old_value" "uint16_t new_value" "uint16_t *original_value"
-.Ft bool
-.Fn ck_pr_cas_8 "uint8_t *target" "uint8_t old_value" "uint8_t new_value"
-.Ft bool
-.Fn ck_pr_cas_8_value "uint8_t *target" "uint8_t old_value" "uint8_t new_value" "uint8_t *original_value"
-.Sh DESCRIPTION
-The
-.Fn ck_pr_cas 3
-family of functions atomically compare the value in
-.Fa target
-for equality with
-.Fa old_value
-and if so, replace the value pointed to by
-.Fa target
-with the value specified by
-.Fa original_value .
-If the value in
-.Fa target
-was not equal to the value specified by
-.Fa old_value
-then no modifications occur to the value in
-.Fa target .
-The *_value form of these functions unconditionally update
-.Fa original_value .
-.Sh RETURN VALUES
-This family of functions return true if the value in
-.Fa target
-was modified as a result of the operation. Otherwise, they
-return false.
-.Sh SEE ALSO
-.Xr ck_pr_fence_load 3 ,
-.Xr ck_pr_fence_load_depends 3 ,
-.Xr ck_pr_fence_store 3 ,
-.Xr ck_pr_fence_memory 3 ,
-.Xr ck_pr_load 3 ,
-.Xr ck_pr_store 3 ,
-.Xr ck_pr_fas 3 ,
-.Xr ck_pr_faa 3 ,
-.Xr ck_pr_inc 3 ,
-.Xr ck_pr_dec 3 ,
-.Xr ck_pr_neg 3 ,
-.Xr ck_pr_not 3 ,
-.Xr ck_pr_sub 3 ,
-.Xr ck_pr_and 3 ,
-.Xr ck_pr_or 3 ,
-.Xr ck_pr_xor 3 ,
-.Xr ck_pr_add 3 ,
-.Xr ck_pr_btc 3 ,
-.Xr ck_pr_bts 3 ,
-.Xr ck_pr_btr 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_pr_dec
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_pr_dec b/lib/ck/doc/ck_pr_dec
deleted file mode 100644
index f3d34dd..0000000
--- a/lib/ck/doc/ck_pr_dec
+++ /dev/null
@@ -1,124 +0,0 @@
-.\"
-.\" Copyright 2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd April 7, 2013
-.Dt ck_pr_dec 3
-.Sh NAME
-.Nm ck_pr_dec_ptr ,
-.Nm ck_pr_dec_ptr_zero ,
-.Nm ck_pr_dec_double ,
-.Nm ck_pr_dec_double_zero ,
-.Nm ck_pr_dec_char ,
-.Nm ck_pr_dec_char_zero ,
-.Nm ck_pr_dec_uint ,
-.Nm ck_pr_dec_uint_zero ,
-.Nm ck_pr_dec_int ,
-.Nm ck_pr_dec_int_zero ,
-.Nm ck_pr_dec_64 ,
-.Nm ck_pr_dec_64_zero ,
-.Nm ck_pr_dec_32 ,
-.Nm ck_pr_dec_32_zero ,
-.Nm ck_pr_dec_16 ,
-.Nm ck_pr_dec_16_zero ,
-.Nm ck_pr_dec_8 ,
-.Nm ck_pr_dec_8_zero
-.Nd atomic decrement operations
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_pr.h
-.Ft void
-.Fn ck_pr_dec_ptr "void *target"
-.Ft void
-.Fn ck_pr_dec_ptr_zero "void *target" "bool *z"
-.Ft void
-.Fn ck_pr_dec_double "double *target"
-.Ft void
-.Fn ck_pr_dec_double_zero "double *target" "bool *z"
-.Ft void
-.Fn ck_pr_dec_char "char *target"
-.Ft void
-.Fn ck_pr_dec_char_zero "char *target" "bool *z"
-.Ft void
-.Fn ck_pr_dec_uint "unsigned int *target"
-.Ft void
-.Fn ck_pr_dec_uint_zero "unsigned int *target" "bool *z"
-.Ft void
-.Fn ck_pr_dec_int "int *target"
-.Ft void
-.Fn ck_pr_dec_int_zero "int *target" "bool *z"
-.Ft void
-.Fn ck_pr_dec_64 "uint64_t *target"
-.Ft void
-.Fn ck_pr_dec_64_zero "uint64_t *target" "bool *z"
-.Ft void
-.Fn ck_pr_dec_32 "uint32_t *target"
-.Ft void
-.Fn ck_pr_dec_32_zero "uint32_t *target" "bool *z"
-.Ft void
-.Fn ck_pr_dec_16 "uint16_t *target"
-.Ft void
-.Fn ck_pr_dec_16_zero "uint16_t *target" "bool *z"
-.Ft void
-.Fn ck_pr_dec_8 "uint8_t *target"
-.Ft void
-.Fn ck_pr_dec_8_zero "uint8_t *target" "bool *z"
-.Sh DESCRIPTION
-The
-.Fn ck_pr_dec 3
-family of functions atomically decrement the value pointed to
-by
-.Fa target .
-.Sh RETURN VALUES
-The ck_pr_dec_zero family of functions set the value pointed to by
-.Fa z
-to true if the result
-of the decrement operation was 0. They set the value pointed to by
-.Fa z
-to false otherwise.
-.Sh SEE ALSO
-.Xr ck_pr_fence_load 3 ,
-.Xr ck_pr_fence_load_depends 3 ,
-.Xr ck_pr_fence_store 3 ,
-.Xr ck_pr_fence_memory 3 ,
-.Xr ck_pr_load 3 ,
-.Xr ck_pr_store 3 ,
-.Xr ck_pr_fas 3 ,
-.Xr ck_pr_faa 3 ,
-.Xr ck_pr_inc 3 ,
-.Xr ck_pr_neg 3 ,
-.Xr ck_pr_not 3 ,
-.Xr ck_pr_add 3 ,
-.Xr ck_pr_sub 3 ,
-.Xr ck_pr_and 3 ,
-.Xr ck_pr_or 3 ,
-.Xr ck_pr_xor 3 ,
-.Xr ck_pr_cas 3 ,
-.Xr ck_pr_btc 3 ,
-.Xr ck_pr_bts 3 ,
-.Xr ck_pr_btr 3
-.Pp
-Additional information available at http://concurrencykit.org/

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/025a4550/lib/ck/doc/ck_pr_faa
----------------------------------------------------------------------
diff --git a/lib/ck/doc/ck_pr_faa b/lib/ck/doc/ck_pr_faa
deleted file mode 100644
index fbeff01..0000000
--- a/lib/ck/doc/ck_pr_faa
+++ /dev/null
@@ -1,99 +0,0 @@
-.\"
-.\" Copyright 2013 Samy Al Bahra.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"
-.Dd April 7, 2013
-.Dt ck_pr_faa 3
-.Sh NAME
-.Nm ck_pr_faa_ptr ,
-.Nm ck_pr_faa_double ,
-.Nm ck_pr_faa_char ,
-.Nm ck_pr_faa_uint ,
-.Nm ck_pr_faa_int ,
-.Nm ck_pr_faa_64 ,
-.Nm ck_pr_faa_32 ,
-.Nm ck_pr_faa_16 ,
-.Nm ck_pr_faa_8
-.Nd atomic fetch-and-add operations
-.Sh LIBRARY
-Concurrency Kit (libck, \-lck)
-.Sh SYNOPSIS
-.In ck_pr.h
-.Ft uintptr_t
-.Fn ck_pr_faa_ptr "void *target" "uintptr_t delta"
-.Ft double
-.Fn ck_pr_faa_double "double *target" "double delta"
-.Ft char
-.Fn ck_pr_faa_char "char *target" "char delta"
-.Ft unsigned int
-.Fn ck_pr_faa_uint "unsigned int *target" "unsigned int delta"
-.Ft int
-.Fn ck_pr_faa_int "int *target" "int delta"
-.Ft uint64_t
-.Fn ck_pr_faa_64 "uint64_t *target" "uint64_t delta"
-.Ft uint32_t
-.Fn ck_pr_faa_32 "uint32_t *target" "uint32_t delta"
-.Ft uint16_t
-.Fn ck_pr_faa_16 "uint16_t *target" "uint16_t delta"
-.Ft uint8_t
-.Fn ck_pr_faa_8 "uint8_t *target" "uint8_t delta"
-.Sh DESCRIPTION
-The
-.Fn ck_pr_faa 3
-family of functions atomically fetch the value pointed to
-by
-.Fa target
-and add the value specified by
-.Fa delta
-to the value pointed to by
-.Fa target .
-.Sh RETURN VALUES
-This function returns the value pointed to by
-.Fa target
-at the time of operation invocation before the
-addition operation is applied.
-.Sh SEE ALSO
-.Xr ck_pr_fence_load 3 ,
-.Xr ck_pr_fence_load_depends 3 ,
-.Xr ck_pr_fence_store 3 ,
-.Xr ck_pr_fence_memory 3 ,
-.Xr ck_pr_load 3 ,
-.Xr ck_pr_store 3 ,
-.Xr ck_pr_fas 3 ,
-.Xr ck_pr_inc 3 ,
-.Xr ck_pr_dec 3 ,
-.Xr ck_pr_neg 3 ,
-.Xr ck_pr_not 3 ,
-.Xr ck_pr_add 3 ,
-.Xr ck_pr_sub 3 ,
-.Xr ck_pr_and 3 ,
-.Xr ck_pr_or 3 ,
-.Xr ck_pr_xor 3 ,
-.Xr ck_pr_cas 3 ,
-.Xr ck_pr_btc 3 ,
-.Xr ck_pr_bts 3 ,
-.Xr ck_pr_btr 3
-.Pp
-Additional information available at http://concurrencykit.org/