Lines Matching refs:sn
330 struct sunrpc_net *sn; in svcauth_unix_purge() local
332 sn = net_generic(net, sunrpc_net_id); in svcauth_unix_purge()
333 cache_purge(sn->ip_map_cache); in svcauth_unix_purge()
341 struct sunrpc_net *sn; in ip_map_cached_get() local
347 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_get()
348 if (cache_is_expired(sn->ip_map_cache, &ipm->h)) { in ip_map_cached_get()
356 cache_put(&ipm->h, sn->ip_map_cache); in ip_map_cached_get()
379 struct sunrpc_net *sn; in ip_map_cached_put() local
381 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_put()
382 cache_put(&ipm->h, sn->ip_map_cache); in ip_map_cached_put()
393 struct sunrpc_net *sn; in svcauth_unix_info_release() local
395 sn = net_generic(xpt->xpt_net, sunrpc_net_id); in svcauth_unix_info_release()
396 cache_put(&ipm->h, sn->ip_map_cache); in svcauth_unix_info_release()
602 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in unix_gid_cache_create() local
614 sn->unix_gid_cache = cd; in unix_gid_cache_create()
620 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in unix_gid_cache_destroy() local
621 struct cache_detail *cd = sn->unix_gid_cache; in unix_gid_cache_destroy()
623 sn->unix_gid_cache = NULL; in unix_gid_cache_destroy()
647 struct sunrpc_net *sn = net_generic(rqstp->rq_xprt->xpt_net, in unix_gid_find() local
650 ug = unix_gid_lookup(sn->unix_gid_cache, uid); in unix_gid_find()
653 ret = cache_check(sn->unix_gid_cache, &ug->h, &rqstp->rq_chandle); in unix_gid_find()
661 cache_put(&ug->h, sn->unix_gid_cache); in unix_gid_find()
678 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in svcauth_unix_set_client() local
700 ipm = __ip_map_lookup(sn->ip_map_cache, in svcauth_unix_set_client()
707 switch (cache_check(sn->ip_map_cache, &ipm->h, &rqstp->rq_chandle)) { in svcauth_unix_set_client()
1037 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in ip_map_cache_create() local
1049 sn->ip_map_cache = cd; in ip_map_cache_create()
1055 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in ip_map_cache_destroy() local
1056 struct cache_detail *cd = sn->ip_map_cache; in ip_map_cache_destroy()
1058 sn->ip_map_cache = NULL; in ip_map_cache_destroy()