/freebsd/contrib/ntp/libntp/lib/isc/pthreads/ |
H A D | mutex.c | 34 # define pthread_mutex_init(m, a) \ macro 35 pthread_mutex_init(m, (a) \ 102 err = pthread_mutex_init(&mp->mutex, NULL); in isc_mutex_init_profile() 251 err = pthread_mutex_init(mp, &attr) != 0) in isc_mutex_init_errcheck() 273 err = pthread_mutex_init(mp, ISC__MUTEX_ATTRS); in isc__mutex_init()
|
/freebsd/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_mutex.c | 113 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY() 202 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY() 414 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, &mattr)); in ATF_TC_BODY() 503 PTHREAD_REQUIRE(pthread_mutex_init(&mutex5, &attr5)); in ATF_TC_BODY() 620 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY() 718 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY() 743 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY() 779 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY() 807 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY()
|
H A D | t_cond.c | 83 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY() 144 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY() 521 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY() 576 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY() 619 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY()
|
H A D | t_fpu.c | 139 PTHREAD_REQUIRE(pthread_mutex_init(&recursion_depth_lock, 0)); in ATF_TC_BODY()
|
H A D | t_barrier.c | 79 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY()
|
H A D | t_preempt.c | 95 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); in ATF_TC_BODY()
|
/freebsd/contrib/netbsd-tests/lib/libpthread/dlopen/ |
H A D | t_dlopen.c | 81 ATF_REQUIRE(pthread_mutex_init(&mtx, NULL) == 0); in ATF_TC_BODY() 113 ATF_REQUIRE(pthread_mutex_init(&mtx, NULL) == 0); in ATF_TC_BODY() 145 ATF_REQUIRE(pthread_mutex_init(&mtx, NULL) == 0); in ATF_TC_BODY()
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | device.c | 144 err = pthread_mutex_init(&cq->mutex, NULL); in verbs_init_cq() 231 if (pthread_mutex_init(&context->mutex, NULL)) { in __ibv_open_device() 257 if (pthread_mutex_init(&context->mutex, NULL)) in __ibv_open_device() 440 err = pthread_mutex_init(&wq->mutex, NULL); in __ibv_init_wq()
|
/freebsd/contrib/unbound/util/ |
H A D | locks.h | 101 #define lock_basic_init(lock) LOCKRET(pthread_mutex_init(lock, NULL)) 109 #define lock_rw_init(lock) LOCKRET(pthread_mutex_init(lock, NULL)) 129 #define lock_quick_init(lock) LOCKRET(pthread_mutex_init(lock, NULL))
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_data.c | 326 if ((pthread_mutex_init) == 0) in _nc_init_pthreads() 358 pthread_mutex_init(obj, &recattr); in _nc_mutex_init()
|
/freebsd/tools/regression/pthread/unwind/ |
H A D | cond_wait_cancel.cpp | 30 pthread_mutex_init(&mtx, NULL); in main()
|
H A D | cond_wait_cancel2.cpp | 47 pthread_mutex_init(&mtx, NULL); in main()
|
/freebsd/lib/libnetmap/ |
H A D | nmctx-pthreads.c | 69 pthread_mutex_init(&nmctx_pthreadsafe.mutex, NULL); in nmctx_set_threadsafe()
|
/freebsd/tools/regression/pthread/mutex_isowned_np/ |
H A D | mutex_isowned_np.c | 52 pthread_mutex_init(&mtx, NULL); in main()
|
/freebsd/tools/test/stress2/misc/ |
H A D | pthread7.sh | 249 if ((rc = pthread_mutex_init(&newfiles.mtx, pattr)) != 0) 253 if ((rc = pthread_mutex_init(&renamedfiles.mtx, NULL)) != 0)
|
H A D | pthread2.sh | 260 if ((rc = pthread_mutex_init(&newfiles.mtx, NULL)) != 0) 264 if ((rc = pthread_mutex_init(&renamedfiles.mtx, NULL)) != 0)
|
H A D | pthread3.sh | 253 if ((rc = pthread_mutex_init(&newfiles.mtx, NULL)) != 0) 257 if ((rc = pthread_mutex_init(&renamedfiles.mtx, NULL)) != 0)
|
H A D | pthread4.sh | 260 if ((rc = pthread_mutex_init(&newfiles.mtx, pattr)) != 0) 264 if ((rc = pthread_mutex_init(&renamedfiles.mtx, NULL)) != 0)
|
H A D | pthread6.sh | 253 if ((rc = pthread_mutex_init(&newfiles.mtx, pattr)) != 0) 257 if ((rc = pthread_mutex_init(&renamedfiles.mtx, NULL)) != 0)
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | barrier.c | 51 pthread_mutex_init(&bar->bar_lock, NULL); in barrier_init()
|
/freebsd/lib/libstdthreads/ |
H A D | mtx.c | 65 pthread_mutex_init(mtx, &attr) != 0) in mtx_init()
|
/freebsd/contrib/ofed/opensm/complib/ |
H A D | cl_spinlock.c | 56 if (pthread_mutex_init(&p_spinlock->mutex, NULL)) in cl_spinlock_init()
|
/freebsd/usr.sbin/nscd/ |
H A D | config.c | 130 res = pthread_mutex_init(&retval->positive_cache_lock, NULL); in create_configuration_entry() 139 res = pthread_mutex_init(&retval->negative_cache_lock, NULL); in create_configuration_entry() 149 res = pthread_mutex_init(&retval->mp_cache_lock, NULL); in create_configuration_entry()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_atomic.c | 52 pthread_mutex_init(&atomic_mtx, NULL); in atomic_init()
|
/freebsd/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_atomic.c | 52 pthread_mutex_init(&atomic_mtx, NULL); in atomic_init()
|