/kernel/linux/linux-5.10/tools/perf/bench/ |
D | futex-wake.c | 43 static pthread_mutex_t thread_lock; variable 64 pthread_mutex_lock(&thread_lock); in workerfn() 68 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 69 pthread_mutex_unlock(&thread_lock); in workerfn() 161 pthread_mutex_init(&thread_lock, NULL); in bench_futex_wake() 173 pthread_mutex_lock(&thread_lock); in bench_futex_wake() 175 pthread_cond_wait(&thread_parent, &thread_lock); in bench_futex_wake() 177 pthread_mutex_unlock(&thread_lock); in bench_futex_wake() 207 pthread_mutex_destroy(&thread_lock); in bench_futex_wake()
|
D | futex-requeue.c | 42 static pthread_mutex_t thread_lock; variable 76 pthread_mutex_lock(&thread_lock); in workerfn() 80 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 81 pthread_mutex_unlock(&thread_lock); in workerfn() 156 pthread_mutex_init(&thread_lock, NULL); in bench_futex_requeue() 168 pthread_mutex_lock(&thread_lock); in bench_futex_requeue() 170 pthread_cond_wait(&thread_parent, &thread_lock); in bench_futex_requeue() 172 pthread_mutex_unlock(&thread_lock); in bench_futex_requeue() 213 pthread_mutex_destroy(&thread_lock); in bench_futex_requeue()
|
D | futex-hash.c | 41 static pthread_mutex_t thread_lock; variable 74 pthread_mutex_lock(&thread_lock); in workerfn() 78 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 79 pthread_mutex_unlock(&thread_lock); in workerfn() 159 pthread_mutex_init(&thread_lock, NULL); in bench_futex_hash() 187 pthread_mutex_lock(&thread_lock); in bench_futex_hash() 189 pthread_cond_wait(&thread_parent, &thread_lock); in bench_futex_hash() 191 pthread_mutex_unlock(&thread_lock); in bench_futex_hash() 205 pthread_mutex_destroy(&thread_lock); in bench_futex_hash()
|
D | futex-lock-pi.c | 40 static pthread_mutex_t thread_lock; variable 84 pthread_mutex_lock(&thread_lock); in workerfn() 88 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 89 pthread_mutex_unlock(&thread_lock); in workerfn() 182 pthread_mutex_init(&thread_lock, NULL); in bench_futex_lock_pi() 193 pthread_mutex_lock(&thread_lock); in bench_futex_lock_pi() 195 pthread_cond_wait(&thread_parent, &thread_lock); in bench_futex_lock_pi() 197 pthread_mutex_unlock(&thread_lock); in bench_futex_lock_pi() 211 pthread_mutex_destroy(&thread_lock); in bench_futex_lock_pi()
|
D | futex-wake-parallel.c | 53 static pthread_mutex_t thread_lock; variable 125 pthread_mutex_lock(&thread_lock); in blocked_workerfn() 129 pthread_cond_wait(&thread_worker, &thread_lock); in blocked_workerfn() 130 pthread_mutex_unlock(&thread_lock); in blocked_workerfn() 277 pthread_mutex_init(&thread_lock, NULL); in bench_futex_wake_parallel() 290 pthread_mutex_lock(&thread_lock); in bench_futex_wake_parallel() 292 pthread_cond_wait(&thread_parent, &thread_lock); in bench_futex_wake_parallel() 294 pthread_mutex_unlock(&thread_lock); in bench_futex_wake_parallel() 317 pthread_mutex_destroy(&thread_lock); in bench_futex_wake_parallel()
|
D | epoll-ctl.c | 62 static pthread_mutex_t thread_lock; variable 178 pthread_mutex_lock(&thread_lock); in workerfn() 182 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 183 pthread_mutex_unlock(&thread_lock); in workerfn() 358 pthread_mutex_init(&thread_lock, NULL); in bench_epoll_ctl() 368 pthread_mutex_lock(&thread_lock); in bench_epoll_ctl() 370 pthread_cond_wait(&thread_parent, &thread_lock); in bench_epoll_ctl() 372 pthread_mutex_unlock(&thread_lock); in bench_epoll_ctl() 387 pthread_mutex_destroy(&thread_lock); in bench_epoll_ctl()
|
D | epoll-wait.c | 113 static pthread_mutex_t thread_lock; variable 193 pthread_mutex_lock(&thread_lock); in workerfn() 197 pthread_cond_wait(&thread_worker, &thread_lock); in workerfn() 198 pthread_mutex_unlock(&thread_lock); in workerfn() 476 pthread_mutex_init(&thread_lock, NULL); in bench_epoll_wait() 486 pthread_mutex_lock(&thread_lock); in bench_epoll_wait() 488 pthread_cond_wait(&thread_parent, &thread_lock); in bench_epoll_wait() 490 pthread_mutex_unlock(&thread_lock); in bench_epoll_wait() 515 pthread_mutex_destroy(&thread_lock); in bench_epoll_wait()
|
/kernel/linux/linux-5.10/drivers/hid/usbhid/ |
D | hiddev.c | 46 struct mutex thread_lock; member 255 mutex_init(&list->thread_lock); in __hiddev_open() 333 retval = mutex_lock_interruptible(&list->thread_lock); in hiddev_read() 356 mutex_unlock(&list->thread_lock); in hiddev_read() 358 if (mutex_lock_interruptible(&list->thread_lock)) { in hiddev_read() 369 mutex_unlock(&list->thread_lock); in hiddev_read() 383 mutex_unlock(&list->thread_lock); in hiddev_read() 393 mutex_unlock(&list->thread_lock); in hiddev_read() 403 mutex_unlock(&list->thread_lock); in hiddev_read()
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
D | cs.c | 159 spin_lock_init(&socket->thread_lock); in pcmcia_register_socket() 625 spin_lock_irqsave(&skt->thread_lock, flags); in pccardd() 630 spin_unlock_irqrestore(&skt->thread_lock, flags); in pccardd() 703 spin_lock_irqsave(&s->thread_lock, flags); in pcmcia_parse_events() 705 spin_unlock_irqrestore(&s->thread_lock, flags); in pcmcia_parse_events() 728 spin_lock_irqsave(&s->thread_lock, flags); in pcmcia_parse_uevents() 730 spin_unlock_irqrestore(&s->thread_lock, flags); in pcmcia_parse_uevents()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | sh_mmcif.c | 242 struct mutex thread_lock; member 1190 mutex_lock(&host->thread_lock); in sh_mmcif_irqt() 1196 mutex_unlock(&host->thread_lock); in sh_mmcif_irqt() 1207 mutex_unlock(&host->thread_lock); in sh_mmcif_irqt() 1252 mutex_unlock(&host->thread_lock); in sh_mmcif_irqt() 1266 mutex_unlock(&host->thread_lock); in sh_mmcif_irqt() 1277 mutex_unlock(&host->thread_lock); in sh_mmcif_irqt() 1485 mutex_init(&host->thread_lock); in sh_mmcif_probe()
|
/kernel/linux/linux-5.10/include/pcmcia/ |
D | ss.h | 195 spinlock_t thread_lock; member
|
/kernel/linux/linux-5.10/Documentation/pcmcia/ |
D | locking.rst | 76 - by thread_lock::
|