• Home
  • Raw
  • Download

Lines Matching refs:sn

309 	struct sunrpc_net *sn;  in ip_map_lookup()  local
311 sn = net_generic(net, sunrpc_net_id); in ip_map_lookup()
312 return __ip_map_lookup(sn->ip_map_cache, class, addr); in ip_map_lookup()
337 struct sunrpc_net *sn; in svcauth_unix_purge() local
339 sn = net_generic(net, sunrpc_net_id); in svcauth_unix_purge()
340 cache_purge(sn->ip_map_cache); in svcauth_unix_purge()
348 struct sunrpc_net *sn; in ip_map_cached_get() local
354 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_get()
355 if (cache_is_expired(sn->ip_map_cache, &ipm->h)) { in ip_map_cached_get()
363 cache_put(&ipm->h, sn->ip_map_cache); in ip_map_cached_get()
386 struct sunrpc_net *sn; in ip_map_cached_put() local
388 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_put()
389 cache_put(&ipm->h, sn->ip_map_cache); in ip_map_cached_put()
400 struct sunrpc_net *sn; in svcauth_unix_info_release() local
402 sn = net_generic(xpt->xpt_net, sunrpc_net_id); in svcauth_unix_info_release()
403 cache_put(&ipm->h, sn->ip_map_cache); in svcauth_unix_info_release()
609 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in unix_gid_cache_create() local
621 sn->unix_gid_cache = cd; in unix_gid_cache_create()
627 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in unix_gid_cache_destroy() local
628 struct cache_detail *cd = sn->unix_gid_cache; in unix_gid_cache_destroy()
630 sn->unix_gid_cache = NULL; in unix_gid_cache_destroy()
654 struct sunrpc_net *sn = net_generic(rqstp->rq_xprt->xpt_net, in unix_gid_find() local
657 ug = unix_gid_lookup(sn->unix_gid_cache, uid); in unix_gid_find()
660 ret = cache_check(sn->unix_gid_cache, &ug->h, &rqstp->rq_chandle); in unix_gid_find()
668 cache_put(&ug->h, sn->unix_gid_cache); in unix_gid_find()
685 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in svcauth_unix_set_client() local
706 ipm = __ip_map_lookup(sn->ip_map_cache, rqstp->rq_server->sv_program->pg_class, in svcauth_unix_set_client()
712 switch (cache_check(sn->ip_map_cache, &ipm->h, &rqstp->rq_chandle)) { in svcauth_unix_set_client()
907 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in ip_map_cache_create() local
919 sn->ip_map_cache = cd; in ip_map_cache_create()
925 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in ip_map_cache_destroy() local
926 struct cache_detail *cd = sn->ip_map_cache; in ip_map_cache_destroy()
928 sn->ip_map_cache = NULL; in ip_map_cache_destroy()