/freebsd/sys/contrib/ck/src/ |
H A D | ck_barrier_mcs.c | 38 ck_pr_store_uint(&barrier->tid, 0); in ck_barrier_mcs_init() 104 ck_pr_store_uint(&node->childnotready[0], node->havechild[0]); in ck_barrier_mcs_reinitialize_children() 105 ck_pr_store_uint(&node->childnotready[1], node->havechild[1]); in ck_barrier_mcs_reinitialize_children() 106 ck_pr_store_uint(&node->childnotready[2], node->havechild[2]); in ck_barrier_mcs_reinitialize_children() 107 ck_pr_store_uint(&node->childnotready[3], node->havechild[3]); in ck_barrier_mcs_reinitialize_children() 127 ck_pr_store_uint(barrier[state->vpid].parent, 0); in ck_barrier_mcs() 136 ck_pr_store_uint(barrier[state->vpid].children[0], state->sense); in ck_barrier_mcs() 137 ck_pr_store_uint(barrier[state->vpid].children[1], state->sense); in ck_barrier_mcs()
|
H A D | ck_barrier_tournament.c | 66 ck_pr_store_uint(&barrier->tid, 0); in ck_barrier_tournament_init() 130 ck_pr_store_uint(rounds[state->vpid][round].opponent, state->sense); in ck_barrier_tournament() 140 ck_pr_store_uint(rounds[state->vpid][round].opponent, state->sense); in ck_barrier_tournament() 175 ck_pr_store_uint(rounds[state->vpid][round].opponent, state->sense); in ck_barrier_tournament()
|
H A D | ck_barrier_centralized.c | 47 ck_pr_store_uint(&barrier->value, 0); in ck_barrier_centralized() 49 ck_pr_store_uint(&barrier->sense, sense); in ck_barrier_centralized()
|
H A D | ck_barrier_dissemination.c | 45 ck_pr_store_uint(&barrier->tid, 0); in ck_barrier_dissemination_init() 110 ck_pr_store_uint(pflag, state->sense); in ck_barrier_dissemination()
|
H A D | ck_barrier_combining.c | 184 ck_pr_store_uint(&tnode->count, 0); in ck_barrier_combining_aux() 186 ck_pr_store_uint(&tnode->sense, ~tnode->sense); in ck_barrier_combining_aux()
|
H A D | ck_epoch.c | 179 ck_pr_store_uint(&record->epoch, other->epoch); in CK_STACK_CONTAINER() 315 ck_pr_store_uint(&record->state, CK_EPOCH_STATE_FREE); in ck_epoch_unregister() 386 ck_pr_store_uint(&record->n_peak, n_peak); in ck_epoch_dispatch()
|
H A D | ck_array.c | 97 ck_pr_store_uint(&target->length, size); in ck_array_put() 222 ck_pr_store_uint(&array->active->n_committed, array->n_entries); in ck_array_commit()
|
H A D | ck_hs.c | 102 ck_pr_store_uint(&map->generation[h], in ck_hs_map_signal() 302 ck_pr_store_uint(&m->probe_maximum, n_probes); in ck_hs_map_bound_set() 565 ck_pr_store_uint(&map->probe_maximum, 0); in ck_hs_gc() 632 ck_pr_store_uint(&map->probe_maximum, maximum); in ck_hs_gc()
|
H A D | ck_hp.c | 89 ck_pr_store_uint(&state->threshold, threshold); in ck_hp_set_threshold()
|
/freebsd/sys/contrib/ck/include/ |
H A D | ck_brlock.h | 103 ck_pr_store_uint(&br->writer, false); in ck_brlock_write_unlock() 183 ck_pr_store_uint(&reader->n_readers, reader->n_readers + 1); in ck_brlock_read_lock() 200 ck_pr_store_uint(&reader->n_readers, 1); in ck_brlock_read_lock() 212 ck_pr_store_uint(&reader->n_readers, 0); in ck_brlock_read_lock() 227 ck_pr_store_uint(&reader->n_readers, reader->n_readers + 1); in ck_brlock_read_trylock() 248 ck_pr_store_uint(&reader->n_readers, 1); in ck_brlock_read_trylock() 260 ck_pr_store_uint(&reader->n_readers, 0); in ck_brlock_read_trylock() 275 ck_pr_store_uint(&reader->n_readers, reader->n_readers - 1); in ck_brlock_read_unlock()
|
H A D | ck_sequence.h | 45 ck_pr_store_uint(&sq->sequence, 0); in ck_sequence_init() 104 ck_pr_store_uint(&sq->sequence, sq->sequence + 1); in ck_sequence_write_begin() 121 ck_pr_store_uint(&sq->sequence, sq->sequence + 1); in ck_sequence_write_end()
|
H A D | ck_epoch.h | 146 ck_pr_store_uint(&record->active, 1); in ck_epoch_begin() 158 ck_pr_store_uint(&record->epoch, g_epoch); in ck_epoch_begin() 160 ck_pr_store_uint(&record->active, record->active + 1); in ck_epoch_begin() 178 ck_pr_store_uint(&record->active, record->active - 1); in ck_epoch_end()
|
H A D | ck_rwlock.h | 58 ck_pr_store_uint(&rw->writer, 0); in ck_rwlock_write_unlock() 257 ck_pr_store_uint(&rw->rw.writer, 0); in ck_rwlock_recursive_write_trylock() 273 ck_pr_store_uint(&rw->rw.writer, 0); in ck_rwlock_recursive_write_unlock()
|
H A D | ck_bytelock.h | 123 ck_pr_store_uint(&bytelock->owner, 0); in ck_bytelock_write_unlock() 134 ck_pr_store_uint(&bytelock->owner, 0); in ck_bytelock_read_lock()
|
H A D | ck_ring.h | 169 ck_pr_store_uint(&ring->p_tail, ring->p_tail + 1); in _ck_ring_enqueue_commit_sp() 200 ck_pr_store_uint(&ring->p_tail, delta); in _ck_ring_enqueue_sp() 248 ck_pr_store_uint(&ring->c_head, consumer + 1); in _ck_ring_dequeue_sc() 307 ck_pr_store_uint(&ring->p_tail, producer + 1); in _ck_ring_enqueue_commit_mp() 388 ck_pr_store_uint(&ring->p_tail, delta); in _ck_ring_enqueue_mp()
|
H A D | ck_bitmap.h | 263 ck_pr_store_uint(&dst->map[n], 0); in ck_bitmap_intersection() 304 ck_pr_store_uint(&bitmap->map[i], 0); in ck_bitmap_clear()
|
H A D | ck_pr.h | 190 #define ck_pr_store_uint(DST, VAL) CK_PR_STORE_SAFE((DST), (VAL), uint) macro
|
/freebsd/sys/contrib/ck/include/spinlock/ |
H A D | hclh.h | 112 ck_pr_store_uint(&local_tail->splice, true); in ck_spinlock_hclh_lock() 138 ck_pr_store_uint(&(*thread)->wait, false); in ck_spinlock_hclh_unlock()
|
H A D | anderson.h | 142 ck_pr_store_uint(&lock->slots[position].locked, true); in ck_spinlock_anderson_lock() 163 ck_pr_store_uint(&lock->slots[position].locked, false); in ck_spinlock_anderson_unlock()
|
H A D | clh.h | 111 ck_pr_store_uint(&(*thread)->wait, false); in ck_spinlock_clh_unlock()
|
H A D | cas.h | 107 ck_pr_store_uint(&lock->value, false); in ck_spinlock_cas_unlock()
|
H A D | fas.h | 107 ck_pr_store_uint(&lock->value, false); in ck_spinlock_fas_unlock()
|
H A D | dec.h | 132 ck_pr_store_uint(&lock->value, 1); in ck_spinlock_dec_unlock()
|
H A D | mcs.h | 151 ck_pr_store_uint(&next->locked, false); in ck_spinlock_mcs_unlock()
|
H A D | ticket.h | 283 ck_pr_store_uint(&ticket->position, update + 1); in ck_spinlock_ticket_unlock()
|