FreeBSD/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c
/*
 * Remove a client from our global lists.
 * Must be called with svc_rpc_gss_lock held.
 */
Remove a client from our global lists.
Must be called with svc_rpc_gss_lock held.
Remove a client from our global lists . Must be called with svc_rpc_gss_lock held .
static void
svc_rpc_gss_forget_client_locked(struct svc_rpc_gss_client *client)
{
	struct svc_rpc_gss_client_list *list;
	sx_assert(&svc_rpc_gss_lock, SX_XLOCKED);
	list = &svc_rpc_gss_client_hash[client->cl_id.ci_id % CLIENT_HASH_SIZE];
	TAILQ_REMOVE(list, client, cl_link);
	TAILQ_REMOVE(&svc_rpc_gss_clients, client, cl_alllink);
	svc_rpc_gss_client_count--;
}
static void svc_rpc_gss_forget_client_locked ( struct svc_rpc_gss_client * client ) { struct svc_rpc_gss_client_list * list ; sx_assert ( & svc_rpc_gss_lock , SX_XLOCKED ) ; list = & svc_rpc_gss_client_hash [ client -> cl_id . ci_id % CLIENT_HASH_SIZE ] ; TAILQ_REMOVE ( list , client , cl_link ) ; TAILQ_REMOVE ( & svc_rpc_gss_clients , client , cl_alllink ) ; svc_rpc_gss_client_count -- ; }
Remove a client from our global lists.
Remove a client from our global lists .