Searched refs:thread_lock (Results 1 - 9 of 9) sorted by relevance
/linux-4.4.14/tools/perf/bench/ |
H A D | futex-hash.c | 32 static pthread_mutex_t thread_lock; variable 64 pthread_mutex_lock(&thread_lock); workerfn() 68 pthread_cond_wait(&thread_worker, &thread_lock); workerfn() 69 pthread_mutex_unlock(&thread_lock); workerfn() 145 pthread_mutex_init(&thread_lock, NULL); bench_futex_hash() 173 pthread_mutex_lock(&thread_lock); bench_futex_hash() 175 pthread_cond_wait(&thread_parent, &thread_lock); bench_futex_hash() 177 pthread_mutex_unlock(&thread_lock); bench_futex_hash() 191 pthread_mutex_destroy(&thread_lock); bench_futex_hash()
|
H A D | futex-lock-pi.c | 33 static pthread_mutex_t thread_lock; variable 76 pthread_mutex_lock(&thread_lock); workerfn() 80 pthread_cond_wait(&thread_worker, &thread_lock); workerfn() 81 pthread_mutex_unlock(&thread_lock); workerfn() 169 pthread_mutex_init(&thread_lock, NULL); bench_futex_lock_pi() 180 pthread_mutex_lock(&thread_lock); bench_futex_lock_pi() 182 pthread_cond_wait(&thread_parent, &thread_lock); bench_futex_lock_pi() 184 pthread_mutex_unlock(&thread_lock); bench_futex_lock_pi() 198 pthread_mutex_destroy(&thread_lock); bench_futex_lock_pi()
|
H A D | futex-requeue.c | 34 static pthread_mutex_t thread_lock; variable 68 pthread_mutex_lock(&thread_lock); workerfn() 72 pthread_cond_wait(&thread_worker, &thread_lock); workerfn() 73 pthread_mutex_unlock(&thread_lock); workerfn() 145 pthread_mutex_init(&thread_lock, NULL); bench_futex_requeue() 157 pthread_mutex_lock(&thread_lock); bench_futex_requeue() 159 pthread_cond_wait(&thread_parent, &thread_lock); bench_futex_requeue() 161 pthread_mutex_unlock(&thread_lock); bench_futex_requeue() 202 pthread_mutex_destroy(&thread_lock); bench_futex_requeue()
|
H A D | futex-wake.c | 35 static pthread_mutex_t thread_lock; variable 56 pthread_mutex_lock(&thread_lock); workerfn() 60 pthread_cond_wait(&thread_worker, &thread_lock); workerfn() 61 pthread_mutex_unlock(&thread_lock); workerfn() 150 pthread_mutex_init(&thread_lock, NULL); bench_futex_wake() 162 pthread_mutex_lock(&thread_lock); bench_futex_wake() 164 pthread_cond_wait(&thread_parent, &thread_lock); bench_futex_wake() 166 pthread_mutex_unlock(&thread_lock); bench_futex_wake() 196 pthread_mutex_destroy(&thread_lock); bench_futex_wake()
|
H A D | futex-wake-parallel.c | 37 static pthread_mutex_t thread_lock; variable 100 pthread_mutex_lock(&thread_lock); blocked_workerfn() 104 pthread_cond_wait(&thread_worker, &thread_lock); blocked_workerfn() 105 pthread_mutex_unlock(&thread_lock); blocked_workerfn() 247 pthread_mutex_init(&thread_lock, NULL); bench_futex_wake_parallel() 260 pthread_mutex_lock(&thread_lock); bench_futex_wake_parallel() 262 pthread_cond_wait(&thread_parent, &thread_lock); bench_futex_wake_parallel() 264 pthread_mutex_unlock(&thread_lock); bench_futex_wake_parallel() 287 pthread_mutex_destroy(&thread_lock); bench_futex_wake_parallel()
|
/linux-4.4.14/drivers/hid/usbhid/ |
H A D | hiddev.c | 67 struct mutex thread_lock; member in struct:hiddev_list 284 mutex_init(&list->thread_lock); hiddev_open() 355 retval = mutex_lock_interruptible(&list->thread_lock); hiddev_read() 378 mutex_unlock(&list->thread_lock); hiddev_read() 380 if (mutex_lock_interruptible(&list->thread_lock)) { hiddev_read() 391 mutex_unlock(&list->thread_lock); hiddev_read() 405 mutex_unlock(&list->thread_lock); hiddev_read() 415 mutex_unlock(&list->thread_lock); hiddev_read() 425 mutex_unlock(&list->thread_lock); hiddev_read()
|
/linux-4.4.14/drivers/pcmcia/ |
H A D | cs.c | 162 spin_lock_init(&socket->thread_lock); pcmcia_register_socket() 624 spin_lock_irqsave(&skt->thread_lock, flags); pccardd() 629 spin_unlock_irqrestore(&skt->thread_lock, flags); pccardd() 704 spin_lock_irqsave(&s->thread_lock, flags); pcmcia_parse_events() 706 spin_unlock_irqrestore(&s->thread_lock, flags); pcmcia_parse_events() 729 spin_lock_irqsave(&s->thread_lock, flags); pcmcia_parse_uevents() 731 spin_unlock_irqrestore(&s->thread_lock, flags); pcmcia_parse_uevents()
|
/linux-4.4.14/drivers/mmc/host/ |
H A D | sh_mmcif.c | 254 struct mutex thread_lock; member in struct:sh_mmcif_host 1268 mutex_lock(&host->thread_lock); sh_mmcif_irqt() 1274 mutex_unlock(&host->thread_lock); sh_mmcif_irqt() 1285 mutex_unlock(&host->thread_lock); sh_mmcif_irqt() 1330 mutex_unlock(&host->thread_lock); sh_mmcif_irqt() 1344 mutex_unlock(&host->thread_lock); sh_mmcif_irqt() 1355 mutex_unlock(&host->thread_lock); sh_mmcif_irqt() 1570 mutex_init(&host->thread_lock); sh_mmcif_probe()
|
/linux-4.4.14/include/pcmcia/ |
H A D | ss.h | 198 spinlock_t thread_lock; member in struct:pcmcia_socket
|
Completed in 261 milliseconds