Home
last modified time | relevance | path

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

/freebsd/sys/dev/xen/xenstore/
H A Dxenstore.c155 struct mtx ring_lock; member
369 mtx_lock(&xs.ring_lock); in xs_intr()
371 mtx_unlock(&xs.ring_lock); in xs_intr()
464 mtx_lock(&xs.ring_lock); in xs_write_store()
480 error = msleep(xen_store, &xs.ring_lock, PCATCH|PDROP, in xs_write_store()
488 mtx_unlock(&xs.ring_lock); in xs_write_store()
552 mtx_lock(&xs.ring_lock); in xs_read_store()
568 error = msleep(xen_store, &xs.ring_lock, PCATCH|PDROP, in xs_read_store()
574 mtx_unlock(&xs.ring_lock); in xs_read_store()
1134 mtx_init(&xs.ring_lock, "ring lock", NULL, MTX_DEF); in xs_attach()