Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
snap.c File Reference
#include <linux/ceph/ceph_debug.h>
#include <linux/sort.h>
#include <linux/slab.h>
#include "super.h"
#include "mds_client.h"
#include <linux/ceph/decode.h>

Go to the source code of this file.

Functions

void ceph_get_snap_realm (struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm)
 
struct ceph_snap_realmceph_lookup_snap_realm (struct ceph_mds_client *mdsc, u64 ino)
 
void ceph_put_snap_realm (struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm)
 
void ceph_cleanup_empty_realms (struct ceph_mds_client *mdsc)
 
void ceph_queue_cap_snap (struct ceph_inode_info *ci)
 
int __ceph_finish_cap_snap (struct ceph_inode_info *ci, struct ceph_cap_snap *capsnap)
 
int ceph_update_snap_trace (struct ceph_mds_client *mdsc, void *p, void *e, bool deletion)
 
void ceph_handle_snap (struct ceph_mds_client *mdsc, struct ceph_mds_session *session, struct ceph_msg *msg)
 

Function Documentation

int __ceph_finish_cap_snap ( struct ceph_inode_info ci,
struct ceph_cap_snap capsnap 
)

Definition at line 544 of file snap.c.

void ceph_cleanup_empty_realms ( struct ceph_mds_client mdsc)

Definition at line 237 of file snap.c.

void ceph_get_snap_realm ( struct ceph_mds_client mdsc,
struct ceph_snap_realm realm 
)

Definition at line 62 of file snap.c.

void ceph_handle_snap ( struct ceph_mds_client mdsc,
struct ceph_mds_session session,
struct ceph_msg msg 
)

Definition at line 771 of file snap.c.

struct ceph_snap_realm* ceph_lookup_snap_realm ( struct ceph_mds_client mdsc,
u64  ino 
)
read

Definition at line 137 of file snap.c.

void ceph_put_snap_realm ( struct ceph_mds_client mdsc,
struct ceph_snap_realm realm 
)

Definition at line 196 of file snap.c.

void ceph_queue_cap_snap ( struct ceph_inode_info ci)

Definition at line 439 of file snap.c.

int ceph_update_snap_trace ( struct ceph_mds_client mdsc,
void p,
void e,
bool  deletion 
)

Definition at line 622 of file snap.c.