Lines Matching refs:magic
23 assert(mutex->magic == FIO_MUTEX_MAGIC); in __fio_mutex_remove()
40 mutex->magic = FIO_MUTEX_MAGIC; in __fio_mutex_init()
106 assert(mutex->magic == FIO_MUTEX_MAGIC); in fio_mutex_down_timeout()
140 assert(mutex->magic == FIO_MUTEX_MAGIC); in fio_mutex_down_trylock()
154 assert(mutex->magic == FIO_MUTEX_MAGIC); in fio_mutex_down()
172 assert(mutex->magic == FIO_MUTEX_MAGIC); in fio_mutex_up()
187 assert(lock->magic == FIO_RWLOCK_MAGIC); in fio_rwlock_write()
193 assert(lock->magic == FIO_RWLOCK_MAGIC); in fio_rwlock_read()
199 assert(lock->magic == FIO_RWLOCK_MAGIC); in fio_rwlock_unlock()
205 assert(lock->magic == FIO_RWLOCK_MAGIC); in fio_rwlock_remove()
224 lock->magic = FIO_RWLOCK_MAGIC; in fio_rwlock_init()