Lines Matching refs:cr_mtx
2332 mtx_lock(&cr->cr_mtx); in crcowget()
2337 mtx_unlock(&cr->cr_mtx); in crcowget()
2348 mtx_lock(&cr->cr_mtx); in crunuse()
2362 mtx_unlock(&cr->cr_mtx); in crunuse()
2373 mtx_lock(&cr->cr_mtx); in crunusebatch()
2380 mtx_unlock(&cr->cr_mtx); in crunusebatch()
2386 mtx_unlock(&cr->cr_mtx); in crunusebatch()
2471 mtx_init(&cr->cr_mtx, "cred", NULL, MTX_DEF); in crget()
2499 mtx_lock(&cr->cr_mtx); in crhold()
2501 mtx_unlock(&cr->cr_mtx); in crhold()
2520 mtx_lock(&cr->cr_mtx); in crfree()
2525 mtx_unlock(&cr->cr_mtx); in crfree()
2531 mtx_unlock(&cr->cr_mtx); in crfree()
2564 mtx_destroy(&cr->cr_mtx); in crfree_final()
2681 mtx_lock(&oldcred->cr_mtx); in _proc_set_cred()
2685 mtx_unlock(&oldcred->cr_mtx); in _proc_set_cred()
2718 mtx_lock(&cr->cr_mtx); in proc_unset_cred()
2723 mtx_unlock(&cr->cr_mtx); in proc_unset_cred()