Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
ceph_common.c File Reference
#include <linux/ceph/ceph_debug.h>
#include <linux/backing-dev.h>
#include <linux/ctype.h>
#include <linux/fs.h>
#include <linux/inet.h>
#include <linux/in6.h>
#include <linux/key.h>
#include <keys/ceph-type.h>
#include <linux/module.h>
#include <linux/mount.h>
#include <linux/parser.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/statfs.h>
#include <linux/string.h>
#include <linux/ceph/ceph_features.h>
#include <linux/ceph/libceph.h>
#include <linux/ceph/debugfs.h>
#include <linux/ceph/decode.h>
#include <linux/ceph/mon_client.h>
#include <linux/ceph/auth.h>
#include "crypto.h"

Go to the source code of this file.

Enumerations

enum  {
  Opt_osdtimeout, Opt_osdkeepalivetimeout, Opt_mount_timeout, Opt_osd_idle_ttl,
  Opt_last_int, Opt_fsid, Opt_name, Opt_secret,
  Opt_key, Opt_ip, Opt_last_string, Opt_share,
  Opt_noshare, Opt_crc, Opt_nocrc
}
 

Functions

const charceph_file_part (const char *s, int len)
 
 EXPORT_SYMBOL (ceph_file_part)
 
const charceph_msg_type_name (int type)
 
 EXPORT_SYMBOL (ceph_msg_type_name)
 
int ceph_check_fsid (struct ceph_client *client, struct ceph_fsid *fsid)
 
 EXPORT_SYMBOL (ceph_check_fsid)
 
int ceph_compare_options (struct ceph_options *new_opt, struct ceph_client *client)
 
 EXPORT_SYMBOL (ceph_compare_options)
 
void ceph_destroy_options (struct ceph_options *opt)
 
 EXPORT_SYMBOL (ceph_destroy_options)
 
struct ceph_optionsceph_parse_options (char *options, const char *dev_name, const char *dev_name_end, int(*parse_extra_token)(char *c, void *private), void *private)
 
 EXPORT_SYMBOL (ceph_parse_options)
 
u64 ceph_client_id (struct ceph_client *client)
 
 EXPORT_SYMBOL (ceph_client_id)
 
struct ceph_clientceph_create_client (struct ceph_options *opt, void *private, unsigned int supported_features, unsigned int required_features)
 
 EXPORT_SYMBOL (ceph_create_client)
 
void ceph_destroy_client (struct ceph_client *client)
 
 EXPORT_SYMBOL (ceph_destroy_client)
 
int __ceph_open_session (struct ceph_client *client, unsigned long started)
 
 EXPORT_SYMBOL (__ceph_open_session)
 
int ceph_open_session (struct ceph_client *client)
 
 EXPORT_SYMBOL (ceph_open_session)
 
 module_init (init_ceph_lib)
 
 module_exit (exit_ceph_lib)
 
 MODULE_AUTHOR ("Sage Weil <[email protected]>")
 
 MODULE_AUTHOR ("Yehuda Sadeh <[email protected]>")
 
 MODULE_AUTHOR ("Patience Warnick <[email protected]>")
 
 MODULE_DESCRIPTION ("Ceph filesystem for Linux")
 
 MODULE_LICENSE ("GPL")
 

Variables

enum { ... }  __attribute__
 

Enumeration Type Documentation

anonymous enum
Enumerator:
Opt_osdtimeout 
Opt_osdkeepalivetimeout 
Opt_mount_timeout 
Opt_osd_idle_ttl 
Opt_last_int 
Opt_fsid 
Opt_name 
Opt_secret 
Opt_key 
Opt_ip 
Opt_last_string 
Opt_share 
Opt_noshare 
Opt_crc 
Opt_nocrc 

Definition at line 190 of file ceph_common.c.

Function Documentation

int __ceph_open_session ( struct ceph_client client,
unsigned long  started 
)

Definition at line 526 of file ceph_common.c.

int ceph_check_fsid ( struct ceph_client client,
struct ceph_fsid fsid 
)

Definition at line 78 of file ceph_common.c.

u64 ceph_client_id ( struct ceph_client client)

Definition at line 434 of file ceph_common.c.

int ceph_compare_options ( struct ceph_options new_opt,
struct ceph_client client 
)

Definition at line 104 of file ceph_common.c.

struct ceph_client* ceph_create_client ( struct ceph_options opt,
void private,
unsigned int  supported_features,
unsigned int  required_features 
)
read

Definition at line 443 of file ceph_common.c.

void ceph_destroy_client ( struct ceph_client client)

Definition at line 494 of file ceph_common.c.

void ceph_destroy_options ( struct ceph_options opt)

Definition at line 229 of file ceph_common.c.

const char* ceph_file_part ( const char s,
int  len 
)

Definition at line 33 of file ceph_common.c.

const char* ceph_msg_type_name ( int  type)

Definition at line 43 of file ceph_common.c.

int ceph_open_session ( struct ceph_client client)

Definition at line 557 of file ceph_common.c.

struct ceph_options* ceph_parse_options ( char options,
const char dev_name,
const char dev_name_end,
int(*)(char *c, void *private)  parse_extra_token,
void private 
)
read

Definition at line 285 of file ceph_common.c.

EXPORT_SYMBOL ( ceph_file_part  )
EXPORT_SYMBOL ( ceph_msg_type_name  )
EXPORT_SYMBOL ( ceph_check_fsid  )
EXPORT_SYMBOL ( ceph_compare_options  )
EXPORT_SYMBOL ( ceph_destroy_options  )
EXPORT_SYMBOL ( ceph_parse_options  )
EXPORT_SYMBOL ( ceph_client_id  )
EXPORT_SYMBOL ( ceph_create_client  )
EXPORT_SYMBOL ( ceph_destroy_client  )
EXPORT_SYMBOL ( __ceph_open_session  )
EXPORT_SYMBOL ( ceph_open_session  )
MODULE_AUTHOR ( "Sage Weil <[email protected]>"  )
MODULE_AUTHOR ( "Yehuda Sadeh <[email protected]>"  )
MODULE_AUTHOR ( "Patience Warnick <[email protected]>"  )
MODULE_DESCRIPTION ( "Ceph filesystem for Linux"  )
module_exit ( exit_ceph_lib  )
module_init ( init_ceph_lib  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

enum { ... } __attribute__