Searched refs:sysmcache (Results 1 – 1 of 1) sorted by relevance
144 static devicecache_t sysmcache[MAXDEVS]; variable209 rw_init(&sysmcache[i].dca_lock, NULL, RW_DRIVER, NULL); in sysm_attach()232 rw_destroy(&sysmcache[i].dca_lock); in sysm_detach()397 rw_enter(&sysmcache[i].dca_lock, RW_WRITER); in sysmopen()398 if ((sysmcache[i].dca_flags & SYSM_ENABLED) && in sysmopen()399 sysmcache[i].dca_vp == NULL) { in sysmopen()413 if (vn_open(sysmcache[i].dca_name, UIO_SYSSPACE, in sysmopen()415 sysmcache[i].dca_vp = vp; in sysmopen()417 rw_exit(&sysmcache[i].dca_lock); in sysmopen()458 rw_enter(&sysmcache[i].dca_lock, RW_WRITER); in sysmclose()[all …]