Home
last modified time | relevance | path

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

/src/sys/fs/devfs/
H A Ddevfs_vnops.c84 struct mtx cdevpriv_mtx; variable
85 MTX_SYSINIT(cdevpriv_mtx, &cdevpriv_mtx, "cdevpriv lock", MTX_DEF);
166 mtx_lock(&cdevpriv_mtx); in devfs_set_cdevpriv()
170 mtx_unlock(&cdevpriv_mtx); in devfs_set_cdevpriv()
173 mtx_unlock(&cdevpriv_mtx); in devfs_set_cdevpriv()
190 mtx_lock(&cdevpriv_mtx); in devfs_foreach_cdevpriv()
196 mtx_unlock(&cdevpriv_mtx); in devfs_foreach_cdevpriv()
206 mtx_assert(&cdevpriv_mtx, MA_OWNED); in devfs_destroy_cdevpriv()
214 mtx_unlock(&cdevpriv_mtx); in devfs_destroy_cdevpriv()
216 mtx_lock(&cdevpriv_mtx); in devfs_destroy_cdevpriv()
[all …]
H A Ddevfs_int.h94 extern struct mtx cdevpriv_mtx;
/src/sys/kern/
H A Dkern_conf.c1161 mtx_lock(&cdevpriv_mtx); in destroy_devl()
1164 mtx_lock(&cdevpriv_mtx); in destroy_devl()
1167 msleep(&cdp->cdp_fdpriv_dtrc, &cdevpriv_mtx, 0, "cdfdpc", 0); in destroy_devl()
1169 mtx_unlock(&cdevpriv_mtx); in destroy_devl()