Lines Matching refs:sn
304 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in get_pipe_version() local
308 if (sn->pipe_version >= 0) { in get_pipe_version()
309 atomic_inc(&sn->pipe_users); in get_pipe_version()
310 ret = sn->pipe_version; in get_pipe_version()
319 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in put_pipe_version() local
321 if (atomic_dec_and_lock(&sn->pipe_users, &pipe_version_lock)) { in put_pipe_version()
322 sn->pipe_version = -1; in put_pipe_version()
611 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in gss_create_upcall() local
630 sn->pipe_version >= 0, 15 * HZ); in gss_create_upcall()
631 if (sn->pipe_version < 0) { in gss_create_upcall()
767 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in gss_pipe_open() local
771 if (sn->pipe_version < 0) { in gss_pipe_open()
773 sn->pipe_version = new_version; in gss_pipe_open()
776 } else if (sn->pipe_version != new_version) { in gss_pipe_open()
781 atomic_inc(&sn->pipe_users); in gss_pipe_open()