whitespace: Bulk whitespace changes.

ck_pring
Samy Al Bahra 11 years ago
parent 9c1a4c8c9b
commit 5d8a273dbe

@ -27,7 +27,15 @@
.Dd July 26, 2013.
.Dt ck_brlock 3
.Sh NAME
.Nm ck_brlock
.Nm ck_brlock_init ,
.Nm ck_brlock_write_lock ,
.Nm ck_brlock_write_unlock ,
.Nm ck_brlock_write_trylock ,
.Nm ck_brlock_read_register ,
.Nm ck_brlock_read_unregister ,
.Nm ck_brlock_read_lock ,
.Nm ck_brlock_read_trylock ,
.Nm ck_brlock_read_unlock
.Nd big-reader locks
.Sh LIBRARY
Concurrency Kit (libck, \-lck)

@ -27,8 +27,16 @@
.Dd April 11, 2013
.Dt ck_pr_add 3
.Sh NAME
.Nm ck_pr_add
.Nd atomic addition operation
.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

@ -27,8 +27,15 @@
.Dd April 11, 2013
.Dt ck_pr_and 3
.Sh NAME
.Nm ck_pr_and
.Nd atomic bitwise-and operation
.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

@ -27,8 +27,13 @@
.Dd April 11, 2013
.Dt ck_pr_btc 3
.Sh NAME
.Nm ck_pr_btc
.Nd atomic bit test-and-complement operation
.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

@ -27,8 +27,13 @@
.Dd April 11, 2013
.Dt ck_pr_btr 3
.Sh NAME
.Nm ck_pr_btr
.Nd atomic bit test-and-reset operation
.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

@ -27,8 +27,13 @@
.Dd April 11, 2013
.Dt ck_pr_bts 3
.Sh NAME
.Nm ck_pr_bts
.Nd atomic bit test-and-set operation
.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

@ -27,8 +27,31 @@
.Dd April 11, 2013
.Dt ck_pr_cas 3
.Sh NAME
.Nm ck_pr_cas
.Nd atomic compare-and-swap operation
.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_64_2 ,
.Nm ck_pr_cas_64_2_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

@ -27,8 +27,25 @@
.Dd April 7, 2013
.Dt ck_pr_dec 3
.Sh NAME
.Nm ck_pr_dec
.Nd atomic decrement operation
.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

@ -27,8 +27,16 @@
.Dd April 7, 2013
.Dt ck_pr_faa 3
.Sh NAME
.Nm ck_pr_faa
.Nd atomic fetch-and-add operation
.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

@ -27,8 +27,16 @@
.Dd April 7, 2013
.Dt ck_pr_fas 3
.Sh NAME
.Nm ck_pr_fas
.Nd atomic swap operation
.Nm ck_pr_fas_ptr ,
.Nm ck_pr_fas_double ,
.Nm ck_pr_fas_char ,
.Nm ck_pr_fas_uint ,
.Nm ck_pr_fas_int ,
.Nm ck_pr_fas_64 ,
.Nm ck_pr_fas_32 ,
.Nm ck_pr_fas_16 ,
.Nm ck_pr_fas_8
.Nd atomic swap operations
.Sh LIBRARY
Concurrency Kit (libck, \-lck)
.Sh SYNOPSIS

@ -27,8 +27,25 @@
.Dd April 7, 2013
.Dt ck_pr_inc 3
.Sh NAME
.Nm ck_pr_inc
.Nd atomic increment operation
.Nm ck_pr_inc_ptr ,
.Nm ck_pr_inc_ptr_zero ,
.Nm ck_pr_inc_double ,
.Nm ck_pr_inc_double_zero ,
.Nm ck_pr_inc_char ,
.Nm ck_pr_inc_char_zero ,
.Nm ck_pr_inc_uint ,
.Nm ck_pr_inc_uint_zero ,
.Nm ck_pr_inc_int ,
.Nm ck_pr_inc_int_zero ,
.Nm ck_pr_inc_64 ,
.Nm ck_pr_inc_64_zero ,
.Nm ck_pr_inc_32 ,
.Nm ck_pr_inc_32_zero ,
.Nm ck_pr_inc_16 ,
.Nm ck_pr_inc_16_zero ,
.Nm ck_pr_inc_8 ,
.Nm ck_pr_inc_8_zero
.Nd atomic increment operations
.Sh LIBRARY
Concurrency Kit (libck, \-lck)
.Sh SYNOPSIS

@ -27,8 +27,16 @@
.Dd April 15, 2013
.Dt ck_pr_load 3
.Sh NAME
.Nm ck_pr_load
.Nd atomic volatile load operation
.Nm ck_pr_load_ptr ,
.Nm ck_pr_load_double ,
.Nm ck_pr_load_uint ,
.Nm ck_pr_load_int ,
.Nm ck_pr_load_char ,
.Nm ck_pr_load_64 ,
.Nm ck_pr_load_32 ,
.Nm ck_pr_load_16 ,
.Nm ck_pr_load_8
.Nd atomic volatile load operations
.Sh LIBRARY
Concurrency Kit (libck, \-lck)
.Sh SYNOPSIS

@ -27,8 +27,25 @@
.Dd April 7, 2013
.Dt ck_pr_neg 3
.Sh NAME
.Nm ck_pr_neg
.Nd atomic negation operation
.Nm ck_pr_neg_ptr ,
.Nm ck_pr_neg_ptr_zero ,
.Nm ck_pr_neg_double ,
.Nm ck_pr_neg_double_zero ,
.Nm ck_pr_neg_char ,
.Nm ck_pr_neg_char_zero ,
.Nm ck_pr_neg_uint ,
.Nm ck_pr_neg_uint_zero ,
.Nm ck_pr_neg_int ,
.Nm ck_pr_neg_int_zero ,
.Nm ck_pr_neg_64 ,
.Nm ck_pr_neg_64_zero ,
.Nm ck_pr_neg_32 ,
.Nm ck_pr_neg_32_zero ,
.Nm ck_pr_neg_16 ,
.Nm ck_pr_neg_16_zero ,
.Nm ck_pr_neg_8 ,
.Nm ck_pr_neg_8_zero
.Nd atomic negation operations
.Sh LIBRARY
Concurrency Kit (libck, \-lck)
.Sh SYNOPSIS

@ -27,8 +27,16 @@
.Dd April 7, 2013
.Dt ck_pr_not 3
.Sh NAME
.Nm ck_pr_not
.Nd atomic complement operation
.Nm ck_pr_not_ptr ,
.Nm ck_pr_not_double ,
.Nm ck_pr_not_char ,
.Nm ck_pr_not_uint ,
.Nm ck_pr_not_int ,
.Nm ck_pr_not_64 ,
.Nm ck_pr_not_32 ,
.Nm ck_pr_not_16 ,
.Nm ck_pr_not_8
.Nd atomic complement operations
.Sh LIBRARY
Concurrency Kit (libck, \-lck)
.Sh SYNOPSIS

@ -27,8 +27,15 @@
.Dd April 11, 2013
.Dt ck_pr_or 3
.Sh NAME
.Nm ck_pr_or
.Nd atomic bitwise-or operation
.Nm ck_pr_or_ptr ,
.Nm ck_pr_or_char ,
.Nm ck_pr_or_uint ,
.Nm ck_pr_or_int ,
.Nm ck_pr_or_64 ,
.Nm ck_pr_or_32 ,
.Nm ck_pr_or_16 ,
.Nm ck_pr_or_8
.Nd atomic bitwise-or operations
.Sh LIBRARY
Concurrency Kit (libck, \-lck)
.Sh SYNOPSIS

@ -27,8 +27,16 @@
.Dd April 15, 2013
.Dt ck_pr_store 3
.Sh NAME
.Nm ck_pr_store
.Nd atomic volatile store operation
.Nm ck_pr_store_ptr ,
.Nm ck_pr_store_double ,
.Nm ck_pr_store_uint ,
.Nm ck_pr_store_int ,
.Nm ck_pr_store_char ,
.Nm ck_pr_store_64 ,
.Nm ck_pr_store_32 ,
.Nm ck_pr_store_16 ,
.Nm ck_pr_store_8
.Nd atomic volatile store operations
.Sh LIBRARY
Concurrency Kit (libck, \-lck)
.Sh SYNOPSIS

@ -27,8 +27,16 @@
.Dd April 11, 2013
.Dt ck_pr_sub 3
.Sh NAME
.Nm ck_pr_sub
.Nd atomic subtraction operation
.Nm ck_pr_sub_ptr ,
.Nm ck_pr_sub_double ,
.Nm ck_pr_sub_char ,
.Nm ck_pr_sub_uint ,
.Nm ck_pr_sub_int ,
.Nm ck_pr_sub_64 ,
.Nm ck_pr_sub_32 ,
.Nm ck_pr_sub_16 ,
.Nm ck_pr_sub_8
.Nd atomic subtraction operations
.Sh LIBRARY
Concurrency Kit (libck, \-lck)
.Sh SYNOPSIS

@ -27,8 +27,15 @@
.Dd April 11, 2013
.Dt ck_pr_xor 3
.Sh NAME
.Nm ck_pr_xor
.Nd atomic bitwise-xor operation
.Nm ck_pr_xor_ptr ,
.Nm ck_pr_xor_char ,
.Nm ck_pr_xor_uint ,
.Nm ck_pr_xor_int ,
.Nm ck_pr_xor_64 ,
.Nm ck_pr_xor_32 ,
.Nm ck_pr_xor_16 ,
.Nm ck_pr_xor_8
.Nd atomic bitwise-xor operations
.Sh LIBRARY
Concurrency Kit (libck, \-lck)
.Sh SYNOPSIS

@ -27,7 +27,48 @@
.Dd July 26, 2013.
.Dt ck_spinlock 3
.Sh NAME
.Nm ck_spinlock
.Nm ck_spinlock_init ,
.Nm ck_spinlock_lock ,
.Nm ck_spinlock_unlock ,
.Nm ck_spinlock_locked ,
.Nm ck_spinlock_trylock ,
.Nm ck_spinlock_anderson_init ,
.Nm ck_spinlock_anderson_locked ,
.Nm ck_spinlock_anderson_lock ,
.Nm ck_spinlock_anderson_unlock ,
.Nm ck_spinlock_cas_init ,
.Nm ck_spinlock_cas_locked ,
.Nm ck_spinlock_cas_lock ,
.Nm ck_spinlock_cas_lock_eb ,
.Nm ck_spinlock_cas_trylock ,
.Nm ck_spinlock_cas_unlock ,
.Nm ck_spinlock_clh_init ,
.Nm ck_spinlock_clh_locked ,
.Nm ck_spinlock_clh_lock ,
.Nm ck_spinlock_clh_unlock ,
.Nm ck_spinlock_dec_init ,
.Nm ck_spinlock_dec_locked ,
.Nm ck_spinlock_dec_lock ,
.Nm ck_spinlock_dec_lock_eb ,
.Nm ck_spinlock_dec_trylock ,
.Nm ck_spinlock_dec_unlock ,
.Nm ck_spinlock_fas_init ,
.Nm ck_spinlock_fas_lock ,
.Nm ck_spinlock_fas_lock_eb ,
.Nm ck_spinlock_fas_locked ,
.Nm ck_spinlock_fas_trylock ,
.Nm ck_spinlock_fas_unlock ,
.Nm ck_spinlock_mcs_init ,
.Nm ck_spinlock_mcs_locked ,
.Nm ck_spinlock_mcs_lock ,
.Nm ck_spinlock_mcs_trylock ,
.Nm ck_spinlock_mcs_unlock ,
.Nm ck_spinlock_ticket_init ,
.Nm ck_spinlock_ticket_locked ,
.Nm ck_spinlock_ticket_lock ,
.Nm ck_spinlock_ticket_lock_pb ,
.Nm ck_spinlock_ticket_trylock ,
.Nm ck_spinlock_ticket_unlock
.Nd spinlock implementations
.Sh LIBRARY
Concurrency Kit (libck, \-lck)

@ -55,3 +55,4 @@ ck_backoff_eb(volatile unsigned int *c)
}
#endif /* _CK_BACKOFF_H */

@ -194,3 +194,4 @@ bool ck_bag_remove_spmc(ck_bag_t *, void *);
bool ck_bag_member_spmc(ck_bag_t *, void *);
#endif /* _CK_BAG_H */

@ -293,3 +293,4 @@ ck_bitmap_next(struct ck_bitmap *bitmap,
}
#endif /* _CK_BITMAP_H */

@ -276,3 +276,4 @@ ck_brlock_read_unlock(struct ck_brlock_reader *reader)
}
#endif /* _CK_BRLOCK_H */

@ -185,3 +185,4 @@ ck_bytelock_read_unlock(struct ck_bytelock *bytelock, unsigned int slot)
}
#endif /* _CK_BYTELOCK_H */

@ -86,3 +86,4 @@
#endif
#endif /* _CK_CC_H */

@ -153,3 +153,4 @@ void ck_epoch_barrier(ck_epoch_t *, ck_epoch_record_t *);
void ck_epoch_reclaim(ck_epoch_record_t *);
#endif /* _CK_EPOCH_H */

@ -454,3 +454,4 @@ ck_fifo_mpmc_trydequeue(struct ck_fifo_mpmc *fifo,
#endif /* CK_F_PR_CAS_PTR_2 */
#endif /* _CK_FIFO_H */

@ -104,3 +104,4 @@ void ck_hp_retire(ck_hp_record_t *, ck_hp_hazard_t *, void *, void *);
void ck_hp_purge(ck_hp_record_t *);
#endif /* _CK_HP_H */

@ -211,3 +211,4 @@ ck_hp_fifo_trydequeue_mpmc(ck_hp_record_t *record,
(entry) = (T))
#endif /* _CK_HP_FIFO_H */

@ -111,3 +111,4 @@ leave:
}
#endif /* _CK_HP_STACK_H */

@ -258,3 +258,4 @@ uint64_t ck_ht_count(ck_ht_t *);
#endif /* CK_F_PR_LOAD_64 && CK_F_PR_STORE_64 */
#endif /* _CK_HT_H */

@ -29,3 +29,4 @@
#else
#include <limits.h>
#endif /* __linux__ && __KERNEL__ */

@ -36,3 +36,4 @@ struct ck_malloc {
};
#endif /* _CK_MALLOC_H */

@ -415,3 +415,4 @@ struct { \
} while (0)
#endif /* _CK_QUEUE_H */

@ -461,3 +461,4 @@ ck_ring_init(struct ck_ring *ring, void *buffer, unsigned int size)
}
#endif /* _CK_RING_H */

@ -123,3 +123,4 @@ ck_sequence_write_end(struct ck_sequence *sq)
}
#endif /* _CK_SEQUENCE_H */

@ -352,3 +352,4 @@ ck_stack_init(struct ck_stack *stack)
(entry) = (T))
#endif /* _CK_STACK_H */

@ -30,3 +30,4 @@
#else
#include <stdint.h>
#endif /* __linux__ && __KERNEL__ */

@ -89,3 +89,4 @@
#define CK_CC_ALIASED __attribute__((__may_alias__))
#endif /* _CK_GCC_CC_H */

@ -103,3 +103,4 @@
#define CK_F_PR_XOR_INT
#define CK_F_PR_XOR_PTR
#define CK_F_PR_XOR_UINT

@ -276,3 +276,4 @@ CK_PR_UNARY_S(8, uint8_t)
#undef CK_PR_UNARY
#endif /* !CK_F_PR */
#endif /* _CK_PR_GCC_H */

@ -76,3 +76,4 @@
#define CK_F_PR_XOR_INT
#define CK_F_PR_XOR_PTR
#define CK_F_PR_XOR_UINT

@ -317,3 +317,4 @@ CK_PR_FAA(int, int, "w")
#undef CK_PR_FAA
#endif /* _CK_PR_PPC_H */

@ -94,3 +94,4 @@
#define CK_F_PR_XOR_INT
#define CK_F_PR_XOR_PTR
#define CK_F_PR_XOR_UINT

@ -414,3 +414,4 @@ CK_PR_FAA(int, int, "w")
#undef CK_PR_FAA
#endif /* _CK_PR_PPC64_H */

@ -23,3 +23,4 @@
#define CK_F_PR_LOAD_UINT
#define CK_F_PR_LOAD_INT
#define CK_F_PR_LOAD_PTR

@ -220,3 +220,4 @@ CK_PR_FAS(32, uint32_t)
#undef CK_PR_FAS
#endif /* _CK_PR_SPARCV9_H */

@ -149,3 +149,4 @@
#define CK_F_PR_XOR_INT
#define CK_F_PR_XOR_PTR
#define CK_F_PR_XOR_UINT

@ -383,3 +383,4 @@ CK_PR_GENERATE(btr)
#undef CK_PR_BT
#endif /* _CK_PR_X86_H */

@ -199,3 +199,4 @@
#define CK_F_PR_XOR_INT
#define CK_F_PR_XOR_PTR
#define CK_F_PR_XOR_UINT

@ -540,3 +540,4 @@ CK_PR_GENERATE(btr)
#undef CK_PR_BT
#endif /* _CK_PR_X86_64_H */

Loading…
Cancel
Save