Home
last modified time | relevance | path

Searched refs:ck_pr_load_32 (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/contrib/ck/include/
H A Dck_swlock.h71 r = ck_pr_load_32(&rw->value) & CK_SWLOCK_WRITER_BIT; in ck_swlock_locked_writer()
90 r = ck_pr_load_32(&rw->value); in ck_swlock_locked()
113 while (ck_pr_load_32(&rw->value) & CK_SWLOCK_READER_MASK) in CK_ELIDE_TRYLOCK_PROTOTYPE()
132 } while (ck_pr_load_32(&rw->value) != CK_SWLOCK_WRITER_BIT); in ck_swlock_write_latch()
158 uint32_t l = ck_pr_load_32(&rw->value); in CK_ELIDE_PROTOTYPE()
177 while (ck_pr_load_32(&rw->value) & CK_SWLOCK_WRITER_BIT) in ck_swlock_read_lock()
202 return ck_pr_load_32(&rw->value) & CK_SWLOCK_READER_MASK; in ck_swlock_locked_reader()
H A Dck_pflock.h91 while (ck_pr_load_32(&pf->wout) != ticket) in ck_pflock_write_lock()
103 while (ck_pr_load_32(&pf->rout) != ticket) in ck_pflock_write_lock()
133 while ((ck_pr_load_32(&pf->rin) & CK_PFLOCK_WBITS) == w) in ck_pflock_read_lock()
H A Dck_tflock.h58 uint32_t snapshot = ck_pr_load_32(target); in ck_tflock_ticket_fca_32()
89 while (ck_pr_load_32(&lock->completion) != previous) in ck_tflock_ticket_write_lock()
117 while ((ck_pr_load_32(&lock->completion) & in ck_tflock_ticket_read_lock()
H A Dck_bytelock.h75 #define CK_BYTELOCK_LOAD ck_pr_load_32
H A Dck_ec.h610 uint32_t ret = ck_pr_load_32(&ec->counter) & ~(1UL << 31); in ck_ec32_value()
618 return ck_pr_load_32(&ec->counter) & (1UL << 31); in ck_ec32_has_waiters()
H A Dck_ht.h40 #define CK_HT_TYPE_LOAD ck_pr_load_32
H A Dck_pr.h212 #define ck_pr_load_32(SRC) CK_PR_LOAD_SAFE((SRC), 32) macro
/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64lsn.c254 (out) = ck_pr_load_32(FREEMASK_CHUNK((pg), (n))) | \
255 ((uint64_t)ck_pr_load_32(FREEMASK_CHUNK((pg), (n)) + 1) << 32)
271 idx = oldidx = ck_pr_load_32(pgidx); in nat64lsn_get_pg()
542 if (ck_pr_load_32(&state->flags) & NAT64_FLAG_READY) in nat64lsn_get_state4to6()
930 if (ck_pr_load_32(&alias->tcp_pgmask[c]) != 0) in nat64lsn_expire_pgchunk()
934 if (ck_pr_load_32(&alias->tcp_pgmask[c]) != 0) in nat64lsn_expire_pgchunk()
/freebsd/sys/contrib/ck/include/spinlock/
H A Dticket.h51 #define CK_SPINLOCK_TICKET_LOAD(x) ck_pr_load_32(x)
/freebsd/sys/contrib/ck/src/
H A Dck_ec.c283 return ck_pr_load_32(&ec->counter) != flagged_word; in ck_ec32_wait_slow_once()
H A Dck_hs.c72 #define CK_HS_LOAD(x) ck_pr_load_32(x)
H A Dck_ht.c74 #define CK_HT_LOAD(x) ck_pr_load_32(x)
H A Dck_rhs.c72 #define CK_RHS_LOAD(x) ck_pr_load_32(x)
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_dynamic.c158 #define DPARENT_COUNT(p) ck_pr_load_32(&(p)->count)
289 #define DYN_BUCKET_VERSION(b, v) ck_pr_load_32(&V_dyn_ ## v[(b)])
379 #define DYN_COUNT(name) ck_pr_load_32(&(V_ ## name))