Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
stats.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/sunrpc/clnt.h>
#include <linux/sunrpc/svcsock.h>
#include <linux/sunrpc/metrics.h>
#include <linux/rcupdate.h>
#include "netns.h"

Go to the source code of this file.




void svc_seq_show (struct seq_file *seq, const struct svc_stat *statp)
 EXPORT_SYMBOL_GPL (svc_seq_show)
struct rpc_iostatsrpc_alloc_iostats (struct rpc_clnt *clnt)
 EXPORT_SYMBOL_GPL (rpc_alloc_iostats)
void rpc_free_iostats (struct rpc_iostats *stats)
 EXPORT_SYMBOL_GPL (rpc_free_iostats)
void rpc_count_iostats (const struct rpc_task *task, struct rpc_iostats *stats)
 EXPORT_SYMBOL_GPL (rpc_count_iostats)
void rpc_print_iostats (struct seq_file *seq, struct rpc_clnt *clnt)
 EXPORT_SYMBOL_GPL (rpc_print_iostats)
struct proc_dir_entryrpc_proc_register (struct net *net, struct rpc_stat *statp)
 EXPORT_SYMBOL_GPL (rpc_proc_register)
void rpc_proc_unregister (struct net *net, const char *name)
 EXPORT_SYMBOL_GPL (rpc_proc_unregister)
struct proc_dir_entrysvc_proc_register (struct net *net, struct svc_stat *statp, const struct file_operations *fops)
 EXPORT_SYMBOL_GPL (svc_proc_register)
void svc_proc_unregister (struct net *net, const char *name)
 EXPORT_SYMBOL_GPL (svc_proc_unregister)
int rpc_proc_init (struct net *net)
void rpc_proc_exit (struct net *net)

Macro Definition Documentation


Definition at line 29 of file stats.c.

Function Documentation

EXPORT_SYMBOL_GPL ( svc_seq_show  )
EXPORT_SYMBOL_GPL ( rpc_alloc_iostats  )
EXPORT_SYMBOL_GPL ( rpc_free_iostats  )
EXPORT_SYMBOL_GPL ( rpc_count_iostats  )
EXPORT_SYMBOL_GPL ( rpc_print_iostats  )
EXPORT_SYMBOL_GPL ( rpc_proc_register  )
EXPORT_SYMBOL_GPL ( rpc_proc_unregister  )
EXPORT_SYMBOL_GPL ( svc_proc_register  )
EXPORT_SYMBOL_GPL ( svc_proc_unregister  )
struct rpc_iostats* rpc_alloc_iostats ( struct rpc_clnt clnt)

rpc_alloc_iostats - allocate an rpc_iostats structure : RPC program, version, and xprt

Definition at line 117 of file stats.c.

void rpc_count_iostats ( const struct rpc_task task,
struct rpc_iostats stats 

rpc_count_iostats - tally up per-task stats : completed rpc_task : array of stat structures

Relies on the caller for serialization.

Definition at line 141 of file stats.c.

void rpc_free_iostats ( struct rpc_iostats stats)

rpc_free_iostats - release an rpc_iostats structure : doomed rpc_iostats structure

Definition at line 128 of file stats.c.

void rpc_print_iostats ( struct seq_file seq,
struct rpc_clnt clnt 

Definition at line 180 of file stats.c.

void rpc_proc_exit ( struct net net)

Definition at line 277 of file stats.c.

int rpc_proc_init ( struct net net)

Definition at line 264 of file stats.c.

struct proc_dir_entry* rpc_proc_register ( struct net net,
struct rpc_stat statp 

Definition at line 231 of file stats.c.

void rpc_proc_unregister ( struct net net,
const char name 

Definition at line 238 of file stats.c.

struct proc_dir_entry* svc_proc_register ( struct net net,
struct svc_stat statp,
const struct file_operations fops 

Definition at line 248 of file stats.c.

void svc_proc_unregister ( struct net net,
const char name 

Definition at line 255 of file stats.c.

void svc_seq_show ( struct seq_file seq,
const struct svc_stat statp 

Definition at line 81 of file stats.c.