Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
inode.c File Reference
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/blkdev.h>
#include <linux/cramfs_fs.h>
#include <linux/slab.h>
#include <linux/cramfs_fs_sb.h>
#include <linux/vfs.h>
#include <linux/mutex.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Macros

#define OFFSET(x)   ((x)->i_ino)
 
#define READ_BUFFERS   (2)
 
#define NEXT_BUFFER(_ix)   ((_ix) ^ 1)
 
#define BLKS_PER_BUF_SHIFT   (2)
 
#define BLKS_PER_BUF   (1 << BLKS_PER_BUF_SHIFT)
 
#define BUFFER_SIZE   (BLKS_PER_BUF*PAGE_CACHE_SIZE)
 

Macro Definition Documentation

#define BLKS_PER_BUF   (1 << BLKS_PER_BUF_SHIFT)

Definition at line 135 of file inode.c.

#define BLKS_PER_BUF_SHIFT   (2)

Definition at line 134 of file inode.c.

#define BUFFER_SIZE   (BLKS_PER_BUF*PAGE_CACHE_SIZE)

Definition at line 136 of file inode.c.

#define NEXT_BUFFER (   _ix)    ((_ix) ^ 1)

Definition at line 127 of file inode.c.

#define OFFSET (   x)    ((x)->i_ino)

Definition at line 37 of file inode.c.

#define READ_BUFFERS   (2)

Definition at line 125 of file inode.c.