Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
resize.c File Reference
#include <linux/fs.h>
#include <linux/buffer_head.h>
#include <linux/quotaops.h>
#include "jfs_incore.h"
#include "jfs_filsys.h"
#include "jfs_metapage.h"
#include "jfs_dinode.h"
#include "jfs_imap.h"
#include "jfs_dmap.h"
#include "jfs_superblock.h"
#include "jfs_txnmgr.h"
#include "jfs_debug.h"

Go to the source code of this file.

Macros

#define BITSPERPAGE   (PSIZE << 3)
 
#define L2MEGABYTE   20
 
#define MEGABYTE   (1 << L2MEGABYTE)
 
#define MEGABYTE32   (MEGABYTE << 5)
 
#define BLKTODMAPN(b)   (((b) >> 13) + ((b) >> 23) + ((b) >> 33) + 3 + 1)
 

Functions

int jfs_extendfs (struct super_block *sb, s64 newLVSize, int newLogSize)
 

Macro Definition Documentation

#define BITSPERPAGE   (PSIZE << 3)

Definition at line 32 of file resize.c.

#define BLKTODMAPN (   b)    (((b) >> 13) + ((b) >> 23) + ((b) >> 33) + 3 + 1)

Definition at line 38 of file resize.c.

#define L2MEGABYTE   20

Definition at line 33 of file resize.c.

#define MEGABYTE   (1 << L2MEGABYTE)

Definition at line 34 of file resize.c.

#define MEGABYTE32   (MEGABYTE << 5)

Definition at line 35 of file resize.c.

Function Documentation

int jfs_extendfs ( struct super_block sb,
s64  newLVSize,
int  newLogSize 
)

Definition at line 62 of file resize.c.