Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
debugfs.h File Reference
#include <linux/ceph/ceph_debug.h>
#include <linux/ceph/types.h>

Go to the source code of this file.

Macros

#define CEPH_DEFINE_SHOW_FUNC(name)
 

Functions

int ceph_debugfs_init (void)
 
void ceph_debugfs_cleanup (void)
 
int ceph_debugfs_client_init (struct ceph_client *client)
 
void ceph_debugfs_client_cleanup (struct ceph_client *client)
 

Macro Definition Documentation

#define CEPH_DEFINE_SHOW_FUNC (   name)
Value:
static int name##_open(struct inode *inode, struct file *file) \
{ \
int ret; \
\
ret = single_open(file, name, NULL); \
sf = file->private_data; \
sf->private = inode->i_private; \
return ret; \
} \
\
static const struct file_operations name##_fops = { \
.open = name##_open, \
.read = seq_read, \
.llseek = seq_lseek, \
.release = single_release, \
};

Definition at line 7 of file debugfs.h.

Function Documentation

void ceph_debugfs_cleanup ( void  )

Definition at line 255 of file debugfs.c.

void ceph_debugfs_client_cleanup ( struct ceph_client client)

Definition at line 264 of file debugfs.c.

int ceph_debugfs_client_init ( struct ceph_client client)

Definition at line 259 of file debugfs.c.

int ceph_debugfs_init ( void  )

Definition at line 250 of file debugfs.c.