28# error "Cannot include this file directly. Please include <nm_private.h>"
static void nm_spin_init(nm_spinlock_t *p_spin)
init the spin lock
static void nm_spin_assert_notlocked(nm_spinlock_t *p_spin)
assert that current thread doesn't hold the lock
struct nm_core_event_s __attribute__
static int nm_spin_trylock(nm_spinlock_t *p_spin)
try to lock the spin lock return 1 if lock is successfully acquired, 0 otherwise
static void nm_spin_destroy(nm_spinlock_t *p_spin)
destroy the spin lock
static void nm_spin_lock(nm_spinlock_t *p_spin)
acquire the spin lock
static void nm_spin_assert_locked(nm_spinlock_t *p_spin)
assert that current thread holds the lock
static void nm_spin_unlock(nm_spinlock_t *p_spin)
release the spin lock
#define nm_profile_inc(COUNTER)
static void nm_core_unlock(struct nm_core *p_core)
unlock the nm core lock
static void nm_core_lock_init(struct nm_core *p_core)
init the core lock
static void nm_core_nolock_assert(struct nm_core *p_core)
assert that current thread doesn't hold the lock
static int nm_core_trylock(struct nm_core *p_core)
try to lock the nm core core return 1 is lock is successfully acquired, 0 otherwise
static void nm_core_lock_destroy(struct nm_core *p_core)
destroy the core lock
static void nm_core_lock(struct nm_core *p_core)
acquire the nm core lock
static void nm_core_lock_assert(struct nm_core *p_core)
assert that current thread holds the lock
Core NewMadeleine structure.