Searched refs:cc_lock (Results 1 – 5 of 5) sorted by relevance
| /f-stack/lib/ |
| H A D | ff_kern_timeout.c | 144 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 D | kern_timeout.c | 162 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 D | rte_eth_memif.h | 99 rte_spinlock_t cc_lock; /**< control channel lock */ member
|
| H A D | memif_socket.c | 532 rte_spinlock_lock(&pmd->cc_lock); in memif_disconnect() 575 rte_spinlock_unlock(&pmd->cc_lock); in memif_disconnect()
|
| H A D | rte_eth_memif.c | 1534 rte_spinlock_init(&pmd->cc_lock); in memif_create()
|