Home
last modified time | relevance | path

Searched refs:cc_lock (Results 1 – 5 of 5) sorted by relevance

/f-stack/lib/
H A Dff_kern_timeout.c144 struct mtx_padalign cc_lock; member
168 #define CC_LOCK(cc) mtx_lock_spin(&(cc)->cc_lock)
169 #define CC_UNLOCK(cc) mtx_unlock_spin(&(cc)->cc_lock)
170 #define CC_LOCK_ASSERT(cc) mtx_assert(&(cc)->cc_lock, MA_OWNED)
275 mtx_init(&cc->cc_lock, "callout", NULL, MTX_SPIN | MTX_RECURSE); in callout_cpu_init()
316 mtx_lock(&cc->cc_lock); in callout_tick()
324 mtx_unlock(&cc->cc_lock); in callout_tick()
913 &cc->cc_lock.lock_object, "codrain", in _callout_stop_safe()
/f-stack/freebsd/kern/
H A Dkern_timeout.c162 struct mtx_padalign cc_lock; member
202 #define CC_LOCK(cc) mtx_lock_spin(&(cc)->cc_lock)
203 #define CC_UNLOCK(cc) mtx_unlock_spin(&(cc)->cc_lock)
204 #define CC_LOCK_ASSERT(cc) mtx_assert(&(cc)->cc_lock, MA_OWNED)
319 mtx_init(&cc->cc_lock, "callout", NULL, MTX_SPIN | MTX_RECURSE); in callout_cpu_init()
429 mtx_lock_spin_flags(&cc->cc_lock, MTX_QUIET); in callout_process()
532 mtx_unlock_spin_flags(&cc->cc_lock, MTX_QUIET); in callout_process()
1186 &cc->cc_lock.lock_object, "codrain", in _callout_stop_safe()
/f-stack/dpdk/drivers/net/memif/
H A Drte_eth_memif.h99 rte_spinlock_t cc_lock; /**< control channel lock */ member
H A Dmemif_socket.c532 rte_spinlock_lock(&pmd->cc_lock); in memif_disconnect()
575 rte_spinlock_unlock(&pmd->cc_lock); in memif_disconnect()
H A Drte_eth_memif.c1534 rte_spinlock_init(&pmd->cc_lock); in memif_create()