Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
mon_client.h File Reference
#include <linux/completion.h>
#include <linux/kref.h>
#include <linux/rbtree.h>
#include <linux/ceph/messenger.h>

Go to the source code of this file.

Data Structures

struct  ceph_monmap
 
struct  ceph_mon_request
 
struct  ceph_mon_generic_request
 
struct  ceph_mon_client
 

Typedefs

typedef void(* ceph_monc_request_func_t )(struct ceph_mon_client *monc, int newmon)
 

Functions

struct ceph_monmapceph_monmap_decode (void *p, void *end)
 
int ceph_monmap_contains (struct ceph_monmap *m, struct ceph_entity_addr *addr)
 
int ceph_monc_init (struct ceph_mon_client *monc, struct ceph_client *cl)
 
void ceph_monc_stop (struct ceph_mon_client *monc)
 
int ceph_monc_got_mdsmap (struct ceph_mon_client *monc, u32 have)
 
int ceph_monc_got_osdmap (struct ceph_mon_client *monc, u32 have)
 
void ceph_monc_request_next_osdmap (struct ceph_mon_client *monc)
 
int ceph_monc_do_statfs (struct ceph_mon_client *monc, struct ceph_statfs *buf)
 
int ceph_monc_open_session (struct ceph_mon_client *monc)
 
int ceph_monc_validate_auth (struct ceph_mon_client *monc)
 
int ceph_monc_create_snapid (struct ceph_mon_client *monc, u32 pool, u64 *snapid)
 
int ceph_monc_delete_snapid (struct ceph_mon_client *monc, u32 pool, u64 snapid)
 

Typedef Documentation

typedef void(* ceph_monc_request_func_t)(struct ceph_mon_client *monc, int newmon)

Definition at line 31 of file mon_client.h.

Function Documentation

int ceph_monc_create_snapid ( struct ceph_mon_client monc,
u32  pool,
u64 snapid 
)

Definition at line 687 of file mon_client.c.

int ceph_monc_delete_snapid ( struct ceph_mon_client monc,
u32  pool,
u64  snapid 
)

Definition at line 696 of file mon_client.c.

int ceph_monc_do_statfs ( struct ceph_mon_client monc,
struct ceph_statfs buf 
)

Definition at line 542 of file mon_client.c.

int ceph_monc_got_mdsmap ( struct ceph_mon_client monc,
u32  have 
)

Definition at line 268 of file mon_client.c.

int ceph_monc_got_osdmap ( struct ceph_mon_client monc,
u32  have 
)

Definition at line 277 of file mon_client.c.

int ceph_monc_init ( struct ceph_mon_client monc,
struct ceph_client cl 
)

Definition at line 775 of file mon_client.c.

int ceph_monc_open_session ( struct ceph_mon_client monc)

Definition at line 303 of file mon_client.c.

void ceph_monc_request_next_osdmap ( struct ceph_mon_client monc)

Definition at line 289 of file mon_client.c.

void ceph_monc_stop ( struct ceph_mon_client monc)

Definition at line 857 of file mon_client.c.

int ceph_monc_validate_auth ( struct ceph_mon_client monc)

Definition at line 950 of file mon_client.c.

int ceph_monmap_contains ( struct ceph_monmap m,
struct ceph_entity_addr addr 
)

Definition at line 91 of file mon_client.c.

struct ceph_monmap* ceph_monmap_decode ( void p,
void end 
)
read

Definition at line 40 of file mon_client.c.