Home
last modified time | relevance | path

Searched refs:pthread_mutex_lock (Results 1 – 25 of 71) sorted by relevance

123

/dflybsd-src/test/libpthread/
H A Dmutex_d.c330 pthread_mutex_lock (&cond_mutex); in waiter()
373 statep->ret = pthread_mutex_lock (cmd.mutex); in waiter()
398 assert (pthread_mutex_lock (cmd.mutex) == 0); in waiter()
427 assert (pthread_mutex_lock (cmd.mutex) == 0); in waiter()
457 pthread_mutex_lock (&waiter_mutex); in waiter()
488 pthread_mutex_lock (&cond_mutex); in lock_twice()
501 assert (pthread_mutex_lock (statep->cmd.mutex) == 0); in lock_twice()
504 statep->ret = pthread_mutex_lock (statep->cmd.mutex); in lock_twice()
534 assert (pthread_mutex_lock (&cond_mutex) == 0); in send_cmd()
549 assert (pthread_mutex_lock (&cond_mutex) == 0); in send_mutex_cmd()
[all …]
H A Dsigwait_d.c71 pthread_mutex_lock (&waiter_mutex); in sigwaiter()
246 pthread_mutex_lock (&waiter_mutex); in main()
270 pthread_mutex_lock (&waiter_mutex); in main()
/dflybsd-src/usr.bin/dsynth/
H A Dbulk.c100 pthread_mutex_lock(&BulkMutex); in initbulk()
114 pthread_mutex_lock(&BulkMutex); in donebulk()
132 pthread_mutex_lock(&BulkMutex); in donebulk()
173 pthread_mutex_lock(&BulkMutex); in queuebulk()
194 pthread_mutex_lock(&BulkMutex); in bulkstart()
224 pthread_mutex_lock(&BulkMutex); in getbulk()
341 pthread_mutex_lock(&BulkMutex); in bulkthread()
353 pthread_mutex_lock(&BulkMutex); in bulkthread()
/dflybsd-src/lib/libc/db/hash/
H A Dndbm.c104 pthread_mutex_lock((void *)&db->mutex); in dbm_fetch()
131 pthread_mutex_lock((void *)&db->mutex); in dbm_firstkey()
154 pthread_mutex_lock((void *)&db->mutex); in dbm_nextkey()
176 pthread_mutex_lock((void *)&db->mutex); in dbm_delete()
202 pthread_mutex_lock((void *)&db->mutex); in dbm_store()
/dflybsd-src/contrib/lvm2/dist/daemons/clvmd/
H A Dlvm-functions.c169 pthread_mutex_lock(&lv_hash_lock); in lookup_info()
178 pthread_mutex_lock(&lv_hash_lock); in insert_info()
185 pthread_mutex_lock(&lv_hash_lock); in remove_info()
220 pthread_mutex_lock(&lv_hash_lock); in destroy_lvhash()
483 pthread_mutex_lock(&lvm_lock); in do_lock_lv()
576 pthread_mutex_lock(&lvm_lock); in post_lock_lv()
609 pthread_mutex_lock(&lvm_lock); in do_refresh_cache()
671 pthread_mutex_lock(&lvm_lock); in drop_metadata()
783 pthread_mutex_lock(&lvm_lock); in lvm_do_backup()
H A Dclvmd.c473 pthread_mutex_lock(&lvm_start_mutex); in main()
643 pthread_mutex_lock(&client->bits.localsock.reply_mutex); in timedout_callback()
676 pthread_mutex_lock(&client->bits.localsock.mutex); in request_timed_out()
966 pthread_mutex_lock(&thisfd->bits.localsock.mutex); in read_from_local_sock()
978 pthread_mutex_lock(&thisfd->bits.localsock.mutex); in read_from_local_sock()
1141 pthread_mutex_lock(&thisfd->bits.localsock.mutex); in read_from_local_sock()
1405 pthread_mutex_lock(&client->bits.localsock.reply_mutex); in add_reply_to_list()
1442 pthread_mutex_lock(&client->bits.localsock.mutex); in add_reply_to_list()
1463 pthread_mutex_lock(&lvm_start_mutex); in pre_and_post_thread()
1505 pthread_mutex_lock(&client->bits.localsock.mutex); in pre_and_post_thread()
[all …]
/dflybsd-src/crypto/libressl/crypto/x509/
H A Dx509_issuer_cache.c68 if (pthread_mutex_lock(&x509_issuer_tree_mutex) != 0) in x509_issuer_cache_set_max()
103 if (pthread_mutex_lock(&x509_issuer_tree_mutex) != 0) in x509_issuer_cache_free()
131 if (pthread_mutex_lock(&x509_issuer_tree_mutex) != 0) in x509_issuer_cache_find()
175 if (pthread_mutex_lock(&x509_issuer_tree_mutex) != 0) in x509_issuer_cache_add()
/dflybsd-src/sbin/svc/
H A Dexecute.c228 pthread_mutex_lock(&serial_mtx); in execute_init()
265 pthread_mutex_lock(&serial_mtx); in execute_init()
358 pthread_mutex_lock(&serial_mtx); in execute_init()
368 pthread_mutex_lock(&serial_mtx); in execute_init()
380 pthread_mutex_lock(&serial_mtx); in execute_init()
439 pthread_mutex_lock(&serial_mtx); in execute_start()
545 pthread_mutex_lock(&serial_mtx); in execute_stop()
654 pthread_mutex_lock(&serial_mtx); in execute_log()
682 pthread_mutex_lock(&serial_mtx); in execute_log()
691 pthread_mutex_lock(&serial_mtx); in execute_log()
[all …]
/dflybsd-src/contrib/grep/lib/glthread/
H A Dlock.c307 err = pthread_mutex_lock (&lock->guard); in glthread_rwlock_rdlock_multithreaded()
333 err = pthread_mutex_lock (&lock->guard); in glthread_rwlock_wrlock_multithreaded()
402 err = pthread_mutex_lock (&lock->lock); in glthread_rwlock_rdlock_multithreaded()
429 err = pthread_mutex_lock (&lock->lock); in glthread_rwlock_wrlock_multithreaded()
456 err = pthread_mutex_lock (&lock->lock); in glthread_rwlock_unlock_multithreaded()
596 err = pthread_mutex_lock (&lock->guard); in glthread_recursive_lock_lock_multithreaded()
612 return pthread_mutex_lock (&lock->recmutex); in glthread_recursive_lock_lock_multithreaded()
662 err = pthread_mutex_lock (&lock->mutex); in glthread_recursive_lock_lock_multithreaded()
/dflybsd-src/contrib/gcc-4.7/libgomp/config/posix/
H A Dlock.c58 pthread_mutex_lock (lock); in gomp_set_lock_30()
94 pthread_mutex_lock (&lock->lock); in gomp_set_nest_lock_30()
228 pthread_mutex_lock (lock); in gomp_set_lock_25()
264 pthread_mutex_lock (&lock->lock); in gomp_set_nest_lock_25()
H A Dsem.c57 ret = pthread_mutex_lock (&sem->mutex); in gomp_sem_wait()
87 ret = pthread_mutex_lock (&sem->mutex); in gomp_sem_post()
/dflybsd-src/contrib/gcc-8.0/libgomp/config/posix/
H A Dlock.c56 pthread_mutex_lock (lock); in gomp_set_lock_30()
92 pthread_mutex_lock (&lock->lock); in gomp_set_nest_lock_30()
226 pthread_mutex_lock (lock); in gomp_set_lock_25()
262 pthread_mutex_lock (&lock->lock); in gomp_set_nest_lock_25()
H A Dsem.c58 ret = pthread_mutex_lock (&sem->mutex); in gomp_sem_wait()
88 ret = pthread_mutex_lock (&sem->mutex); in gomp_sem_post()
/dflybsd-src/sbin/udevd/
H A Dudevd_monitor.c64 #define MONITOR_LOCK() pthread_mutex_lock(&monitor_lock)
100 pthread_mutex_lock(&udm->q_lock); in monitor_queue_event()
139 pthread_mutex_lock(&udm->q_lock); in udev_monitor_free()
193 pthread_mutex_lock(&udm->q_lock); in client_cmd_monitor()
306 pthread_mutex_lock(&udm->q_lock); in _parse_filter_prop()
405 pthread_mutex_lock(&udm->q_lock); in match_event_filter()
/dflybsd-src/test/stress/stress2/misc/
H A Dpthread.sh84 pthread_mutex_lock(&worker_mtx);
107 pthread_mutex_lock(&worker_mtx);
132 pthread_mutex_lock(&worker_mtx);
H A Dkevent.sh94 if (pthread_mutex_lock(&mutex) == -1)
117 if (pthread_mutex_lock(&mutex) == -1)
H A Dkevent2.sh94 if (pthread_mutex_lock(&mutex) == -1)
122 if (pthread_mutex_lock(&mutex) == -1)
/dflybsd-src/contrib/lvm2/dist/daemons/dmeventd/plugins/snapshot/
H A Ddmeventd_snapshot.c123 pthread_mutex_lock(&_event_mutex); in process_event()
160 pthread_mutex_lock(&_register_mutex); in register_device()
200 pthread_mutex_lock(&_register_mutex); in unregister_device()
/dflybsd-src/lib/libdmsg/
H A Dmsg_lnk.c345 pthread_mutex_lock(&cluster_mtx); in dmsg_msg_lnk_signal()
397 pthread_mutex_lock(&cluster_mtx); in dmsg_lnk_conn()
478 pthread_mutex_lock(&cluster_mtx); in dmsg_lnk_conn()
551 pthread_mutex_lock(&cluster_mtx); in dmsg_lnk_span()
1010 pthread_mutex_lock(&cluster_mtx); in dmsg_findspan()
1095 pthread_mutex_lock(&cluster_mtx); in dmsg_lnk_relay()
1172 pthread_mutex_lock(&cluster_mtx);
1183 pthread_mutex_lock(&cluster_mtx);
1221 pthread_mutex_lock(&cluster_mtx); in dmsg_shell_tree()
1270 pthread_mutex_lock(&cluster_mtx); in dmsg_debug_findspan()
[all …]
/dflybsd-src/contrib/lvm2/dist/daemons/dmeventd/plugins/mirror/
H A Ddmeventd_mirror.c191 pthread_mutex_lock(&_event_mutex); in process_event()
246 pthread_mutex_lock(&_register_mutex); in register_device()
284 pthread_mutex_lock(&_register_mutex); in unregister_device()
/dflybsd-src/sbin/hammer2/
H A Dcmd_service.c363 pthread_mutex_lock(&confmtx); in hammer2_usrmsg_handler()
390 pthread_mutex_lock(&confmtx); in hammer2_volconf_thread()
413 pthread_mutex_lock(&confmtx); in hammer2_volconf_thread()
420 pthread_mutex_lock(&confmtx); in hammer2_volconf_thread()
870 pthread_mutex_lock(&diskmtx); in disk_reconnect()
910 pthread_mutex_lock(&diskmtx); in disk_reconnect()
933 pthread_mutex_lock(&diskmtx); in disk_disconnect()
/dflybsd-src/contrib/gcc-4.7/libgcc/
H A Dgthr-posix.h124 __gthrw3(pthread_mutex_lock)
154 __gthrw(pthread_mutex_lock)
241 __gthrw_(pthread_mutex_lock) (&__gthread_active_mutex); in __gthread_active_p()
574 && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_lock()
769 return __gthrw_(pthread_mutex_lock) (__mutex); in __gthread_mutex_lock()
/dflybsd-src/lib/libusb/
H A Dlibusb10.h36 #define CTX_LOCK(ctx) pthread_mutex_lock(&(ctx)->ctx_lock)
39 #define HOTPLUG_LOCK(ctx) pthread_mutex_lock(&(ctx)->hotplug_lock)
/dflybsd-src/sys/platform/vkernel64/platform/
H A Dcothread.c213 pthread_mutex_lock(&cotd->mutex); in cothread_lock()
216 pthread_mutex_lock(&cotd->mutex); in cothread_lock()
/dflybsd-src/contrib/gcc-8.0/libgcc/
H A Dgthr-posix.h115 __gthrw(pthread_mutex_lock)
197 __gthrw_(pthread_mutex_lock) (&__gthread_active_mutex); in __gthread_active_p()
579 && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0) in __gthread_objc_mutex_lock()
772 return __gthrw_(pthread_mutex_lock) (__mutex); in __gthread_mutex_lock()

123