Lines Matching defs:sn

1162 	struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id);
1193 rsip = rsi_lookup(sn->rsi_cache, &rsikey);
1197 if (cache_check(sn->rsi_cache, &rsip->h, &rqstp->rq_chandle) < 0)
1202 if (!svcauth_gss_proc_init_verf(sn->rsc_cache, rqstp, &rsip->out_handle,
1214 cache_put(&rsip->h, sn->rsi_cache);
1299 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
1320 status = gss_proxy_save_rsc(sn->rsc_cache, &ud, &handle);
1330 if (!svcauth_gss_proc_init_verf(sn->rsc_cache, rqstp, &cli_handle,
1348 * Try to set the sn->use_gss_proxy variable to a new value. We only allow
1354 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
1358 ret = cmpxchg(&sn->use_gss_proxy, -1, type);
1366 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
1369 if (sn->use_gss_proxy == -1)
1371 return sn->use_gss_proxy;
1433 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
1438 snprintf(tbuf, sizeof(tbuf), "%d\n", sn->use_gss_proxy);
1459 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
1460 struct proc_dir_entry **p = &sn->use_gssp_proc;
1462 sn->use_gss_proxy = -1;
1464 sn->proc_net_rpc,
1468 init_gssp_clnt(sn);
1474 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
1476 if (sn->use_gssp_proc) {
1477 remove_proc_entry("use-gss-proxy", sn->proc_net_rpc);
1478 clear_gssp_clnt(sn);
1514 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
1516 sn->gss_krb5_enctypes =
1518 sn->proc_net_rpc, &gss_krb5_enctypes_proc_ops,
1520 return sn->gss_krb5_enctypes ? 0 : -ENOMEM;
1525 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
1527 if (sn->gss_krb5_enctypes)
1528 remove_proc_entry("gss_krb5_enctypes", sn->proc_net_rpc);
1629 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id);
1658 rsci = gss_svc_searchbyctx(sn->rsc_cache, &gc->gc_ctx);
1685 sunrpc_cache_unhash(sn->rsc_cache, &rsci->h);
1743 cache_put(&rsci->h, sn->rsc_cache);
1936 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id);
1979 cache_put(&gsd->rsci->h, sn->rsc_cache);
2019 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
2031 sn->rsi_cache = cd;
2037 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
2038 struct cache_detail *cd = sn->rsi_cache;
2040 sn->rsi_cache = NULL;
2048 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
2060 sn->rsc_cache = cd;
2066 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
2067 struct cache_detail *cd = sn->rsc_cache;
2069 sn->rsc_cache = NULL;