Home
last modified time | relevance | path

Searched refs:cr_lock (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dsubr_counter.c140 if ((cr->cr_lock == 0) && in counter_ratecheck()
141 atomic_cmpset_acq_int(&cr->cr_lock, 0, 1)) { in counter_ratecheck()
154 atomic_store_rel_int(&cr->cr_lock, 0); in counter_ratecheck()
/freebsd/sys/sys/
H A Dcounter.h68 volatile int cr_lock; /* Lock to clean the struct */ member