Home
last modified time | relevance | path

Searched refs:bounce_lock (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/vdpa/vdpa_user/
H A Diova_domain.c216 read_lock(&domain->bounce_lock); in vduse_domain_get_bounce_page()
224 read_unlock(&domain->bounce_lock); in vduse_domain_get_bounce_page()
260 write_lock(&domain->bounce_lock); in vduse_domain_add_user_bounce_pages()
281 write_unlock(&domain->bounce_lock); in vduse_domain_add_user_bounce_pages()
291 write_lock(&domain->bounce_lock); in vduse_domain_remove_user_bounce_pages()
314 write_unlock(&domain->bounce_lock); in vduse_domain_remove_user_bounce_pages()
392 read_lock(&domain->bounce_lock); in vduse_domain_map_page()
399 read_unlock(&domain->bounce_lock); in vduse_domain_map_page()
403 read_unlock(&domain->bounce_lock); in vduse_domain_map_page()
415 read_lock(&domain->bounce_lock); in vduse_domain_unmap_page()
[all …]
H A Diova_domain.h38 rwlock_t bounce_lock; member
/openbmc/qemu/block/
H A Dblkio.c59 CoMutex bounce_lock; member
173 QEMU_LOCK_GUARD(&s->bounce_lock); in blkio_alloc_bounce_buffer()
177 qemu_co_queue_wait_flags(&s->bounce_available, &s->bounce_lock, in blkio_alloc_bounce_buffer()
209 qemu_co_queue_wait_flags(&s->bounce_available, &s->bounce_lock, in blkio_alloc_bounce_buffer()
218 QEMU_LOCK_GUARD(&s->bounce_lock); in blkio_free_bounce_buffer()
908 qemu_co_mutex_init(&s->bounce_lock); in blkio_open()