Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags   |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef __SUNRPC_NETNS_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define __SUNRPC_NETNS_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #include <net/net_namespace.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #include <net/netns/generic.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) struct cache_detail;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) struct sunrpc_net {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	struct proc_dir_entry *proc_net_rpc;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	struct cache_detail *ip_map_cache;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	struct cache_detail *unix_gid_cache;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	struct cache_detail *rsc_cache;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	struct cache_detail *rsi_cache;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	struct super_block *pipefs_sb;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	struct rpc_pipe *gssd_dummy;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	struct mutex pipefs_sb_lock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	struct list_head all_clients;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	spinlock_t rpc_client_lock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	struct rpc_clnt *rpcb_local_clnt;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	struct rpc_clnt *rpcb_local_clnt4;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	spinlock_t rpcb_clnt_lock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	unsigned int rpcb_users;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	unsigned int rpcb_is_af_local : 1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	struct mutex gssp_lock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 	struct rpc_clnt *gssp_clnt;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	int use_gss_proxy;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	int pipe_version;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	atomic_t pipe_users;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	struct proc_dir_entry *use_gssp_proc;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) extern unsigned int sunrpc_net_id;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) int ip_map_cache_create(struct net *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) void ip_map_cache_destroy(struct net *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) #endif