Home
last modified time | relevance | path

Searched defs:mutex (Results 1 – 25 of 150) sorted by relevance

123456

/freebsd-11-stable/contrib/apr/locks/unix/
HDproc_mutex.c24 APR_DECLARE(apr_status_t) apr_proc_mutex_destroy(apr_proc_mutex_t *mutex) in apr_proc_mutex_destroy()
31 static apr_status_t proc_mutex_no_child_init(apr_proc_mutex_t **mutex, in proc_mutex_no_child_init()
40 static apr_status_t proc_mutex_no_perms_set(apr_proc_mutex_t *mutex, in proc_mutex_no_perms_set()
58 static apr_status_t proc_mutex_spinsleep_timedacquire(apr_proc_mutex_t *mutex, in proc_mutex_spinsleep_timedacquire()
96 apr_proc_mutex_t *mutex = mutex_; in proc_mutex_posix_cleanup() local
193 static apr_status_t proc_mutex_posix_acquire(apr_proc_mutex_t *mutex) in proc_mutex_posix_acquire()
207 static apr_status_t proc_mutex_posix_tryacquire(apr_proc_mutex_t *mutex) in proc_mutex_posix_tryacquire()
225 static apr_status_t proc_mutex_posix_timedacquire(apr_proc_mutex_t *mutex, in proc_mutex_posix_timedacquire()
255 static apr_status_t proc_mutex_posix_release(apr_proc_mutex_t *mutex) in proc_mutex_posix_release()
312 apr_proc_mutex_t *mutex=mutex_; in proc_mutex_sysv_cleanup() local
[all …]
HDglobal_mutex.c46 APR_DECLARE(apr_status_t) apr_global_mutex_create(apr_global_mutex_t **mutex, in apr_global_mutex_create()
83 apr_global_mutex_t **mutex, in apr_global_mutex_child_init()
93 APR_DECLARE(apr_status_t) apr_global_mutex_lock(apr_global_mutex_t *mutex) in apr_global_mutex_lock()
119 APR_DECLARE(apr_status_t) apr_global_mutex_trylock(apr_global_mutex_t *mutex) in apr_global_mutex_trylock()
145 APR_DECLARE(apr_status_t) apr_global_mutex_timedlock(apr_global_mutex_t *mutex, in apr_global_mutex_timedlock()
186 APR_DECLARE(apr_status_t) apr_global_mutex_unlock(apr_global_mutex_t *mutex) in apr_global_mutex_unlock()
215 APR_DECLARE(apr_status_t) apr_global_mutex_destroy(apr_global_mutex_t *mutex) in apr_global_mutex_destroy()
220 APR_DECLARE(const char *) apr_global_mutex_lockfile(apr_global_mutex_t *mutex) in apr_global_mutex_lockfile()
225 APR_DECLARE(apr_lockmech_e) apr_global_mutex_mech(apr_global_mutex_t *mutex) in apr_global_mutex_mech()
230 APR_DECLARE(const char *) apr_global_mutex_name(apr_global_mutex_t *mutex) in apr_global_mutex_name()
[all …]
HDthread_mutex.c25 apr_thread_mutex_t *mutex = data; in thread_mutex_cleanup() local
37 APR_DECLARE(apr_status_t) apr_thread_mutex_create(apr_thread_mutex_t **mutex, in apr_thread_mutex_create()
101 APR_DECLARE(apr_status_t) apr_thread_mutex_lock(apr_thread_mutex_t *mutex) in apr_thread_mutex_lock()
147 APR_DECLARE(apr_status_t) apr_thread_mutex_trylock(apr_thread_mutex_t *mutex) in apr_thread_mutex_trylock()
192 APR_DECLARE(apr_status_t) apr_thread_mutex_timedlock(apr_thread_mutex_t *mutex, in apr_thread_mutex_timedlock()
280 APR_DECLARE(apr_status_t) apr_thread_mutex_unlock(apr_thread_mutex_t *mutex) in apr_thread_mutex_unlock()
317 APR_DECLARE(apr_status_t) apr_thread_mutex_destroy(apr_thread_mutex_t *mutex) in apr_thread_mutex_destroy()
/freebsd-11-stable/contrib/gcc/
HDgthr-vxworks.h54 __gthread_mutex_init_function (__gthread_mutex_t *mutex) in __gthread_mutex_init_function()
60 __gthread_mutex_lock (__gthread_mutex_t *mutex) in __gthread_mutex_lock()
66 __gthread_mutex_trylock (__gthread_mutex_t *mutex) in __gthread_mutex_trylock()
72 __gthread_mutex_unlock (__gthread_mutex_t *mutex) in __gthread_mutex_unlock()
78 __gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_init_function()
84 __gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_lock()
90 __gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_trylock()
96 __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_unlock()
HDgthr-single.h137 __gthread_objc_mutex_allocate (objc_mutex_t UNUSED(mutex)) in __gthread_objc_mutex_allocate()
144 __gthread_objc_mutex_deallocate (objc_mutex_t UNUSED(mutex)) in __gthread_objc_mutex_deallocate()
151 __gthread_objc_mutex_lock (objc_mutex_t UNUSED(mutex)) in __gthread_objc_mutex_lock()
159 __gthread_objc_mutex_trylock (objc_mutex_t UNUSED(mutex)) in __gthread_objc_mutex_trylock()
167 __gthread_objc_mutex_unlock (objc_mutex_t UNUSED(mutex)) in __gthread_objc_mutex_unlock()
191 objc_mutex_t UNUSED(mutex)) in __gthread_objc_condition_wait()
219 __gthread_mutex_lock (__gthread_mutex_t * UNUSED(mutex)) in __gthread_mutex_lock()
225 __gthread_mutex_trylock (__gthread_mutex_t * UNUSED(mutex)) in __gthread_mutex_trylock()
231 __gthread_mutex_unlock (__gthread_mutex_t * UNUSED(mutex)) in __gthread_mutex_unlock()
237 __gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_lock()
[all …]
HDgthr-win32.h236 __gthread_objc_mutex_allocate (objc_mutex_t mutex) in __gthread_objc_mutex_allocate()
246 __gthread_objc_mutex_deallocate (objc_mutex_t mutex) in __gthread_objc_mutex_deallocate()
254 __gthread_objc_mutex_lock (objc_mutex_t mutex) in __gthread_objc_mutex_lock()
267 __gthread_objc_mutex_trylock (objc_mutex_t mutex) in __gthread_objc_mutex_trylock()
280 __gthread_objc_mutex_unlock (objc_mutex_t mutex) in __gthread_objc_mutex_unlock()
308 __gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) in __gthread_objc_condition_wait()
461 __gthread_mutex_init_function (__gthread_mutex_t *mutex) in __gthread_mutex_init_function()
467 __gthread_mutex_lock (__gthread_mutex_t *mutex) in __gthread_mutex_lock()
476 __gthread_mutex_trylock (__gthread_mutex_t *mutex) in __gthread_mutex_trylock()
485 __gthread_mutex_unlock (__gthread_mutex_t *mutex) in __gthread_mutex_unlock()
[all …]
HDgthr-nks.h177 __gthread_objc_mutex_allocate (objc_mutex_t mutex) in __gthread_objc_mutex_allocate()
188 __gthread_objc_mutex_deallocate (objc_mutex_t mutex) in __gthread_objc_mutex_deallocate()
200 __gthread_objc_mutex_lock (objc_mutex_t mutex) in __gthread_objc_mutex_lock()
207 __gthread_objc_mutex_trylock (objc_mutex_t mutex) in __gthread_objc_mutex_trylock()
216 __gthread_objc_mutex_unlock (objc_mutex_t mutex) in __gthread_objc_mutex_unlock()
246 __gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) in __gthread_objc_condition_wait()
337 __gthread_mutex_init_function (__gthread_mutex_t *mutex) in __gthread_mutex_init_function()
345 __gthread_mutex_lock (__gthread_mutex_t *mutex) in __gthread_mutex_lock()
351 __gthread_mutex_trylock (__gthread_mutex_t *mutex) in __gthread_mutex_trylock()
359 __gthread_mutex_unlock (__gthread_mutex_t *mutex) in __gthread_mutex_unlock()
[all …]
HDgthr-dce.h302 __gthread_objc_mutex_allocate (objc_mutex_t mutex) in __gthread_objc_mutex_allocate()
322 __gthread_objc_mutex_deallocate (objc_mutex_t mutex) in __gthread_objc_mutex_deallocate()
338 __gthread_objc_mutex_lock (objc_mutex_t mutex) in __gthread_objc_mutex_lock()
348 __gthread_objc_mutex_trylock (objc_mutex_t mutex) in __gthread_objc_mutex_trylock()
359 __gthread_objc_mutex_unlock (objc_mutex_t mutex) in __gthread_objc_mutex_unlock()
397 objc_mutex_t mutex __attribute__ ((__unused__))) in __gthread_objc_condition_wait()
471 __gthread_mutex_init_function (__gthread_mutex_t *mutex) in __gthread_mutex_init_function()
478 __gthread_mutex_lock (__gthread_mutex_t *mutex) in __gthread_mutex_lock()
487 __gthread_mutex_trylock (__gthread_mutex_t *mutex) in __gthread_mutex_trylock()
496 __gthread_mutex_unlock (__gthread_mutex_t *mutex) in __gthread_mutex_unlock()
[all …]
HDgthr-solaris.h50 mutex_t mutex; member
297 __gthread_objc_mutex_allocate (objc_mutex_t mutex) in __gthread_objc_mutex_allocate()
308 __gthread_objc_mutex_deallocate (objc_mutex_t mutex) in __gthread_objc_mutex_deallocate()
318 __gthread_objc_mutex_lock (objc_mutex_t mutex) in __gthread_objc_mutex_lock()
329 __gthread_objc_mutex_trylock (objc_mutex_t mutex) in __gthread_objc_mutex_trylock()
340 __gthread_objc_mutex_unlock (objc_mutex_t mutex) in __gthread_objc_mutex_unlock()
374 __gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) in __gthread_objc_condition_wait()
465 __gthread_mutex_lock (__gthread_mutex_t *mutex) in __gthread_mutex_lock()
474 __gthread_mutex_trylock (__gthread_mutex_t *mutex) in __gthread_mutex_trylock()
483 __gthread_mutex_unlock (__gthread_mutex_t *mutex) in __gthread_mutex_unlock()
[all …]
HDgthr-posix95.h385 __gthread_objc_mutex_allocate (objc_mutex_t mutex) in __gthread_objc_mutex_allocate()
404 __gthread_objc_mutex_deallocate (objc_mutex_t mutex) in __gthread_objc_mutex_deallocate()
434 __gthread_objc_mutex_lock (objc_mutex_t mutex) in __gthread_objc_mutex_lock()
447 __gthread_objc_mutex_trylock (objc_mutex_t mutex) in __gthread_objc_mutex_trylock()
460 __gthread_objc_mutex_unlock (objc_mutex_t mutex) in __gthread_objc_mutex_unlock()
509 __gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) in __gthread_objc_condition_wait()
574 __gthread_mutex_lock (__gthread_mutex_t *mutex) in __gthread_mutex_lock()
583 __gthread_mutex_trylock (__gthread_mutex_t *mutex) in __gthread_mutex_trylock()
592 __gthread_mutex_unlock (__gthread_mutex_t *mutex) in __gthread_mutex_unlock()
601 __gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_init_function()
[all …]
HDgthr-rtems.h115 __gthread_mutex_lock (__gthread_mutex_t *mutex) in __gthread_mutex_lock()
121 __gthread_mutex_trylock (__gthread_mutex_t *mutex) in __gthread_mutex_trylock()
127 __gthread_mutex_unlock (__gthread_mutex_t *mutex) in __gthread_mutex_unlock()
133 __gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_lock()
139 __gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_trylock()
145 __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_unlock()
HDgthr-posix.h419 __gthread_objc_mutex_allocate (objc_mutex_t mutex) in __gthread_objc_mutex_allocate()
438 __gthread_objc_mutex_deallocate (objc_mutex_t mutex) in __gthread_objc_mutex_deallocate()
468 __gthread_objc_mutex_lock (objc_mutex_t mutex) in __gthread_objc_mutex_lock()
481 __gthread_objc_mutex_trylock (objc_mutex_t mutex) in __gthread_objc_mutex_trylock()
494 __gthread_objc_mutex_unlock (objc_mutex_t mutex) in __gthread_objc_mutex_unlock()
543 __gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex) in __gthread_objc_condition_wait()
608 __gthread_mutex_lock (__gthread_mutex_t *mutex) in __gthread_mutex_lock()
617 __gthread_mutex_trylock (__gthread_mutex_t *mutex) in __gthread_mutex_trylock()
626 __gthread_mutex_unlock (__gthread_mutex_t *mutex) in __gthread_mutex_unlock()
636 __gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_init_function()
[all …]
HDgthr-tpf.h148 __gthread_mutex_lock (__gthread_mutex_t *mutex) in __gthread_mutex_lock()
157 __gthread_mutex_trylock (__gthread_mutex_t *mutex) in __gthread_mutex_trylock()
166 __gthread_mutex_unlock (__gthread_mutex_t *mutex) in __gthread_mutex_unlock()
175 __gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_lock()
184 __gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_trylock()
193 __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_unlock()
202 __gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *mutex) in __gthread_recursive_mutex_init_function()
/freebsd-11-stable/contrib/gcc/config/i386/
HDgthr-win32.c147 __gthr_win32_mutex_init_function (__gthread_mutex_t *mutex) in __gthr_win32_mutex_init_function()
154 __gthr_win32_mutex_lock (__gthread_mutex_t *mutex) in __gthr_win32_mutex_lock()
169 __gthr_win32_mutex_trylock (__gthread_mutex_t *mutex) in __gthr_win32_mutex_trylock()
178 __gthr_win32_mutex_unlock (__gthread_mutex_t *mutex) in __gthr_win32_mutex_unlock()
187 __gthr_win32_recursive_mutex_init_function (__gthread_recursive_mutex_t *mutex) in __gthr_win32_recursive_mutex_init_function()
196 __gthr_win32_recursive_mutex_lock (__gthread_recursive_mutex_t *mutex) in __gthr_win32_recursive_mutex_lock()
225 __gthr_win32_recursive_mutex_trylock (__gthread_recursive_mutex_t *mutex) in __gthr_win32_recursive_mutex_trylock()
242 __gthr_win32_recursive_mutex_unlock (__gthread_recursive_mutex_t *mutex) in __gthr_win32_recursive_mutex_unlock()
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
HDmutex.c40 apr_thread_mutex_t *mutex; member
61 svn_mutex__t *mutex = apr_pcalloc(result_pool, sizeof(*mutex)); in svn_mutex__init() local
79 svn_mutex__lock(svn_mutex__t *mutex) in svn_mutex__lock()
94 svn_mutex__unlock(svn_mutex__t *mutex, in svn_mutex__unlock()
112 svn_mutex__get(svn_mutex__t *mutex) in svn_mutex__get()
/freebsd-11-stable/contrib/xz/src/common/
HDmythread.h51 #define mythread_sync(mutex) mythread_sync_helper1(mutex, __LINE__) argument
52 #define mythread_sync_helper1(mutex, line) mythread_sync_helper2(mutex, line) argument
53 #define mythread_sync_helper2(mutex, line) \ argument
179 mythread_mutex_init(mythread_mutex *mutex) in mythread_mutex_init()
185 mythread_mutex_destroy(mythread_mutex *mutex) in mythread_mutex_destroy()
193 mythread_mutex_lock(mythread_mutex *mutex) in mythread_mutex_lock()
201 mythread_mutex_unlock(mythread_mutex *mutex) in mythread_mutex_unlock()
273 mythread_cond_wait(mythread_cond *cond, mythread_mutex *mutex) in mythread_cond_wait()
283 mythread_cond_timedwait(mythread_cond *cond, mythread_mutex *mutex, in mythread_cond_timedwait()
413 mythread_mutex_init(mythread_mutex *mutex) in mythread_mutex_init()
[all …]
/freebsd-11-stable/contrib/gcclibs/libgomp/config/posix/
HDmutex.h40 static inline void gomp_mutex_init (gomp_mutex_t *mutex) in gomp_mutex_init()
45 static inline void gomp_mutex_lock (gomp_mutex_t *mutex) in gomp_mutex_lock()
50 static inline void gomp_mutex_unlock (gomp_mutex_t *mutex) in gomp_mutex_unlock()
55 static inline void gomp_mutex_destroy (gomp_mutex_t *mutex) in gomp_mutex_destroy()
/freebsd-11-stable/contrib/gcclibs/libgomp/config/linux/
HDmutex.h39 static inline void gomp_mutex_init (gomp_mutex_t *mutex) in gomp_mutex_init()
45 static inline void gomp_mutex_lock (gomp_mutex_t *mutex) in gomp_mutex_lock()
52 static inline void gomp_mutex_unlock (gomp_mutex_t *mutex) in gomp_mutex_unlock()
59 static inline void gomp_mutex_destroy (gomp_mutex_t *mutex) in gomp_mutex_destroy()
HDmutex.c37 gomp_mutex_lock_slow (gomp_mutex_t *mutex) in gomp_mutex_lock_slow()
49 gomp_mutex_unlock_slow (gomp_mutex_t *mutex) in gomp_mutex_unlock_slow()
/freebsd-11-stable/lib/libthr/thread/
HDthr_mutex.c275 mutex_init(pthread_mutex_t *mutex, in mutex_init()
300 init_static(struct pthread *thread, pthread_mutex_t *mutex) in init_static()
377 __pthread_mutex_init(pthread_mutex_t * __restrict mutex, in __pthread_mutex_init()
405 _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex, in _pthread_mutex_init_calloc_cb()
460 _pthread_mutex_destroy(pthread_mutex_t *mutex) in _pthread_mutex_destroy()
588 check_and_init_mutex(pthread_mutex_t *mutex, struct pthread_mutex **m) in check_and_init_mutex()
613 __pthread_mutex_trylock(pthread_mutex_t *mutex) in __pthread_mutex_trylock()
742 __pthread_mutex_lock(pthread_mutex_t *mutex) in __pthread_mutex_lock()
755 __pthread_mutex_timedlock(pthread_mutex_t * __restrict mutex, in __pthread_mutex_timedlock()
769 _pthread_mutex_unlock(pthread_mutex_t *mutex) in _pthread_mutex_unlock()
[all …]
HDthr_cond.c339 cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex, in cond_wait_common()
369 _pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in _pthread_cond_wait()
377 pthread_mutex_t * __restrict mutex) in __pthread_cond_wait()
385 pthread_mutex_t * __restrict mutex, in _pthread_cond_timedwait()
397 __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, in __pthread_cond_timedwait()
/freebsd-11-stable/contrib/jemalloc/src/
HDmutex.c72 _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex, in _pthread_mutex_init_calloc_cb()
83 malloc_mutex_init(malloc_mutex_t *mutex, const char *name, witness_rank_t rank) in malloc_mutex_init()
123 malloc_mutex_prefork(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_prefork()
130 malloc_mutex_postfork_parent(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_postfork_parent()
137 malloc_mutex_postfork_child(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_postfork_child()
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
HDmutex.h78 malloc_mutex_lock(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_lock()
99 malloc_mutex_unlock(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_unlock()
119 malloc_mutex_assert_owner(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_assert_owner()
127 malloc_mutex_assert_not_owner(tsdn_t *tsdn, malloc_mutex_t *mutex) in malloc_mutex_assert_not_owner()
/freebsd-11-stable/sys/fs/nfsserver/
HDnfs_nfsdcache.c373 struct mtx *mutex; in nfsrc_getudp() local
460 struct mtx *mutex; in nfsrvd_updatecache() local
559 struct mtx *mutex; in nfsrvd_delcache() local
607 struct mtx *mutex; in nfsrc_gettcp() local
737 struct mtx *mutex; in nfsrc_lock() local
754 struct mtx *mutex; in nfsrc_unlock() local
976 struct mtx *mutex; in nfsrvd_refcache() local
995 struct mtx *mutex; in nfsrvd_derefcache() local
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
HDcondition.c206 wait(isc_condition_t *cond, isc_mutex_t *mutex, DWORD milliseconds) { in wait()
235 isc_condition_wait(isc_condition_t *cond, isc_mutex_t *mutex) { in isc_condition_wait()
240 isc_condition_waituntil(isc_condition_t *cond, isc_mutex_t *mutex, in isc_condition_waituntil()

123456