Lines Matching refs:sn
275 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in get_pipe_version() local
279 if (sn->pipe_version >= 0) { in get_pipe_version()
280 atomic_inc(&sn->pipe_users); in get_pipe_version()
281 ret = sn->pipe_version; in get_pipe_version()
290 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in put_pipe_version() local
292 if (atomic_dec_and_lock(&sn->pipe_users, &pipe_version_lock)) { in put_pipe_version()
293 sn->pipe_version = -1; in put_pipe_version()
644 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in gss_create_upcall() local
662 sn->pipe_version >= 0, 15 * HZ); in gss_create_upcall()
663 if (sn->pipe_version < 0) { in gss_create_upcall()
815 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in gss_pipe_open() local
819 if (sn->pipe_version < 0) { in gss_pipe_open()
821 sn->pipe_version = new_version; in gss_pipe_open()
824 } else if (sn->pipe_version != new_version) { in gss_pipe_open()
829 atomic_inc(&sn->pipe_users); in gss_pipe_open()