Home
last modified time | relevance | path

Searched refs:ck_pr_store_uint (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/contrib/ck/src/
H A Dck_barrier_mcs.c38 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 Dck_barrier_tournament.c66 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 Dck_barrier_centralized.c47 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 Dck_barrier_dissemination.c45 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 Dck_barrier_combining.c184 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 Dck_epoch.c179 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 Dck_array.c97 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 Dck_hs.c102 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 Dck_hp.c89 ck_pr_store_uint(&state->threshold, threshold); in ck_hp_set_threshold()
/freebsd/sys/contrib/ck/include/
H A Dck_brlock.h103 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 Dck_sequence.h45 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 Dck_epoch.h146 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 Dck_rwlock.h58 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 Dck_bytelock.h123 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 Dck_ring.h169 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 Dck_bitmap.h263 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 Dck_pr.h190 #define ck_pr_store_uint(DST, VAL) CK_PR_STORE_SAFE((DST), (VAL), uint) macro
/freebsd/sys/contrib/ck/include/spinlock/
H A Dhclh.h112 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 Danderson.h142 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 Dclh.h111 ck_pr_store_uint(&(*thread)->wait, false); in ck_spinlock_clh_unlock()
H A Dcas.h107 ck_pr_store_uint(&lock->value, false); in ck_spinlock_cas_unlock()
H A Dfas.h107 ck_pr_store_uint(&lock->value, false); in ck_spinlock_fas_unlock()
H A Ddec.h132 ck_pr_store_uint(&lock->value, 1); in ck_spinlock_dec_unlock()
H A Dmcs.h151 ck_pr_store_uint(&next->locked, false); in ck_spinlock_mcs_unlock()
H A Dticket.h283 ck_pr_store_uint(&ticket->position, update + 1); in ck_spinlock_ticket_unlock()

12