Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
addr.c File Reference
#include <linux/ceph/ceph_debug.h>
#include <linux/backing-dev.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/writeback.h>
#include <linux/slab.h>
#include <linux/pagevec.h>
#include <linux/task_io_accounting_ops.h>
#include "super.h"
#include "mds_client.h"
#include <linux/ceph/osd_client.h>

Go to the source code of this file.

Macros

#define CONGESTION_ON_THRESH(congestion_kb)   (congestion_kb >> (PAGE_SHIFT-10))
 
#define CONGESTION_OFF_THRESH(congestion_kb)
 

Functions

int ceph_mmap (struct file *file, struct vm_area_struct *vma)
 

Variables

struct address_space_operations ceph_aops
 

Macro Definition Documentation

#define CONGESTION_OFF_THRESH (   congestion_kb)
Value:
(CONGESTION_ON_THRESH(congestion_kb) - \
(CONGESTION_ON_THRESH(congestion_kb) >> 2))

Definition at line 53 of file addr.c.

#define CONGESTION_ON_THRESH (   congestion_kb)    (congestion_kb >> (PAGE_SHIFT-10))

Definition at line 52 of file addr.c.

Function Documentation

int ceph_mmap ( struct file file,
struct vm_area_struct vma 
)

Definition at line 1230 of file addr.c.

Variable Documentation

Initial value:
= {
.readpage = ceph_readpage,
.readpages = ceph_readpages,
.writepage = ceph_writepage,
.writepages = ceph_writepages_start,
.write_begin = ceph_write_begin,
.write_end = ceph_write_end,
.set_page_dirty = ceph_set_page_dirty,
.invalidatepage = ceph_invalidatepage,
.releasepage = ceph_releasepage,
.direct_IO = ceph_direct_io,
}

Definition at line 1156 of file addr.c.