Lines Matching refs:sn
86 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_register_client() local
88 spin_lock(&sn->rpc_client_lock); in rpc_register_client()
89 list_add(&clnt->cl_clients, &sn->all_clients); in rpc_register_client()
90 spin_unlock(&sn->rpc_client_lock); in rpc_register_client()
96 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_unregister_client() local
98 spin_lock(&sn->rpc_client_lock); in rpc_unregister_client()
100 spin_unlock(&sn->rpc_client_lock); in rpc_unregister_client()
223 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_get_client_for_event() local
226 spin_lock(&sn->rpc_client_lock); in rpc_get_client_for_event()
227 list_for_each_entry(clnt, &sn->all_clients, cl_clients) { in rpc_get_client_for_event()
230 spin_unlock(&sn->rpc_client_lock); in rpc_get_client_for_event()
233 spin_unlock(&sn->rpc_client_lock); in rpc_get_client_for_event()
2466 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_show_tasks() local
2468 spin_lock(&sn->rpc_client_lock); in rpc_show_tasks()
2469 list_for_each_entry(clnt, &sn->all_clients, cl_clients) { in rpc_show_tasks()
2480 spin_unlock(&sn->rpc_client_lock); in rpc_show_tasks()