Lines Matching refs:gd_lock

121 	struct mtx		gd_lock;  member
401 mtx_init(&gd->gd_lock, "gd->gd_lock", NULL, MTX_DEF); in rpc_gss_seccreate_int()
474 mtx_lock(&gd->gd_lock); in rpc_gss_purge_xid()
482 mtx_unlock(&gd->gd_lock); in rpc_gss_purge_xid()
494 mtx_lock(&gd->gd_lock); in rpc_gss_alloc_seq()
497 mtx_unlock(&gd->gd_lock); in rpc_gss_alloc_seq()
557 mtx_lock(&gd->gd_lock); in rpc_gss_marshal()
561 mtx_unlock(&gd->gd_lock); in rpc_gss_marshal()
667 mtx_lock(&gd->gd_lock); in rpc_gss_validate()
675 mtx_unlock(&gd->gd_lock); in rpc_gss_validate()
717 mtx_lock(&gd->gd_lock); in rpc_gss_validate()
722 mtx_unlock(&gd->gd_lock); in rpc_gss_validate()
753 mtx_lock(&gd->gd_lock); in rpc_gss_init()
762 msleep(gd, &gd->gd_lock, 0, "gssstate", 0); in rpc_gss_init()
765 mtx_unlock(&gd->gd_lock); in rpc_gss_init()
769 mtx_unlock(&gd->gd_lock); in rpc_gss_init()
997 mtx_lock(&gd->gd_lock); in rpc_gss_init()
1000 mtx_unlock(&gd->gd_lock); in rpc_gss_init()
1004 mtx_lock(&gd->gd_lock); in rpc_gss_init()
1007 mtx_unlock(&gd->gd_lock); in rpc_gss_init()
1025 mtx_lock(&gd->gd_lock); in rpc_gss_refresh()
1027 mtx_unlock(&gd->gd_lock); in rpc_gss_refresh()
1030 mtx_unlock(&gd->gd_lock); in rpc_gss_refresh()
1061 mtx_lock(&gd->gd_lock); in rpc_gss_destroy_context()
1069 msleep(gd, &gd->gd_lock, 0, "gssstate", 0); in rpc_gss_destroy_context()
1070 mtx_unlock(&gd->gd_lock); in rpc_gss_destroy_context()
1074 mtx_unlock(&gd->gd_lock); in rpc_gss_destroy_context()
1101 mtx_lock(&gd->gd_lock); in rpc_gss_destroy_context()
1104 mtx_unlock(&gd->gd_lock); in rpc_gss_destroy_context()
1129 mtx_destroy(&gd->gd_lock); in rpc_gss_destroy()