Home
last modified time | relevance | path

Searched refs:pthread_mutex_t (Results 1 – 25 of 238) sorted by relevance

12345678910

/freebsd-14-stable/lib/libc/rpc/
HDmt_misc.h50 extern pthread_mutex_t authdes_ops_lock;
51 extern pthread_mutex_t svcauthdesstats_lock;
52 extern pthread_mutex_t authnone_lock;
53 extern pthread_mutex_t authsvc_lock;
54 extern pthread_mutex_t clnt_fd_lock;
55 extern pthread_mutex_t clntraw_lock;
56 extern pthread_mutex_t dupreq_lock;
57 extern pthread_mutex_t loopnconf_lock;
58 extern pthread_mutex_t ops_lock;
59 extern pthread_mutex_t proglst_lock;
[all …]
HDmt_misc.c40 pthread_mutex_t authdes_ops_lock = PTHREAD_MUTEX_INITIALIZER;
43 pthread_mutex_t svcauthdesstats_lock = PTHREAD_MUTEX_INITIALIZER;
46 pthread_mutex_t authnone_lock = PTHREAD_MUTEX_INITIALIZER;
49 pthread_mutex_t authsvc_lock = PTHREAD_MUTEX_INITIALIZER;
52 pthread_mutex_t clnt_fd_lock = PTHREAD_MUTEX_INITIALIZER;
55 pthread_mutex_t clntraw_lock = PTHREAD_MUTEX_INITIALIZER;
58 pthread_mutex_t dupreq_lock = PTHREAD_MUTEX_INITIALIZER;
61 pthread_mutex_t loopnconf_lock = PTHREAD_MUTEX_INITIALIZER;
64 pthread_mutex_t ops_lock = PTHREAD_MUTEX_INITIALIZER;
67 pthread_mutex_t proglst_lock = PTHREAD_MUTEX_INITIALIZER;
[all …]
/freebsd-14-stable/include/
HDpthread.h104 #define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP ((pthread_mutex_t)1)
207 pthread_mutex_t * __mutex,
211 pthread_mutex_t * __restrict __mutex)
233 int pthread_mutex_consistent(pthread_mutex_t * __mutex)
235 int pthread_mutex_destroy(pthread_mutex_t * __mutex)
237 int pthread_mutex_init(pthread_mutex_t * __restrict __mutex,
240 int pthread_mutex_lock(pthread_mutex_t * __mutex)
242 int pthread_mutex_trylock(pthread_mutex_t * __mutex)
244 int pthread_mutex_timedlock(pthread_mutex_t * __restrict __mutex,
247 int pthread_mutex_unlock(pthread_mutex_t * __mutex)
[all …]
HDpthread_np.h57 int pthread_mutex_getspinloops_np(pthread_mutex_t *mutex, int *count);
58 int pthread_mutex_setspinloops_np(pthread_mutex_t *mutex, int count);
59 int pthread_mutex_getyieldloops_np(pthread_mutex_t *mutex, int *count);
60 int pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count);
61 int pthread_mutex_isowned_np(pthread_mutex_t *mutex);
/freebsd-14-stable/sbin/hastd/
HDsynch.h48 mtx_init(pthread_mutex_t *lock) __requires_unlocked(*lock) in mtx_init()
56 mtx_destroy(pthread_mutex_t *lock) __requires_unlocked(*lock) in mtx_destroy()
64 mtx_lock(pthread_mutex_t *lock) __locks_exclusive(*lock) in mtx_lock()
72 mtx_trylock(pthread_mutex_t *lock) __trylocks_exclusive(true, *lock) in mtx_trylock()
81 mtx_unlock(pthread_mutex_t *lock) __unlocks(*lock) in mtx_unlock()
89 mtx_owned(pthread_mutex_t *lock) in mtx_owned()
152 cv_wait(pthread_cond_t *cv, pthread_mutex_t *lock) __requires_exclusive(*lock) in cv_wait()
160 cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout) in cv_timedwait()
/freebsd-14-stable/contrib/openbsm/bin/auditdistd/
HDsynch.h49 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-14-stable/lib/libthr/thread/
HDthr_mutex.c65 int __pthread_mutex_timedlock(pthread_mutex_t * __restrict mutex,
67 int _pthread_mutex_getspinloops_np(pthread_mutex_t *mutex, int *count);
68 int _pthread_mutex_setspinloops_np(pthread_mutex_t *mutex, int count);
69 int __pthread_mutex_setspinloops_np(pthread_mutex_t *mutex, int count);
70 int _pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count);
71 int _pthread_mutex_getyieldloops_np(pthread_mutex_t *mutex, int *count);
72 int __pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count);
74 static int mutex_self_trylock(pthread_mutex_t);
75 static int mutex_self_lock(pthread_mutex_t,
78 static int mutex_lock_sleep(struct pthread *, pthread_mutex_t,
[all …]
HDthr_cond.c49 int __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
52 static int cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex,
351 cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex, in cond_wait_common()
381 _thr_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in _thr_cond_wait()
389 pthread_mutex_t * __restrict mutex) in __thr_cond_wait()
397 pthread_mutex_t * __restrict mutex, in _thr_cond_timedwait()
409 __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, in __pthread_cond_timedwait()
HDthr_private.h789 int _mutex_reinit(pthread_mutex_t *) __hidden;
859 int _pthread_mutex_consistent(pthread_mutex_t * _Nonnull);
974 int _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex,
1066 pthread_mutex_t * __restrict, const struct timespec * __restrict);
1069 int __thr_cond_wait(pthread_cond_t *, pthread_mutex_t *);
1070 int _thr_cond_wait(pthread_cond_t *, pthread_mutex_t *);
1097 int __Tthr_mutex_init(pthread_mutex_t * __restrict,
1099 int _Tthr_mutex_consistent(pthread_mutex_t *);
1100 int _thr_mutex_destroy(pthread_mutex_t *);
1101 int _thr_mutex_unlock(pthread_mutex_t *);
[all …]
/freebsd-14-stable/contrib/libevent/
HDevthread_pthread.c48 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-14-stable/contrib/ntp/sntp/libevent/
HDevthread_pthread.c48 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-14-stable/contrib/netbsd-tests/lib/libpthread/dlopen/dso/
HDh_pthread_dlopen.c47 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-14-stable/contrib/ncurses/ncurses/
HDterm.priv.h252 pthread_mutex_t mutex_curses;
253 pthread_mutex_t mutex_prescreen;
254 pthread_mutex_t mutex_screen;
255 pthread_mutex_t mutex_update;
256 pthread_mutex_t mutex_tst_tracef;
257 pthread_mutex_t mutex_tracef;
/freebsd-14-stable/contrib/netbsd-tests/lib/libpthread/dlopen/
HDt_dlopen.c77 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-14-stable/contrib/netbsd-tests/usr.bin/xlint/lint1/
HDd_c99_nested_struct.c2 typedef struct pthread_mutex_t { struct
16 } pthread_mutex_t; typedef
21 pthread_mutex_t lock;
/freebsd-14-stable/usr.sbin/nscd/
HDconfig.h84 pthread_mutex_t positive_cache_lock;
85 pthread_mutex_t negative_cache_lock;
86 pthread_mutex_t mp_cache_lock;
/freebsd-14-stable/contrib/ncurses/ncurses/tinfo/
HDlib_data.c351 _nc_mutex_init(pthread_mutex_t * obj) in _nc_mutex_init()
363 _nc_mutex_lock(pthread_mutex_t * obj) in _nc_mutex_lock()
372 _nc_mutex_trylock(pthread_mutex_t * obj) in _nc_mutex_trylock()
381 _nc_mutex_unlock(pthread_mutex_t * obj) in _nc_mutex_unlock()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
HDsanitizer_wrappers.cpp170 int(pthread_cond_t *, pthread_mutex_t *))
171 LLVM_SYMBOLIZER_INTERCEPTOR1(pthread_mutex_lock, int(pthread_mutex_t *))
172 LLVM_SYMBOLIZER_INTERCEPTOR1(pthread_mutex_unlock, int(pthread_mutex_t *))
173 LLVM_SYMBOLIZER_INTERCEPTOR1(pthread_mutex_destroy, int(pthread_mutex_t *))
175 int(pthread_mutex_t *,
/freebsd-14-stable/tools/test/stress2/misc/
HDsignal.sh59 pthread_mutex_t *mutex;
103 pthread_mutex_t *mutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t));
HDpthread8.sh55 pthread_mutex_t *locks;
65 pthread_mutex_t *l;
109 ra.locks = calloc(ra.lock_cnt, sizeof(pthread_mutex_t));
HDpthread7.sh91 pthread_mutex_t mtx;
116 plock(pthread_mutex_t *l)
125 punlock(pthread_mutex_t *l)
143 pwait(pthread_cond_t *c, pthread_mutex_t *l)
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/tsan/dd/
HDdd_interceptors.cpp43 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-14-stable/tools/regression/pthread/mutex_isowned_np/
HDmutex_isowned_np.c36 pthread_mutex_t *mtx = arg; in thread()
50 pthread_mutex_t mtx; in main()
/freebsd-14-stable/sys/sys/
HD_pthreadtypes.h69 typedef struct pthread_mutex *pthread_mutex_t; typedef
95 pthread_mutex_t mutex;
/freebsd-14-stable/sys/contrib/openzfs/lib/libzutil/
HDzutil_import.h38 int zpool_find_import_blkid(libpc_handle_t *hdl, pthread_mutex_t *lock,
53 pthread_mutex_t *rn_lock;

12345678910