serial: imx: distinguish the imx6q uart from the others
[linux-2.6/btrfs-unstable.git] / net / sunrpc / netns.h
blob74d948f5d5a1d399d13061ee5c910c2cacc6f720
1 #ifndef __SUNRPC_NETNS_H__
2 #define __SUNRPC_NETNS_H__
4 #include <net/net_namespace.h>
5 #include <net/netns/generic.h>
7 struct cache_detail;
9 struct sunrpc_net {
10 struct proc_dir_entry *proc_net_rpc;
11 struct cache_detail *ip_map_cache;
12 struct cache_detail *unix_gid_cache;
13 struct cache_detail *rsc_cache;
14 struct cache_detail *rsi_cache;
16 struct super_block *pipefs_sb;
17 struct mutex pipefs_sb_lock;
19 struct list_head all_clients;
20 spinlock_t rpc_client_lock;
22 struct rpc_clnt *rpcb_local_clnt;
23 struct rpc_clnt *rpcb_local_clnt4;
24 spinlock_t rpcb_clnt_lock;
25 unsigned int rpcb_users;
27 struct mutex gssp_lock;
28 wait_queue_head_t gssp_wq;
29 struct rpc_clnt *gssp_clnt;
30 int use_gss_proxy;
31 int pipe_version;
32 atomic_t pipe_users;
33 struct proc_dir_entry *use_gssp_proc;
35 unsigned int gssd_running;
38 extern int sunrpc_net_id;
40 int ip_map_cache_create(struct net *);
41 void ip_map_cache_destroy(struct net *);
43 #endif