Lines Matching refs:net
243 do_register(struct net *net, const char *name, void *data, in do_register() argument
249 sn = net_generic(net, sunrpc_net_id); in do_register()
254 rpc_proc_register(struct net *net, struct rpc_stat *statp) in rpc_proc_register() argument
256 return do_register(net, statp->program->name, statp, &rpc_proc_fops); in rpc_proc_register()
261 rpc_proc_unregister(struct net *net, const char *name) in rpc_proc_unregister() argument
265 sn = net_generic(net, sunrpc_net_id); in rpc_proc_unregister()
271 svc_proc_register(struct net *net, struct svc_stat *statp, const struct file_operations *fops) in svc_proc_register() argument
273 return do_register(net, statp->program->pg_name, statp, fops); in svc_proc_register()
278 svc_proc_unregister(struct net *net, const char *name) in svc_proc_unregister() argument
282 sn = net_generic(net, sunrpc_net_id); in svc_proc_unregister()
287 int rpc_proc_init(struct net *net) in rpc_proc_init() argument
292 sn = net_generic(net, sunrpc_net_id); in rpc_proc_init()
293 sn->proc_net_rpc = proc_mkdir("rpc", net->proc_net); in rpc_proc_init()
300 void rpc_proc_exit(struct net *net) in rpc_proc_exit() argument
303 remove_proc_entry("rpc", net->proc_net); in rpc_proc_exit()