cregit-Linux how code gets into the kernel

Release 4.10 include/linux/sunrpc/stats.h

/*
 * linux/include/linux/sunrpc/stats.h
 *
 * Client statistics collection for SUN RPC
 *
 * Copyright (C) 1996 Olaf Kirch <okir@monad.swb.de>
 */

#ifndef _LINUX_SUNRPC_STATS_H

#define _LINUX_SUNRPC_STATS_H

#include <linux/proc_fs.h>


struct rpc_stat {
	
const struct rpc_program *program;

	
unsigned int		netcnt,
				
netudpcnt,
				
nettcpcnt,
				
nettcpconn,
				
netreconn;
	
unsigned int		rpccnt,
				
rpcretrans,
				
rpcauthrefresh,
				
rpcgarbage;
};


struct svc_stat {
	
struct svc_program *	program;

	
unsigned int		netcnt,
				
netudpcnt,
				
nettcpcnt,
				
nettcpconn;
	
unsigned int		rpccnt,
				
rpcbadfmt,
				
rpcbadauth,
				
rpcbadclnt;
};

struct net;
#ifdef CONFIG_PROC_FS
int			rpc_proc_init(struct net *);
void			rpc_proc_exit(struct net *);
#else

static inline int rpc_proc_init(struct net *net) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
pavel emelianovpavel emelianov15100.00%1100.00%
Total15100.00%1100.00%


static inline void rpc_proc_exit(struct net *net) { }

Contributors

PersonTokensPropCommitsCommitProp
pavel emelianovpavel emelianov11100.00%1100.00%
Total11100.00%1100.00%

#endif #ifdef MODULE void rpc_modcount(struct inode *, int); #endif #ifdef CONFIG_PROC_FS struct proc_dir_entry * rpc_proc_register(struct net *,struct rpc_stat *); void rpc_proc_unregister(struct net *,const char *); void rpc_proc_zero(const struct rpc_program *); struct proc_dir_entry * svc_proc_register(struct net *, struct svc_stat *, const struct file_operations *); void svc_proc_unregister(struct net *, const char *); void svc_seq_show(struct seq_file *, const struct svc_stat *); #else
static inline struct proc_dir_entry *rpc_proc_register(struct net *net, struct rpc_stat *s) { return NULL; }

Contributors

PersonTokensPropCommitsCommitProp
adam belayadam belay1777.27%133.33%
stanislav kinsburskystanislav kinsbursky418.18%133.33%
randy dunlaprandy dunlap14.55%133.33%
Total22100.00%3100.00%


static inline void rpc_proc_unregister(struct net *net, const char *p) {}

Contributors

PersonTokensPropCommitsCommitProp
randy dunlaprandy dunlap743.75%125.00%
pre-gitpre-git637.50%125.00%
stanislav kinsburskystanislav kinsbursky212.50%125.00%
linus torvaldslinus torvalds16.25%125.00%
Total16100.00%4100.00%


static inline void rpc_proc_zero(const struct rpc_program *p) {}

Contributors

PersonTokensPropCommitsCommitProp
adam belayadam belay1191.67%150.00%
trond myklebusttrond myklebust18.33%150.00%
Total12100.00%2100.00%


static inline struct proc_dir_entry *svc_proc_register(struct net *net, struct svc_stat *s, const struct file_operations *f) { return NULL; }

Contributors

PersonTokensPropCommitsCommitProp
pre-gitpre-git1242.86%116.67%
andrew mortonandrew morton932.14%233.33%
stanislav kinsburskystanislav kinsbursky517.86%116.67%
arjan van de venarjan van de ven13.57%116.67%
linus torvaldslinus torvalds13.57%116.67%
Total28100.00%6100.00%


static inline void svc_proc_unregister(struct net *net, const char *p) {}

Contributors

PersonTokensPropCommitsCommitProp
adam belayadam belay1168.75%150.00%
stanislav kinsburskystanislav kinsbursky531.25%150.00%
Total16100.00%2100.00%


static inline void svc_seq_show(struct seq_file *seq, const struct svc_stat *st) {}

Contributors

PersonTokensPropCommitsCommitProp
andrew mortonandrew morton847.06%240.00%
adam belayadam belay423.53%120.00%
pre-gitpre-git423.53%120.00%
linus torvaldslinus torvalds15.88%120.00%
Total17100.00%5100.00%

#endif #endif /* _LINUX_SUNRPC_STATS_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
pre-gitpre-git17952.65%533.33%
pavel emelianovpavel emelianov4312.65%16.67%
adam belayadam belay4312.65%16.67%
stanislav kinsburskystanislav kinsbursky329.41%213.33%
andrew mortonandrew morton277.94%213.33%
randy dunlaprandy dunlap82.35%16.67%
trond myklebusttrond myklebust30.88%16.67%
linus torvaldslinus torvalds30.88%16.67%
arjan van de venarjan van de ven20.59%16.67%
Total340100.00%15100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.