Home
last modified time | relevance | path

Searched refs:write_lock (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Drwlock.h40 #define write_lock(_l) rw_wlock(_l)
45 #define write_lock_irq(lock) write_lock((lock))
50 do {(flags) = 0; write_lock(lock); } while (0)
42 #define write_lock( global() macro
/freebsd/crypto/openssl/crypto/
H A Dthreads_win.c108 CRYPTO_MUTEX *write_lock; member
156 new->write_lock = ossl_crypto_mutex_new(); in ossl_rcu_lock_new()
165 || new->write_lock == NULL in ossl_rcu_lock_new()
175 ossl_crypto_mutex_free(&new->write_lock); in ossl_rcu_lock_new()
191 ossl_crypto_mutex_free(&lock->write_lock); in ossl_rcu_lock_free()
268 ossl_crypto_mutex_lock(lock->write_lock); in ossl_rcu_write_lock()
273 ossl_crypto_mutex_unlock(lock->write_lock); in ossl_rcu_write_unlock()
365 ossl_crypto_mutex_lock(lock->write_lock); in ossl_synchronize_rcu()
368 ossl_crypto_mutex_unlock(lock->write_lock); in ossl_synchronize_rcu()
H A Dthreads_pthread.c246 pthread_mutex_t write_lock; member
447 pthread_mutex_lock(&lock->write_lock); in ossl_rcu_write_lock()
448 TSAN_FAKE_UNLOCK(&lock->write_lock); in ossl_rcu_write_lock()
453 TSAN_FAKE_LOCK(&lock->write_lock); in ossl_rcu_write_unlock()
454 pthread_mutex_unlock(&lock->write_lock); in ossl_rcu_write_unlock()
464 pthread_mutex_lock(&lock->write_lock); in ossl_synchronize_rcu()
467 pthread_mutex_unlock(&lock->write_lock); in ossl_synchronize_rcu()
553 pthread_mutex_init(&new->write_lock, NULL); in ossl_rcu_lock_new()
/freebsd/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h172 #define write_lock(rwlock) rw_wlock(rwlock) macro
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_cache.c1119 write_lock(&table->rwlock); in ib_cache_update()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c109 write_lock(&ibdev->roce.netdev_lock); in mlx5_netdev_event()
3146 write_lock(&dev->roce.netdev_lock); in mlx5_enable_roce_if_cb()