Home
last modified time | relevance | path

Searched refs:thread_lock (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/tools/perf/bench/
A Dfutex-wake.c38 static struct mutex thread_lock; variable
69 mutex_lock(&thread_lock); in workerfn()
73 cond_wait(&thread_worker, &thread_lock); in workerfn()
74 mutex_unlock(&thread_lock); in workerfn()
182 mutex_init(&thread_lock); in bench_futex_wake()
194 mutex_lock(&thread_lock); in bench_futex_wake()
196 cond_wait(&thread_parent, &thread_lock); in bench_futex_wake()
198 mutex_unlock(&thread_lock); in bench_futex_wake()
230 mutex_destroy(&thread_lock); in bench_futex_wake()
A Dfutex-hash.c38 static struct mutex thread_lock; variable
77 mutex_lock(&thread_lock); in workerfn()
81 cond_wait(&thread_worker, &thread_lock); in workerfn()
82 mutex_unlock(&thread_lock); in workerfn()
169 mutex_init(&thread_lock); in bench_futex_hash()
207 mutex_lock(&thread_lock); in bench_futex_hash()
209 cond_wait(&thread_parent, &thread_lock); in bench_futex_hash()
211 mutex_unlock(&thread_lock); in bench_futex_hash()
225 mutex_destroy(&thread_lock); in bench_futex_hash()
A Dfutex-lock-pi.c38 static struct mutex thread_lock; variable
87 mutex_lock(&thread_lock); in workerfn()
91 cond_wait(&thread_worker, &thread_lock); in workerfn()
92 mutex_unlock(&thread_lock); in workerfn()
201 mutex_init(&thread_lock); in bench_futex_lock_pi()
212 mutex_lock(&thread_lock); in bench_futex_lock_pi()
214 cond_wait(&thread_parent, &thread_lock); in bench_futex_lock_pi()
216 mutex_unlock(&thread_lock); in bench_futex_lock_pi()
230 mutex_destroy(&thread_lock); in bench_futex_lock_pi()
A Dfutex-requeue.c38 static struct mutex thread_lock; variable
86 mutex_lock(&thread_lock); in workerfn()
90 cond_wait(&thread_worker, &thread_lock); in workerfn()
91 mutex_unlock(&thread_lock); in workerfn()
213 mutex_init(&thread_lock); in bench_futex_requeue()
225 mutex_lock(&thread_lock); in bench_futex_requeue()
227 cond_wait(&thread_parent, &thread_lock); in bench_futex_requeue()
229 mutex_unlock(&thread_lock); in bench_futex_requeue()
303 mutex_destroy(&thread_lock); in bench_futex_requeue()
A Dfutex-wake-parallel.c53 static struct mutex thread_lock; variable
129 mutex_lock(&thread_lock); in blocked_workerfn()
133 cond_wait(&thread_worker, &thread_lock); in blocked_workerfn()
134 mutex_unlock(&thread_lock); in blocked_workerfn()
298 mutex_init(&thread_lock); in bench_futex_wake_parallel()
311 mutex_lock(&thread_lock); in bench_futex_wake_parallel()
313 cond_wait(&thread_parent, &thread_lock); in bench_futex_wake_parallel()
315 mutex_unlock(&thread_lock); in bench_futex_wake_parallel()
338 mutex_destroy(&thread_lock); in bench_futex_wake_parallel()
A Depoll-ctl.c62 static struct mutex thread_lock; variable
178 mutex_lock(&thread_lock); in workerfn()
182 cond_wait(&thread_worker, &thread_lock); in workerfn()
183 mutex_unlock(&thread_lock); in workerfn()
371 mutex_init(&thread_lock); in bench_epoll_ctl()
381 mutex_lock(&thread_lock); in bench_epoll_ctl()
383 cond_wait(&thread_parent, &thread_lock); in bench_epoll_ctl()
385 mutex_unlock(&thread_lock); in bench_epoll_ctl()
400 mutex_destroy(&thread_lock); in bench_epoll_ctl()
A Depoll-wait.c113 static struct mutex thread_lock; variable
193 mutex_lock(&thread_lock); in workerfn()
197 cond_wait(&thread_worker, &thread_lock); in workerfn()
198 mutex_unlock(&thread_lock); in workerfn()
489 mutex_init(&thread_lock); in bench_epoll_wait()
499 mutex_lock(&thread_lock); in bench_epoll_wait()
501 cond_wait(&thread_parent, &thread_lock); in bench_epoll_wait()
503 mutex_unlock(&thread_lock); in bench_epoll_wait()
528 mutex_destroy(&thread_lock); in bench_epoll_wait()
/linux-6.3-rc2/drivers/hid/usbhid/
A Dhiddev.c46 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()
/linux-6.3-rc2/drivers/pcmcia/
A Dcs.c159 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()
/linux-6.3-rc2/drivers/mmc/host/
A Dsh_mmcif.c242 struct mutex thread_lock; member
1192 mutex_lock(&host->thread_lock); in sh_mmcif_irqt()
1198 mutex_unlock(&host->thread_lock); in sh_mmcif_irqt()
1209 mutex_unlock(&host->thread_lock); in sh_mmcif_irqt()
1254 mutex_unlock(&host->thread_lock); in sh_mmcif_irqt()
1268 mutex_unlock(&host->thread_lock); in sh_mmcif_irqt()
1279 mutex_unlock(&host->thread_lock); in sh_mmcif_irqt()
1487 mutex_init(&host->thread_lock); in sh_mmcif_probe()
/linux-6.3-rc2/include/pcmcia/
A Dss.h195 spinlock_t thread_lock; member
/linux-6.3-rc2/Documentation/pcmcia/
A Dlocking.rst76 - by thread_lock::

Completed in 21 milliseconds