Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dsubr_counter.c143 if ((cr->cr_lock == 0) && in counter_ratecheck()
144 atomic_cmpset_acq_int(&cr->cr_lock, 0, 1)) { in counter_ratecheck()
157 atomic_store_rel_int(&cr->cr_lock, 0); in counter_ratecheck()
/f-stack/freebsd/sys/
H A Dcounter.h70 volatile int cr_lock; /* Lock to clean the struct */ member