Lines Matching refs:xprt
338 ip_map_cached_get(struct svc_xprt *xprt) in ip_map_cached_get() argument
343 if (test_bit(XPT_CACHE_AUTH, &xprt->xpt_flags)) { in ip_map_cached_get()
344 spin_lock(&xprt->xpt_lock); in ip_map_cached_get()
345 ipm = xprt->xpt_auth_cache; in ip_map_cached_get()
347 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_get()
354 xprt->xpt_auth_cache = NULL; in ip_map_cached_get()
355 spin_unlock(&xprt->xpt_lock); in ip_map_cached_get()
361 spin_unlock(&xprt->xpt_lock); in ip_map_cached_get()
367 ip_map_cached_put(struct svc_xprt *xprt, struct ip_map *ipm) in ip_map_cached_put() argument
369 if (test_bit(XPT_CACHE_AUTH, &xprt->xpt_flags)) { in ip_map_cached_put()
370 spin_lock(&xprt->xpt_lock); in ip_map_cached_put()
371 if (xprt->xpt_auth_cache == NULL) { in ip_map_cached_put()
373 xprt->xpt_auth_cache = ipm; in ip_map_cached_put()
376 spin_unlock(&xprt->xpt_lock); in ip_map_cached_put()
381 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_put()
676 struct svc_xprt *xprt = rqstp->rq_xprt; in svcauth_unix_set_client() local
677 struct net *net = xprt->xpt_net; in svcauth_unix_set_client()
698 ipm = ip_map_cached_get(xprt); in svcauth_unix_set_client()
718 ip_map_cached_put(xprt, ipm); in svcauth_unix_set_client()
835 struct svc_xprt *xprt = rqstp->rq_xprt; in svcauth_tls_accept() local
869 if (xprt->xpt_ops->xpo_handshake) { in svcauth_tls_accept()
873 trace_svc_tls_start(xprt); in svcauth_tls_accept()
878 set_bit(XPT_HANDSHAKE, &xprt->xpt_flags); in svcauth_tls_accept()
879 svc_xprt_enqueue(xprt); in svcauth_tls_accept()
881 trace_svc_tls_unavailable(xprt); in svcauth_tls_accept()