| /freebsd-13.1/lib/libc/rpc/ |
| H A D | mt_misc.h | 54 extern pthread_mutex_t authnone_lock; 55 extern pthread_mutex_t authsvc_lock; 56 extern pthread_mutex_t clnt_fd_lock; 57 extern pthread_mutex_t clntraw_lock; 58 extern pthread_mutex_t dupreq_lock; 60 extern pthread_mutex_t ops_lock; 61 extern pthread_mutex_t proglst_lock; 62 extern pthread_mutex_t rpcsoc_lock; 63 extern pthread_mutex_t svcraw_lock; 64 extern pthread_mutex_t tsd_lock; [all …]
|
| H A D | mt_misc.c | 49 pthread_mutex_t authnone_lock = PTHREAD_MUTEX_INITIALIZER; 52 pthread_mutex_t authsvc_lock = PTHREAD_MUTEX_INITIALIZER; 55 pthread_mutex_t clnt_fd_lock = PTHREAD_MUTEX_INITIALIZER; 58 pthread_mutex_t clntraw_lock = PTHREAD_MUTEX_INITIALIZER; 61 pthread_mutex_t dupreq_lock = PTHREAD_MUTEX_INITIALIZER; 64 pthread_mutex_t loopnconf_lock = PTHREAD_MUTEX_INITIALIZER; 67 pthread_mutex_t ops_lock = PTHREAD_MUTEX_INITIALIZER; 70 pthread_mutex_t proglst_lock = PTHREAD_MUTEX_INITIALIZER; 73 pthread_mutex_t rpcsoc_lock = PTHREAD_MUTEX_INITIALIZER; 76 pthread_mutex_t svcraw_lock = PTHREAD_MUTEX_INITIALIZER; [all …]
|
| /freebsd-13.1/include/ |
| H A D | pthread.h | 103 #define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP ((pthread_mutex_t)1) 206 pthread_mutex_t * __mutex, 210 pthread_mutex_t * __restrict __mutex) 232 int pthread_mutex_consistent(pthread_mutex_t * __mutex) 234 int pthread_mutex_destroy(pthread_mutex_t * __mutex) 236 int pthread_mutex_init(pthread_mutex_t * __restrict __mutex, 239 int pthread_mutex_lock(pthread_mutex_t * __mutex) 241 int pthread_mutex_trylock(pthread_mutex_t * __mutex) 243 int pthread_mutex_timedlock(pthread_mutex_t * __restrict __mutex, 246 int pthread_mutex_unlock(pthread_mutex_t * __mutex) [all …]
|
| H A D | pthread_np.h | 59 int pthread_mutex_getspinloops_np(pthread_mutex_t *mutex, int *count); 60 int pthread_mutex_setspinloops_np(pthread_mutex_t *mutex, int count); 61 int pthread_mutex_getyieldloops_np(pthread_mutex_t *mutex, int *count); 62 int pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count); 63 int pthread_mutex_isowned_np(pthread_mutex_t *mutex);
|
| /freebsd-13.1/contrib/openbsm/bin/auditdistd/ |
| H A D | synch.h | 49 mtx_init(pthread_mutex_t *lock) in mtx_init() 57 mtx_destroy(pthread_mutex_t *lock) in mtx_destroy() 65 mtx_lock(pthread_mutex_t *lock) in mtx_lock() 73 mtx_trylock(pthread_mutex_t *lock) in mtx_trylock() 82 mtx_unlock(pthread_mutex_t *lock) in mtx_unlock() 90 mtx_owned(pthread_mutex_t *lock) in mtx_owned() 155 cv_wait(pthread_cond_t *cv, pthread_mutex_t *lock) in cv_wait() 163 cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout) in cv_timedwait()
|
| /freebsd-13.1/sbin/hastd/ |
| H A D | synch.h | 51 mtx_init(pthread_mutex_t *lock) __requires_unlocked(*lock) in mtx_init() 59 mtx_destroy(pthread_mutex_t *lock) __requires_unlocked(*lock) in mtx_destroy() 67 mtx_lock(pthread_mutex_t *lock) __locks_exclusive(*lock) in mtx_lock() 75 mtx_trylock(pthread_mutex_t *lock) __trylocks_exclusive(true, *lock) in mtx_trylock() 84 mtx_unlock(pthread_mutex_t *lock) __unlocks(*lock) in mtx_unlock() 92 mtx_owned(pthread_mutex_t *lock) in mtx_owned() 155 cv_wait(pthread_cond_t *cv, pthread_mutex_t *lock) __requires_exclusive(*lock) in cv_wait() 163 cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout) in cv_timedwait()
|
| /freebsd-13.1/lib/libthr/thread/ |
| H A D | thr_mutex.c | 77 static int mutex_self_trylock(pthread_mutex_t); 78 static int mutex_self_lock(pthread_mutex_t, 278 mutex_init(pthread_mutex_t *mutex, in mutex_init() 294 if ((pmutex = (pthread_mutex_t) in mutex_init() 465 _thr_mutex_destroy(pthread_mutex_t *mutex) in _thr_mutex_destroy() 467 pthread_mutex_t m, m1; in _thr_mutex_destroy() 618 __Tthr_mutex_trylock(pthread_mutex_t *mutex) in __Tthr_mutex_trylock() 747 __Tthr_mutex_lock(pthread_mutex_t *mutex) in __Tthr_mutex_lock() 774 _thr_mutex_unlock(pthread_mutex_t *mutex) in _thr_mutex_unlock() 1145 _pthread_mutex_isowned_np(pthread_mutex_t *mutex) in _pthread_mutex_isowned_np() [all …]
|
| H A D | thr_cond.c | 52 int __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, 55 static int cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex, 354 cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex, in cond_wait_common() 384 _thr_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in _thr_cond_wait() 392 pthread_mutex_t * __restrict mutex) in __thr_cond_wait() 400 pthread_mutex_t * __restrict mutex, in _thr_cond_timedwait() 412 __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, in __pthread_cond_timedwait()
|
| H A D | thr_private.h | 792 int _mutex_reinit(pthread_mutex_t *) __hidden; 862 int _pthread_mutex_consistent(pthread_mutex_t * _Nonnull); 977 int _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex, 1071 int __thr_cond_wait(pthread_cond_t *, pthread_mutex_t *); 1072 int _thr_cond_wait(pthread_cond_t *, pthread_mutex_t *); 1098 int __Tthr_mutex_init(pthread_mutex_t * __restrict, 1100 int _Tthr_mutex_consistent(pthread_mutex_t *); 1101 int _thr_mutex_destroy(pthread_mutex_t *); 1102 int _thr_mutex_unlock(pthread_mutex_t *); 1103 int __Tthr_mutex_lock(pthread_mutex_t *); [all …]
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/ |
| H A D | evthread_pthread.c | 48 pthread_mutex_t *lock = mm_malloc(sizeof(pthread_mutex_t)); in evthread_posix_lock_alloc() 63 pthread_mutex_t *lock = lock_; in evthread_posix_lock_free() 71 pthread_mutex_t *lock = lock_; in evthread_posix_lock() 81 pthread_mutex_t *lock = lock_; in evthread_posix_unlock() 141 pthread_mutex_t *lock = lock_; in evthread_posix_cond_wait()
|
| /freebsd-13.1/contrib/libevent/ |
| H A D | evthread_pthread.c | 48 pthread_mutex_t *lock = mm_malloc(sizeof(pthread_mutex_t)); in evthread_posix_lock_alloc() 63 pthread_mutex_t *lock = lock_; in evthread_posix_lock_free() 71 pthread_mutex_t *lock = lock_; in evthread_posix_lock() 81 pthread_mutex_t *lock = lock_; in evthread_posix_unlock() 141 pthread_mutex_t *lock = lock_; in evthread_posix_cond_wait()
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libpthread/dlopen/dso/ |
| H A D | h_pthread_dlopen.c | 47 int testf_dso_mutex_lock(pthread_mutex_t *); 48 int testf_dso_mutex_unlock(pthread_mutex_t *); 59 testf_dso_mutex_lock(pthread_mutex_t *mtx) in testf_dso_mutex_lock() 68 testf_dso_mutex_unlock(pthread_mutex_t *mtx) in testf_dso_mutex_unlock()
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libpthread/dlopen/ |
| H A D | t_dlopen.c | 77 pthread_mutex_t mtx; in ATF_TC_BODY() 109 pthread_mutex_t mtx; in ATF_TC_BODY() 111 int (*testf_dso_mutex_unlock)(pthread_mutex_t *); in ATF_TC_BODY() 141 pthread_mutex_t mtx; in ATF_TC_BODY() 143 int (*testf_dso_mutex_lock)(pthread_mutex_t *); in ATF_TC_BODY()
|
| /freebsd-13.1/contrib/netbsd-tests/usr.bin/xlint/lint1/ |
| H A D | d_c99_nested_struct.c | 2 typedef struct pthread_mutex_t { struct 16 } pthread_mutex_t; argument 21 pthread_mutex_t lock;
|
| /freebsd-13.1/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| H A D | ctfmerge.h | 46 pthread_mutex_t wip_lock; 63 pthread_mutex_t wq_queue_lock; 70 pthread_mutex_t wq_donequeue_lock;
|
| /freebsd-13.1/usr.sbin/nscd/ |
| H A D | config.h | 86 pthread_mutex_t positive_cache_lock; 87 pthread_mutex_t negative_cache_lock; 88 pthread_mutex_t mp_cache_lock;
|
| /freebsd-13.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | lib_data.c | 347 _nc_mutex_init(pthread_mutex_t * obj) in _nc_mutex_init() 359 _nc_mutex_lock(pthread_mutex_t * obj) in _nc_mutex_lock() 367 _nc_mutex_trylock(pthread_mutex_t * obj) in _nc_mutex_trylock() 375 _nc_mutex_unlock(pthread_mutex_t * obj) in _nc_mutex_unlock()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/ |
| H A D | sanitizer_wrappers.cpp | 169 int(pthread_cond_t *, pthread_mutex_t *)) 170 LLVM_SYMBOLIZER_INTERCEPTOR1(pthread_mutex_lock, int(pthread_mutex_t *)) 171 LLVM_SYMBOLIZER_INTERCEPTOR1(pthread_mutex_unlock, int(pthread_mutex_t *)) 172 LLVM_SYMBOLIZER_INTERCEPTOR1(pthread_mutex_destroy, int(pthread_mutex_t *)) 174 int(pthread_mutex_t *,
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
| H A D | dd_interceptors.cpp | 43 INTERCEPTOR(int, pthread_mutex_destroy, pthread_mutex_t *m) { in INTERCEPTOR() 49 INTERCEPTOR(int, pthread_mutex_lock, pthread_mutex_t *m) { in INTERCEPTOR() 57 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { in INTERCEPTOR() 65 INTERCEPTOR(int, pthread_mutex_unlock, pthread_mutex_t *m) { in INTERCEPTOR() 183 INTERCEPTOR(int, pthread_cond_wait, pthread_cond_t *c, pthread_mutex_t *m) { in INTERCEPTOR() 193 INTERCEPTOR(int, pthread_cond_timedwait, pthread_cond_t *c, pthread_mutex_t *m, in INTERCEPTOR()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/safestack/ |
| H A D | safestack_util.h | 38 explicit MutexLock(pthread_mutex_t &mutex) : mutex_(&mutex) { in MutexLock() 44 pthread_mutex_t *mutex_ = nullptr;
|
| /freebsd-13.1/tools/regression/pthread/mutex_isowned_np/ |
| H A D | mutex_isowned_np.c | 38 pthread_mutex_t *mtx = arg; in thread() 52 pthread_mutex_t mtx; in main()
|
| /freebsd-13.1/sys/sys/ |
| H A D | _pthreadtypes.h | 71 typedef struct pthread_mutex *pthread_mutex_t; typedef 97 pthread_mutex_t mutex;
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_import.h | 53 int zpool_find_import_blkid(libpc_handle_t *hdl, pthread_mutex_t *lock, 68 pthread_mutex_t *rn_lock;
|
| /freebsd-13.1/contrib/ofed/opensm/include/vendor/ |
| H A D | osm_vendor_ibumad.h | 164 pthread_mutex_t cb_mutex; 165 pthread_mutex_t match_tbl_mutex;
|
| /freebsd-13.1/sys/contrib/zstd/lib/common/ |
| H A D | threading.c | 86 *mutex = (pthread_mutex_t*)ZSTD_malloc(sizeof(pthread_mutex_t)); in ZSTD_pthread_mutex_init()
|